Missing barrier in JNILocalRootsClosure

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 14, 15
    • Component/s: hotspot
    • gc

      JNILocalRootsClosure uses naked load of off-heap oop:

       oop o = *obj_p;

      1) for GCs that performs concurrent evacuation, it may load from-space oops
      2) inconsistent with SimpleRootsClosure

       

            Assignee:
            Unassigned
            Reporter:
            Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: