[Testbug] test/hotspot/jtreg/gc/logging/TestPrintReferences.java can still fail

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 10
    • Affects Version/s: 10
    • Component/s: hotspot
    • gc
    • b33
    • Verified

      The fix for JDK-8188245 was incomplete. After this change the sum of the sub-phases must add up to within the accepted tolerance error for the parent phase. The tolerance should only be used to allow the sum to be slightly bigger then the parent-phase due to rounding problems. We should always allow the sum to be less.

      Now seeing errors like:
      java.lang.RuntimeException: SoftReference time(127.4ms) is less than the sum(127.2ms) of each phases

      Where it is also obvious that the printout is missleading since the time is not less than the sum.

            Assignee:
            Stefan Johansson
            Reporter:
            Stefan Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: