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

JVMTI heap walk should consult GC for marking oops

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 15
    • hotspot

      JVMTI ObjectMark uses mark word 'marked' pattern to indicate 'visited'. That presents problem for Shenandoah GC, as it uses the pattern to indicate 'forwarding'.

      Since 'marked' pattern really belongs to GC, each GC should have the say to avoid conflicts.

      Therefore, I would like to purpose that the ability for each GC to provide ObjectMark, and current ObjectMarker as default implementation.




            zgu Zhengyu Gu
            zgu Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: