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

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

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: