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

David Holmes dholmes at openjdk.java.net
Mon Apr 12 06:21:06 UTC 2021


On Mon, 12 Apr 2021 02:10:17 GMT, Wang Huang <whuang at openjdk.org> wrote:

>> *  The main reason is that in this situation the `BoxCache` is not initialized before `uncommon_trap`.
>> *  `java.lang.Byte$ByteCache` is loaded without initializing here 
>> * I think that all `*Cache` classes should be loaded in this situation.
>
> Wang Huang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix bug in the other way

This approach looks much better to me, but I'll leave it to @vnkozlov to confirm the details.

Thanks,
David

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

Marked as reviewed by dholmes (Reviewer).

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


More information about the hotspot-dev mailing list