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

Daniel D.Daugherty dcubed at openjdk.java.net
Tue Apr 13 16:45:17 UTC 2021


On Tue, 13 Apr 2021 04:31:16 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:
> 
>   adjust headers

I reproduced the failure on my MBP13 with 'fastdebug' and 'slow debug' bits
with these options:

VM_OPTIONS=-Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:+DeoptimizeALot

and then retested with the fix in place with 'fastdebug' bits and the failure
no longer reproduced.

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

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


More information about the hotspot-dev mailing list