-
Bug
-
Resolution: Unresolved
-
P3
-
None
-
24
-
None
Some classes in the JDK still use:
((DirectBuffer)dst).address()
When should they use:
JAVA_NIO_ACCESS.getBufferAddress(dst)
This is to support byte buffers that are backed by memory segments as well. We should also make sure that the session has proper acquire/release of the underlying segment's (if any) lifetime.
((DirectBuffer)dst).address()
When should they use:
JAVA_NIO_ACCESS.getBufferAddress(dst)
This is to support byte buffers that are backed by memory segments as well. We should also make sure that the session has proper acquire/release of the underlying segment's (if any) lifetime.
- relates to
-
JDK-8357466 Create test for Ciphers that are using ByteBuffers backed by MemorySegments
-
- Open
-
-
JDK-8357145 CRC/Inflater/Deflater/Adler32 methods that take a ByteBuffer throw UOE if backed by shared memory segment
-
- Open
-
- links to
-
Review(master) openjdk/jdk/25324