Skip to content

Commit 3ce8c72

Browse files
William KemperRealCLanger
authored andcommitted
8268635: Corrupt oop in ClassLoaderData
Backport-of: 3586a23
1 parent 7bc4f40 commit 3ce8c72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hotspot/share/classfile/classLoaderData.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,7 @@ void ClassLoaderData::init_handle_locked(OopHandle& dest, Handle h) {
854854
if (dest.resolve() != NULL) {
855855
return;
856856
} else {
857+
record_modified_oops();
857858
dest = _handles.add(h());
858859
}
859860
}

0 commit comments

Comments
 (0)