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

HeapInfoDCmd should get Heap_lock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: