RFR(XXS) : 8213926 : WB_EnqueueInitializerForCompilation requests compilation for NULL

Igor Ignatyev igor.ignatyev at oracle.com
Thu Nov 15 04:42:02 UTC 2018

> 5 lines changed: 4 ins; 0 del; 1 mod; 

Hi all,

could you please review this tiny fix for WB_EnqueueInitializerForCompilation whitebox method? WB_EnqueueInitializerForCompilation calls WhiteBox::compile_method even if there is no class initializer, which causes 'WB error: request to compile NULL method' messages, the patch simply adds a check if ik->class_initializer() isn't null before calling WhiteBox::compile_method.

webrev: http://cr.openjdk.java.net/~iignatyev//8213926/webrev.00/index.html
JBS: https://bugs.openjdk.java.net/browse/JDK-8213926

-- Igor

More information about the hotspot-compiler-dev mailing list