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

Wang Huang whuang at openjdk.java.net
Tue Apr 13 16:45:17 UTC 2021


On Fri, 9 Apr 2021 10:15:57 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.

This pull request has now been integrated.

Changeset: c7975113
Author:    Wang Huang <whuang at openjdk.org>
Committer: Daniel D. Daugherty <dcubed at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c7975113
Stats:     33 lines in 3 files changed: 32 ins; 0 del; 1 mod

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

Co-authored-by: Wu Yan <wuyan34 at huawei.com>
Reviewed-by: dholmes, kvn, dcubed

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

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


More information about the hotspot-dev mailing list