RFR (S) 8039904: dtrace/hotspot/Monitors/Monitors001 fails with "assert(s > 0) failed: Bad size calculated"

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Fri Apr 11 19:49:18 UTC 2014

The fix looks good.


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