JDK-8065228 : HeapMetricTest stability fixes
  • Type: Sub-task
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 8u40,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-11-18
  • Updated: 2015-01-21
  • Resolved: 2014-11-21
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 8
8u40 b16Fixed
Description
The HeapMetricTest sometimes fails due to missing transitions. To ensure that we see the transitions we expect I propose to change the tests synchronization slightly and also wait for two updates each time. Otherwise we might be number that only correspond to part of the allocation/deallocation we expect to see.