6769976: (fc) FileChannelImpl.isAMappedBufferField not used
Remove the FileChannelImpl.isAMappedBufferField field Reviewed-by: alanb
This commit is contained in:
parent
11431a6329
commit
4f3a9a4392
@ -60,9 +60,6 @@ public class FileChannelImpl
|
|||||||
// Memory allocation size for mapping buffers
|
// Memory allocation size for mapping buffers
|
||||||
private static final long allocationGranularity;
|
private static final long allocationGranularity;
|
||||||
|
|
||||||
// Cached field for MappedByteBuffer.isAMappedBuffer
|
|
||||||
private static final Field isAMappedBufferField;
|
|
||||||
|
|
||||||
// File descriptor
|
// File descriptor
|
||||||
private final FileDescriptor fd;
|
private final FileDescriptor fd;
|
||||||
|
|
||||||
@ -1315,8 +1312,6 @@ public class FileChannelImpl
|
|||||||
Util.load();
|
Util.load();
|
||||||
allocationGranularity = initIDs();
|
allocationGranularity = initIDs();
|
||||||
nd = new FileDispatcher();
|
nd = new FileDispatcher();
|
||||||
isAMappedBufferField = Reflect.lookupField("java.nio.MappedByteBuffer",
|
|
||||||
"isAMappedBuffer");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user