6769976: (fc) FileChannelImpl.isAMappedBufferField not used

Remove the FileChannelImpl.isAMappedBufferField field

Reviewed-by: alanb
This commit is contained in:
Mandy Chung 2009-01-20 13:04:19 -08:00
parent 11431a6329
commit 4f3a9a4392

View File

@ -60,9 +60,6 @@ public class FileChannelImpl
// Memory allocation size for mapping buffers
private static final long allocationGranularity;
// Cached field for MappedByteBuffer.isAMappedBuffer
private static final Field isAMappedBufferField;
// File descriptor
private final FileDescriptor fd;
@ -1315,8 +1312,6 @@ public class FileChannelImpl
Util.load();
allocationGranularity = initIDs();
nd = new FileDispatcher();
isAMappedBufferField = Reflect.lookupField("java.nio.MappedByteBuffer",
"isAMappedBuffer");
}
}