RFR 8026946: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint should use MethodH,andle
Coleen Phillimore
coleen.phillimore at oracle.com
Fri Nov 1 07:09:46 PDT 2013
On 10/31/2013 12:43 PM, serguei.spitsyn at oracle.com wrote:
> Coleen,
>
> It looks good, thank you for fixing it!
Thanks for the code review Serguei.
Coleen
>
> Thanks,
> Serguei
>
> On 10/30/13 7:54 PM, Coleen Phillimore wrote:
>> 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.
>>
>> This is two bug fixes to the same code.
>>
>> open webrev at http://cr.openjdk.java.net/~coleenp/8026946_8026948/
>> bug link https://bugs.openjdk.java.net/browse/JDK-8026946
>> https://bugs.openjdk.java.net/browse/JDK-8026948
>>
>> Tested with vm.quick.testlist - and verified the jdi tests eg
>> nsk/jdi/BScenarios/hotswap/tc01x001 test this path.
>>
>> Thanks,
>> Coleen
>
More information about the serviceability-dev
mailing list