-
Bug
-
Resolution: Fixed
-
P4
-
23
-
b08
The sun.font implemenation package in the java.desktop module has
native code that defines a cached glyph image as a C struct.
These are created by native code, and rendered by native code.
But the references to them are cached in Java code, and sometimes
the Java code needs to access fields of these structs.
Currently it does this using jdk.internal.misc.Unsafe for native memory access.
This can be migrated to use FFM APIs.
native code that defines a cached glyph image as a C struct.
These are created by native code, and rendered by native code.
But the references to them are cached in Java code, and sometimes
the Java code needs to access fields of these structs.
Currently it does this using jdk.internal.misc.Unsafe for native memory access.
This can be migrated to use FFM APIs.
- relates to
-
JDK-8337505 Footprint and startup regressions up to 20% in GUI apps
- Open
- links to
-
Commit(master) openjdk/jdk/02be7b8d
-
Review(master) openjdk/jdk/19777