changeset 55766:2e63fb0a885f jdk-13+30

8227646: [TESTBUG] appcds/SharedArchiveConsistency timed out Summary: Remove the FileChannel.force() calls. Reviewed-by: dcubed, iklam
author ccheung
date Wed, 17 Jul 2019 08:34:45 -0700
parents a5d52b0e3798
children afeafa018937
files test/hotspot/jtreg/runtime/appcds/SharedArchiveConsistency.java
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/runtime/appcds/SharedArchiveConsistency.java	Wed Jul 17 00:21:02 2019 +0000
+++ b/test/hotspot/jtreg/runtime/appcds/SharedArchiveConsistency.java	Wed Jul 17 08:34:45 2019 -0700
@@ -163,7 +163,6 @@
     public static void writeData(FileChannel fc, long offset, ByteBuffer bb) throws Exception {
         fc.position(offset);
         fc.write(bb);
-        fc.force(true);
     }
 
     public static FileChannel getFileChannel(File jsaFile) throws Exception {
@@ -247,7 +246,6 @@
             bbuf.clear();
             bytes_written += 4096;
         }
-        fc.force(true);
         if (fc.isOpen()) {
             fc.close();
         }