Fix race in CompressedClassSpaceSizeInJmapHeap.java

XMLWordPrintable

    • gc
    • b23

      This test case starts up a LingeredApp and then immediately endeavors to attach and dump its heap.

      During startup of the JVM, the attach request may fail, causing this test to fail.

      The race can be mitigated by inserting a sleep before the attach, or by retrying the attach if it fails. We recommend the latter.

            Assignee:
            Kelvin Nilsen
            Reporter:
            Kelvin Nilsen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: