RFR: 8264940: java/lang/invoke/6998541/Test6998541.java failed "guarantee(ik->is_initialized()) failed: java/lang/Byte$ByteCache must be initialized" [v5]

Wang Huang whuang at openjdk.java.net
Tue Apr 13 09:26:59 UTC 2021


On Fri, 9 Apr 2021 11:40:24 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Wang Huang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   adjust headers
>
> src/hotspot/share/runtime/deoptimization.cpp line 979:
> 
>> 977:   static BooleanBoxCache *_singleton;
>> 978:   BooleanBoxCache(Thread *thread) {
>> 979:     InstanceKlass* ik = find_cache_klass(java_lang_Boolean::symbol(), thread);
> 
> If this throws a Java exception, you have to handle it here, you can't ignore it with thread.  You should initialize these classes during initialization.  You shouldn't be doing this in deoptimization.

Yes. I changed my patch. Thank you for your review.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3411


More information about the hotspot-dev mailing list