[TESTBUG] gc/arguments/TestMaxMinHeapFreeRatioFlags is too sensitive for stray allocations in verifyRatio

XMLWordPrintable

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

      gc/arguments/TestMaxMinHeapFreeRatioFlags would fail if you juggle Indify String Concat strategies, because their initial linkage may bring more things in the heap. Notably, this will happen inside of verifyRatio helper method which does a String concat . We need to prime the utility methods before using them within the test.

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: