The list of interfaces for a TypeInterfaces is contained in a GrowableArray that's allocated in the type arena. When hashcons() deletes a TypeInterfaces object because an identical one exists, it can't reclaim memory for the object because it can only free the last thing that was allocated and that's the backing store for the GrowableArray, not the TypeInterfaces object.
- relates to
-
JDK-8309203 C2: remove copy-by-value of GrowableArray for InterfaceSet
- Resolved
- links to
-
Commit(master) openjdk/jdk/90c944fe
-
Review(master) openjdk/jdk/21163