RFR (S) 8039904: dtrace/hotspot/Monitors/Monitors001 fails with "assert(s > 0) failed: Bad size calculated"
coleen.phillimore at oracle.com
Fri Apr 11 14:48:17 UTC 2014
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
More information about the hotspot-runtime-dev