Blocks :
|
|
Blocks :
|
|
Blocks :
|
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