When running test
vmTestbase/vm/mlvm/hiddenloader/stress/byteMutation/Test.java
with ubsan - enabled optimized binaries on Linux x86_64, the following issue was reported :
src/hotspot/share/classfile/verifier.cpp:2043:19: runtime error: shift exponent 100 is too large for 32-bit type 'int'
#0 0x7ff27ab2df4a in ClassVerifier::verify_cp_type(int, unsigned short, constantPoolHandle const&, unsigned int, JavaThread*) src/hotspot/share/classfile/verifier.cpp:2043
#1 0x7ff27e150503 in ClassVerifier::verify_invoke_instructions(RawBytecodeStream*, unsigned int, StackMapFrame*, bool, bool*, VerificationType, constantPoolHandle const&, StackMapTable*, JavaThread*) src/hotspot/share/classfile/verifier.cpp:2814
#2 0x7ff27e155fc6 in ClassVerifier::verify_method(methodHandle const&, JavaThread*) src/hotspot/share/classfile/verifier.cpp:1709
#3 0x7ff27e15e9e9 in ClassVerifier::verify_class(JavaThread*) src/hotspot/share/classfile/verifier.cpp:640
#4 0x7ff27e15f810 in Verifier::verify(InstanceKlass*, bool, JavaThread*) src/hotspot/share/classfile/verifier.cpp:199
#5 0x7ff27c6241bd in InstanceKlass::verify_code(JavaThread*) src/hotspot/share/oops/instanceKlass.cpp:785
#6 0x7ff27c6241bd in InstanceKlass::link_class_impl(JavaThread*) src/hotspot/share/oops/instanceKlass.cpp:887
#7 0x7ff27c62dd2a in InstanceKlass::link_class(JavaThread*) src/hotspot/share/oops/instanceKlass.cpp:791
#8 0x7ff27c62dd2a in InstanceKlass::initialize_impl(JavaThread*) src/hotspot/share/oops/instanceKlass.cpp:1074
#9 0x7ff27c62f644 in InstanceKlass::initialize(JavaThread*) src/hotspot/share/oops/instanceKlass.cpp:773
#10 0x7ff27e02a672 in Unsafe_EnsureClassInitialized0 src/hotspot/share/prims/unsafe.cpp:569
vmTestbase/vm/mlvm/hiddenloader/stress/byteMutation/Test.java
with ubsan - enabled optimized binaries on Linux x86_64, the following issue was reported :
src/hotspot/share/classfile/verifier.cpp:2043:19: runtime error: shift exponent 100 is too large for 32-bit type 'int'
#0 0x7ff27ab2df4a in ClassVerifier::verify_cp_type(int, unsigned short, constantPoolHandle const&, unsigned int, JavaThread*) src/hotspot/share/classfile/verifier.cpp:2043
#1 0x7ff27e150503 in ClassVerifier::verify_invoke_instructions(RawBytecodeStream*, unsigned int, StackMapFrame*, bool, bool*, VerificationType, constantPoolHandle const&, StackMapTable*, JavaThread*) src/hotspot/share/classfile/verifier.cpp:2814
#2 0x7ff27e155fc6 in ClassVerifier::verify_method(methodHandle const&, JavaThread*) src/hotspot/share/classfile/verifier.cpp:1709
#3 0x7ff27e15e9e9 in ClassVerifier::verify_class(JavaThread*) src/hotspot/share/classfile/verifier.cpp:640
#4 0x7ff27e15f810 in Verifier::verify(InstanceKlass*, bool, JavaThread*) src/hotspot/share/classfile/verifier.cpp:199
#5 0x7ff27c6241bd in InstanceKlass::verify_code(JavaThread*) src/hotspot/share/oops/instanceKlass.cpp:785
#6 0x7ff27c6241bd in InstanceKlass::link_class_impl(JavaThread*) src/hotspot/share/oops/instanceKlass.cpp:887
#7 0x7ff27c62dd2a in InstanceKlass::link_class(JavaThread*) src/hotspot/share/oops/instanceKlass.cpp:791
#8 0x7ff27c62dd2a in InstanceKlass::initialize_impl(JavaThread*) src/hotspot/share/oops/instanceKlass.cpp:1074
#9 0x7ff27c62f644 in InstanceKlass::initialize(JavaThread*) src/hotspot/share/oops/instanceKlass.cpp:773
#10 0x7ff27e02a672 in Unsafe_EnsureClassInitialized0 src/hotspot/share/prims/unsafe.cpp:569
- relates to
-
JDK-8331201 UBSAN enabled build reports on Linux x86_64 runtime error: shift exponent 65 is too large for 64-bit type 'long unsigned int'
- Open