RFR(XS) 8227632: Incorrect PrintCompilation message: made not compilable on levels 0 1 2 3 4

Boris Ulasevich boris.ulasevich at bell-sw.com
Fri Jul 12 12:33:49 UTC 2019


Hi,

Can I please have a review for the simple logging issue. Current 
PrintCompilation message looks confusing, it reports "levels 0 1 2 3 4" 
when level 4 only was disabled.
Example:
$ echo [{ match: [\"*.*\"], c2: {Exclude:true} }] > cdf.txt
$ java -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions 
-XX:CompilerDirectivesFile=cdf.txt HelloWorld
### Excluding compile: java.io.OutputStreamWriter::write
made not compilable on levels 0 1 2 3 4 
java.io.OutputStreamWriter::write (11 bytes) excluded by CompileCommand
### Excluding compile: java.lang.String::equals
made not compilable on level 0 1 2 3 4 java.lang.String::equals (50 
bytes)   excluded by CompileCommand

http://bugs.openjdk.java.net/browse/JDK-8227632
http://cr.openjdk.java.net/~avoitylov/8227632/webrev.00

thanks,
Boris


More information about the hotspot-compiler-dev mailing list