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

SA: Enable best-effort implementation of live regions iteration for ZGC

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b09

      Description

      The SA has functionally that relies on live heap region information from the GCs. This is problematic when dead objects are left in the heap, and their classes have been unloaded.

      Because of this ZGC has so far not implemented this feature. However, we could provide a best-effort implementation of this that works if class unloading is turned off, but would not report all regions if dead objects with dead classes are encountered.

      Maybe this is enough to enable a bit more SA debugging capabilities when running with ZGC.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stefank Stefan Karlsson
                Reporter:
                stefank Stefan Karlsson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: