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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b116

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: