RFR(S): 8147432: JVMCI should report bailouts in PrintCompilation output
Tom Rodriguez
tom.rodriguez at oracle.com
Tue Jan 19 19:32:39 UTC 2016
http://cr.openjdk.java.net/~never/8147432/webrev/index.html <http://cr.openjdk.java.net/~never/8147432/webrev/index.html>
https://bugs.openjdk.java.net/browse/JDK-8147432 <https://bugs.openjdk.java.net/browse/JDK-8147432>
Currently JVMCI compiles either produce code or they don’t but nothing is reported for failures. This adds a new CompilationRequestResult object that can return a human readable message to be included in the normal “COMPILE SKIPPED” style message. I’ve refactored the printing so it’s shared between compiles. The result can also include the number of inlined byte codes for use by things like CITimeEach. Additionally I removed the CompilationToVM.notifyCompilationStatistics as this was apparently a left over. Tested with specjvm and PrintCompilation which has a few OSR bailouts plus injecting some exceptions to make sure they were reported correctly.
tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160119/19bfcf3f/attachment.html>
More information about the hotspot-compiler-dev
mailing list