Review Request (S) 8017230: Internal Error (jvmtiRedefineClasses.cpp:1662): guarantee(false) failed: insert_space_at() failed
serguei.spitsyn at oracle.com
serguei.spitsyn at oracle.com
Thu Sep 12 11:37:09 PDT 2013
On 9/11/13 8:58 PM, David Holmes wrote:
> On 12/09/2013 1:54 PM, David Holmes wrote:
>> Hi Dmitry,
>
> Sorry Serguei.
I'm Ok. :)
Thank you for review!
Thanks,
Serguei
>
> David
>
>> It seems odd that you install the new_method even if there was an
>> exception. What if the new_method is not valid because of the
>> exception ?
>>
>> Also once you've cleared the exception and returned false, the user has
>> no information as to why this failed. I understand we don't want to hit
>> the guarantee here, but it seems there is a hole in the error flow.
>>
>> David
>>
>> On 12/09/2013 7:39 AM, serguei.spitsyn at oracle.com wrote:
>>> Please, review the fix for:
>>> bug: http://bugs.sun.com/view_bug.do?bug_id=8017230
>>> jbs: https://bugs.openjdk.java.net/browse/JDK-8017230
>>>
>>>
>>> Open webrev:
>>> http://cr.openjdk.java.net/~sspitsyn/webrevs/2013/hotspot/8017230-JVMTI-MEM.1
>>>
>>>
>>>
>>> Summary:
>>> Handle pending exceptions instead of firing a guarantee() in the
>>> JVMTI rewrite_cp_refs_in_method().
>>>
>>>
>>> Testing:
>>> UTE tests - in progress: vm.quick-pcl.testlist with limited
>>> Metaspace memory,
>>> nsk.jvmti.testlist,
>>> nsk.jdi.testlist,
>>> Jtreg java/lang/instrument
>>>
>>> Thanks,
>>> Serguei
More information about the hotspot-dev
mailing list