[master] Integrated: JVMCI: Don't call CompressedKlassPointers functions with -UCCP

Stefan Karlsson stefank at openjdk.org
Mon Apr 22 11:40:51 UTC 2024


On Mon, 22 Apr 2024 07:39:58 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> We hit this assert when running JVMCI tests and -XX:-UseCompressedClassPointers:
> 
> #  Internal Error (/home/stefank/git/jdk/open/src/hotspot/share/oops/compressedKlass.hpp:95), pid=1496156, tid=1496350                                                                                                                                                                                                                                                                                                                     
> #  assert(var != (T)-1) failed: Not yet initialized
> ...
> V  [libjvm.so+0x10346ec]  CompilerToVM::Data::initialize(JVMCIEnv*)+0x44c  (compressedKlass.hpp:95)                                                                                                                                                                                                                                                                                                                                        
> V  [libjvm.so+0x1057999]  readConfiguration0(JNIEnv_*, JVMCIEnv*)+0x159  (jvmciCompilerToVMInit.cpp:382) 
> 
> 
> A simple fix is to stop calling the CompressedKlassPointers:: functions.

This pull request has now been integrated.

Changeset: 0da50882
Author:    Stefan Karlsson <stefank at openjdk.org>
URL:       https://git.openjdk.org/lilliput/commit/0da50882da089e7356a41df5a08319081ffa0ddf
Stats:     8 lines in 1 file changed: 6 ins; 0 del; 2 mod

JVMCI: Don't call CompressedKlassPointers functions with -UCCP

Reviewed-by: rkennke

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

PR: https://git.openjdk.org/lilliput/pull/151


More information about the lilliput-dev mailing list