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

JVMTI heap walk should consult GC for marking oops

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:

      Description

      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.




        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: