From 3586a233a49c979e87fed9df148d0bf3df2df38b Mon Sep 17 00:00:00 2001 From: Coleen Phillimore Date: Wed, 7 Jul 2021 12:40:34 +0000 Subject: [PATCH] 8268635: Corrupt oop in ClassLoaderData Reviewed-by: iklam, dholmes --- src/hotspot/share/classfile/classLoaderData.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hotspot/share/classfile/classLoaderData.cpp b/src/hotspot/share/classfile/classLoaderData.cpp index 80c691ddd0a..6e0ef18786e 100644 --- a/src/hotspot/share/classfile/classLoaderData.cpp +++ b/src/hotspot/share/classfile/classLoaderData.cpp @@ -806,6 +806,7 @@ void ClassLoaderData::init_handle_locked(OopHandle& dest, Handle h) { if (dest.resolve() != NULL) { return; } else { + record_modified_oops(); dest = _handles.add(h()); } }