JDK-8066158 : JEP-JDK-8046155: Test task: directive parser
  • Type: Task
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-11-28
  • Updated: 2015-11-20
  • Resolved: 2015-10-28
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 b92Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Description
Test Compiler Control's directive parsing

Test case verification scenario:
1. Make directives file and run VM.
2. If directives file is malformed, check output for warning and that VM exited.
3. Test that only the first directive is applied whose pattern matches to a compilation.
4. Check all directives are in place by dumping them via -XX:CrashAt= and VM option -XX:+CompilerControlDumpOnCrash
 JEP says: "For verification purposes the current set of directives can be dumped from diagnostic command. The directives will also be printed when the compiler or VM enters a fatal state."
 Another solution is to make a WB method to dump directives