Skip to content

Commit 3586a23

Browse files
committed
8268635: Corrupt oop in ClassLoaderData
Reviewed-by: iklam, dholmes
1 parent bffb1a7 commit 3586a23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hotspot/share/classfile/classLoaderData.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,7 @@ void ClassLoaderData::init_handle_locked(OopHandle& dest, Handle h) {
806806
if (dest.resolve() != NULL) {
807807
return;
808808
} else {
809+
record_modified_oops();
809810
dest = _handles.add(h());
810811
}
811812
}

0 commit comments

Comments
 (0)
close