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

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Nov 15 17:38:14 UTC 2018


Good.

Thanks,
Vladimir

On 11/14/18 8:42 PM, Igor Ignatyev wrote:
> http://cr.openjdk.java.net/~iignatyev//8213926/webrev.00/index.html
>> 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
> 
> Thanks,
> -- Igor
> 


More information about the hotspot-compiler-dev mailing list