8227646: [TESTBUG] appcds/SharedArchiveConsistency timed out
Remove the FileChannel.force() calls. Reviewed-by: dcubed, iklam
This commit is contained in:
parent
f860f94696
commit
6f3bb94427
@ -163,7 +163,6 @@ public class SharedArchiveConsistency {
|
||||
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 @@ public class SharedArchiveConsistency {
|
||||
bbuf.clear();
|
||||
bytes_written += 4096;
|
||||
}
|
||||
fc.force(true);
|
||||
if (fc.isOpen()) {
|
||||
fc.close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user