United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7092140 Test: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails on SE-E due to -XX:-UsePerfData
JDK-7092140 : Test: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails on SE-E due to -XX:-UsePerfData

Details
Type:
Bug
Submit Date:
2011-09-19
Status:
Closed
Updated Date:
2012-05-09
Project Name:
JDK
Resolved Date:
2012-05-09
Component:
core-libs
OS:
generic
Sub-Component:
java.util.concurrent
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7u2,8
Fixed Versions:

Related Reports
Backport:

Sub Tasks

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
EVALUATION

See description
                                     
2011-09-19
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",
                                     
2012-02-28



Hardware and Software, Engineered to Work Together