Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8276094 JEP 423: Region Pinning for G1
  3. JDK-8322403

Release Note: JEP 423: Region Pinning for G1

XMLWordPrintable

    • gc

      This [JEP] reduces latency by implementing region pinning in G1, so that garbage collection need not be disabled during Java Native Interface (JNI) critical regions.

      Java threads that use native code do not stall garbage collections any more. Garbage collections will execute regardless of native code keeping references to Java objects. The garbage collection will keep objects that may be accessed by native code in place, collecting garbage only in surrounding heap areas but will be otherwise unaffected.

      [JEP]: https://openjdk.org/jeps/423 "JEP 423: Region Pinning for G1"

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: