RFR: 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
Fri Apr 9 10:25:41 UTC 2021


*  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.

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

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

Changes: https://git.openjdk.java.net/jdk/pull/3411/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3411&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8264940
  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3411.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3411/head:pull/3411

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


More information about the hotspot-dev mailing list