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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b33
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: