HeapInfoDCmd should get Heap_lock

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • gc
    • 9
    • b127

      http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2016-April/019257.html

      HeapInfoDCmd calls print_on() through Universe without getting Heap_lock.
      To get some kind of consistent view on the heap, print_on() should hold the heap lock or be at a safepoint.

            Assignee:
            Yasumasa Suenaga
            Reporter:
            Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: