JDK-7140868 : TEST_BUG: jcmd tests need to use -XX:+UsePerfData
Type:Bug
Component:hotspot
Sub-Component:svc
Affected Version:hs23,7u4,8
Priority:P3
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2012-01-30
Updated:2019-08-16
Resolved:2012-02-23
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.
Test
sun/tools/jcmd/jcmd-Defaults.sh
fails with embedded build because it does not pass -XX:+UsePerfData. It might be also needed for other tests (though they don't fail right now).
Comments
EVALUATION
Test scripts should always specify -XX:+UsePerfData when invoking jcmd.