RFR: JDK-8251470: Add a development option equivalant to OptoNoExecute to C1 compiler

Kazunori Ogata OGATAK at jp.ibm.com
Wed Aug 12 07:48:59 UTC 2020


Hi,

May I get review for JDK-8251470: Add a development option equivalant to 
OptoNoExecute to C1 compiler?

This patch adds a development option to compile a method with C1 and print 
disassembly of the generated native code, but to skip execution of the 
generated code, in the same manner as OptoNoExecute option does in C2.

Log-based debugging is useful to support a new processor.  In C1, the 
existing options BailoutAfterHIR and BailoutAfterLIR can be used if 
printing HIR/LIR is sufficient.  However, there is no way to print 
disassembly of the generated code because these existing options quit 
compilation before generating native code.  So this issue proposes a new 
option for this purpose.


Bug: https://bugs.openjdk.java.net/browse/JDK-8251470
Webrev: http://cr.openjdk.java.net/~ogatak/8251470/webrev.00/


Regards,
Ogata



More information about the hotspot-compiler-dev mailing list