-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: hotspot
When we redefine classes, we make one attempt to call clean_weak_method_links(). But if the metadata is on the stack, we don't clear it. It seems we could leave stale metadata behind this way. I think we need to have the GC cleanup, clean_weak_klass_links call clean_weak_method_links. Or maybe combine them together into clean_weak_metadata_links.
- duplicates
-
JDK-8202447 Fix unloading_occurred to mean unloading_occurred
-
- Resolved
-
- relates to
-
JDK-8067713 Move clean_weak_method_links for redefinition out of class unloading
-
- Resolved
-