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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 10
    • 10
    • hotspot
    • gc
    • b33
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: