Skip to content

Commit e104ded

Browse files
William KemperRealCLanger
authored andcommitted
8268635: Corrupt oop in ClassLoaderData
Reviewed-by: coleenp Backport-of: 3586a233a49c979e87fed9df148d0bf3df2df38b
1 parent a32d2ee commit e104ded

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/hotspot/share/classfile/classLoaderData.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,7 @@ void ClassLoaderData::init_handle_locked(OopHandle& dest, Handle h) {
804804
if (dest.resolve() != NULL) {
805805
return;
806806
} else {
807+
record_modified_oops();
807808
dest = _handles.add(h());
808809
}
809810
}

0 commit comments

Comments
 (0)