hg: jdk8u/jdk8u-dev/hotspot: 8155951: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool; ...

gnu.andrew at redhat.com gnu.andrew at redhat.com
Tue Sep 3 05:58:15 UTC 2019


Changeset: 0e3d6188f198
Author:    zgu
Date:      2019-09-03 06:57 +0100
URL:       https://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/rev/0e3d6188f198

8155951: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
8151066: assert(0 <= i && i < length()) failed: index out of bounds
Summary: lock classes for redefinition because constant pool merging isn't thread safe, use method constant pool because constant pool merging doesn't make equivalent cpCaches because of invokedynamic
Reviewed-by: shade, andrew

! src/share/vm/ci/ciStreams.cpp
! src/share/vm/ci/ciStreams.hpp
! src/share/vm/oops/instanceKlass.hpp
! src/share/vm/prims/jvmtiRedefineClasses.cpp
! src/share/vm/prims/jvmtiRedefineClasses.hpp
! src/share/vm/runtime/mutexLocker.cpp
! src/share/vm/runtime/mutexLocker.hpp



More information about the jdk8u-dev-changes mailing list