Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8143470 | emb-9 | Pavel Punegov | P3 | Resolved | Fixed | team |
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
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
- backported by
-
JDK-8143470 JEP-JDK-8046155: Test task: directive parser
-
- Resolved
-
- blocks
-
JDK-8066154 JEP-JDK-8046155: Test task: huge directive file
-
- Resolved
-
-
JDK-8066168 JEP-JDK-8046155: Test task: fuzzing for directive
-
- Open
-
-
JDK-8046155 JEP 165: Compiler Control
-
- Closed
-