hg: hsx/hotspot-rt/hotspot: 8026946: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint should use MethodHandle; ...
coleen.phillimore at oracle.com
coleen.phillimore at oracle.com
Fri Nov 1 10:06:15 PDT 2013
Changeset: 910026b800b8
Author: coleenp
Date: 2013-11-01 10:32 -0400
URL: http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/910026b800b8
8026946: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint should use MethodHandle
8026948: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint might not work with anonymous classes
Summary: Walk methods in breakpoints for marking on stack so they aren't deallocated by redefine classes. Use class_holder rather than class_loader to keep GC from reclaiming class owning the method.
Reviewed-by: sspitsyn, ehelin, sla
! src/share/vm/classfile/metadataOnStackMark.cpp
! src/share/vm/prims/jvmtiImpl.cpp
! src/share/vm/prims/jvmtiImpl.hpp
More information about the serviceability-dev
mailing list