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

Dtrace monitoring uses size before mirror size is set.

Reviewed-by: kamg, hseigel
This commit is contained in:
Coleen Phillimore 2014-04-11 20:02:37 +00:00
parent f15b18de1b
commit e72c0ba18f
4 changed files with 16 additions and 15 deletions

View file

@ -151,7 +151,7 @@ class CollectedHeap : public CHeapObj<mtInternal> {
inline static void post_allocation_setup_no_klass_install(KlassHandle klass,
HeapWord* objPtr);
inline static void post_allocation_setup_obj(KlassHandle klass, HeapWord* obj);
inline static void post_allocation_setup_obj(KlassHandle klass, HeapWord* obj, int size);
inline static void post_allocation_setup_array(KlassHandle klass,
HeapWord* obj, int length);