Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8334495

Use FFM instead of jdk.internal.misc.Unsafe in java.desktop font implementation

XMLWordPrintable

    • 2d
    • 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.

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: