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

Refactor oops in JNI to use the Access API

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      generic

      Description

      JNI has weak and strong off-heap references to oops. Today the weak semantics is manages using explicit calls to G1 SATB enqueue barriers. Today the strong semantics simply assume processing in a stop-the-world phase (either STW collection or an STW initial mark).

      Now that the Access API is available, it should be used instead.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kbarrett Kim Barrett
                Reporter:
                kbarrett Kim Barrett
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: