[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Re: RFR (XS) 8066679: jvmtiRedefineClasses.cpp assert cache ptrs must match
From: "serguei.spitsyn () oracle ! com" <serguei ! spitsyn () oracle ! com>
Date: 2015-03-27 18:57:08
Message-ID: 5515A804.6030204 () oracle ! com
[Download RAW message or body]
Thanks, Coleen!
I'll check about test.
Thanks,
Serguei
On 3/27/15 11:46 AM, Coleen Phillimore wrote:
>
> This fix looks correct. Is there any way to write a test for this?
> thanks,
> Coleen
>
> On 3/25/15, 9:16 PM, serguei.spitsyn@oracle.com wrote:
>> Please, review the fix for:
>> https://bugs.openjdk.java.net/browse/JDK-8066679
>>
>>
>> Open hotspot webrev:
>> http://cr.openjdk.java.net/~sspitsyn/webrevs/2015/hotspot/8066679-JVMTI-cache.1/
>>
>>
>>
>> Summary:
>>
>> There can be multiple concurrent RetransformClasses calls on
>> different threads.
>> So that, the assert "cache ptrs must match" is incorrect as it was
>> based on wrong assumptions.
>> The fix removes two related asserts and also frees the
>> scratch_class cached_class_file_bytes
>> if it is necessary to avoid leaking the memory.
>>
>>
>> Testing:
>> In progress: nsk redefine classes tests, JTREG java/lang/instrument
>>
>>
>> Thanks,
>> Serguei
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic