hg: hsx/hotspot-rt/hotspot: 7122253: Instrumentation.retransformClasses() leaks class bytes

daniel.daugherty at oracle.com daniel.daugherty at oracle.com
Thu Dec 22 13:50:44 PST 2011


Changeset: 4ceaf61479fc
Author:    dcubed
Date:      2011-12-22 12:50 -0800
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/4ceaf61479fc

7122253: Instrumentation.retransformClasses() leaks class bytes
Summary: Change ClassFileParser::parseClassFile() to use the instanceKlass:_cached_class_file_bytes field to avoid leaking the cache.
Reviewed-by: coleenp, acorn, poonam

! src/share/vm/classfile/classFileParser.cpp
! src/share/vm/prims/jvmtiEnv.cpp
! src/share/vm/prims/jvmtiExport.cpp
! src/share/vm/prims/jvmtiRedefineClasses.cpp



More information about the serviceability-dev mailing list