RFR 8042727: nsk/jdb/unwatch/unwatch001 crash in InstanceKlass::methods_do(void (*)(Method*))

Frederic Parain frederic.parain at oracle.com
Wed May 21 10:40:22 UTC 2014


Coleen,

Looks good.
Minor nit: copyright date in compilerOracle.hpp

Regards,

Fred

On 05/21/2014 07:58 AM, David Holmes wrote:
> Hi Coleen,
>
> This seems quite reasonable to me.
>
> David
>
> On 21/05/2014 7:47 AM, Coleen Phillimore wrote:
>> Summary: Only walk methods in instanceklass if the class is loaded
>>
>> The bug was caused by walking methods in the CLDG while some classes
>> were still being loaded, so you could get null for methods().  I also
>> changed print_method_statistics to not unconditionally walk the CLDG
>> methods at exit if there are no CompilerOracle print options.
>>
>> Tested with regression/other/RuntimeTest which crashed within an hour
>> with this bug, and never with the fix.
>> Also ran jtreg tests, and manually tested .hotspot_compiler prints a
>> method requested.  I didn't add a test because there should be some
>> other compiler print tests already and this would be a small meaningless
>> test.
>>
>> open webrev at http://cr.openjdk.java.net/~coleenp/8042727/
>> bug link https://bugs.openjdk.java.net/browse/JDK-8042727
>>
>> Thanks,
>> Coleen

-- 
Frederic Parain - Oracle
Grenoble Engineering Center - France
Phone: +33 4 76 18 81 17
Email: Frederic.Parain at oracle.com


More information about the hotspot-dev mailing list