JDK-7092140 : Test: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails on SE-E due to -XX:-UsePerfData
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.concurrent
  • Affected Version: 7u2,8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-09-19
  • Updated: 2012-05-09
  • Resolved: 2012-05-09
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 7 JDK 8
7u6Fixed 8 b30Fixed
Description
This test internally spawns jps and jmap to check for a memory leak in the test process, and this will fail if the test process is not run with UsePerfData enabled, and the jps/jmap executions do not have UsePerfData enabled.

Comments
SUGGESTED FIX It is sufficient to add UsePerfData to the exec'd VM, it isn't needed on the jps and jmap invocations: 152c151 < java, "-Xmx8m", "-XX:+UsePerfData", --- > java, "-Xmx8m",
28-02-2012

EVALUATION See description
19-09-2011