-
Bug
-
Resolution: Fixed
-
P4
-
22, 23
-
b11
The Java 2D accelerated pipelines [OpenGL, Metal, D3D] use a shared class sun.java2d.pipe.RenderBuffer to store instructions for the pipelines.
This uses Unsafe to allocate a native buffer and uses put[Int | Long | Float | etc ] and copyMemory methods to store the instructions, which on demand are flushed to the native pipeline.
This usage maps very well to creating an FFM MemorySegment and using set() and copy() methods and removes one more usage of the java.base internals.
This uses Unsafe to allocate a native buffer and uses put[Int | Long | Float | etc ] and copyMemory methods to store the instructions, which on demand are flushed to the native pipeline.
This usage maps very well to creating an FFM MemorySegment and using set() and copy() methods and removes one more usage of the java.base internals.
- links to
-
Commit(master) openjdk/jdk/c0384b6f
-
Review(master) openjdk/jdk/20339