JDK-8032449 : Get rid of JMX in test/compiler
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: emb-8u26,8u20,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-01-22
  • Updated: 2014-08-29
  • Resolved: 2014-07-19
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 9
9 b26Fixed
Related Reports
Blocks :  
Duplicate :  
Relates :  
Relates :  
Description
'test/compiler/whitebox/CompilerWhiteBoxTest.java' uses JMX to get value of VM flags via JMX, in the same time 'CompilerWhiteBoxTest' is used as a super-class for a dozen of tests, some of them don't need these values or can work properly w/ 'default' values.
Since JMX isn't available in profiles less then 'compact3', we have to get rid of using JMX in CompilerWhiteBoxTest or make JMX's absence uncritical to tests (or introduce new WhiteBox API to get VM flags values w/o JMX) in order to increase coverage on different profiles.

After that tests can be removed from 'needs_compact3' group in 'TEST.group' file