RFR (S) 8039904: dtrace/hotspot/Monitors/Monitors001 fails with "assert(s > 0) failed: Bad size calculated"
Coleen Phillimore
coleen.phillimore at oracle.com
Fri Apr 11 20:42:42 UTC 2014
Thank you Serguei.
Coleen
On 4/11/14, 3:49 PM, serguei.spitsyn at oracle.com wrote:
> The fix looks good.
>
> Thanks,
> Serguei
>
> On 4/11/14 7:48 AM, Coleen Phillimore wrote:
>> Summary: Dtrace monitoring uses size before mirror size is set.
>>
>> The refactoring I did for bug
>> https://bugs.openjdk.java.net/browse/JDK-8028497 caused this bug. The
>> size of the mirror is filled in by the InstanceMirrorKlass allocation
>> but was used for dtrace probes before it in the normal allocation
>> pass. Pass the allocated size to dtrace function instead.
>>
>> Tested by dtrace tests on solaris sparcv9, testbase vm.quick.testlist
>> also.
>>
>> open webrev at http://cr.openjdk.java.net/~coleenp/8039904/
>> bug link https://bugs.openjdk.java.net/browse/JDK-8039904
>>
>> Thanks,
>> Coleen
>
More information about the hotspot-runtime-dev
mailing list