diff src/share/vm/gc_interface/collectedHeap.hpp @ 17884:cf9f24de0b93

8039904: dtrace/hotspot/Monitors/Monitors001 fails with "assert(s > 0) failed: Bad size calculated" Summary: Dtrace monitoring uses size before mirror size is set. Reviewed-by: kamg, hseigel
author coleenp
date Fri, 11 Apr 2014 20:02:37 +0000
parents 9428a0b94204
children 1772223a25a2
line wrap: on
line diff
--- a/src/share/vm/gc_interface/collectedHeap.hpp	Tue Apr 15 17:02:20 2014 -0400
+++ b/src/share/vm/gc_interface/collectedHeap.hpp	Fri Apr 11 20:02:37 2014 +0000
@@ -151,7 +151,7 @@
   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);