JDK-8190353 : [Testbug] test/hotspot/jtreg/gc/logging/TestPrintReferences.java can still fail
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2017-10-30
  • Updated: 2018-06-21
  • Resolved: 2017-11-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10 b33Fixed
Related Reports
Relates :  
Relates :  
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.