comparison 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
comparison
equal deleted inserted replaced
17883:9428a0b94204 17884:cf9f24de0b93
149 // Helper functions for (VM) allocation. 149 // Helper functions for (VM) allocation.
150 inline static void post_allocation_setup_common(KlassHandle klass, HeapWord* obj); 150 inline static void post_allocation_setup_common(KlassHandle klass, HeapWord* obj);
151 inline static void post_allocation_setup_no_klass_install(KlassHandle klass, 151 inline static void post_allocation_setup_no_klass_install(KlassHandle klass,
152 HeapWord* objPtr); 152 HeapWord* objPtr);
153 153
154 inline static void post_allocation_setup_obj(KlassHandle klass, HeapWord* obj); 154 inline static void post_allocation_setup_obj(KlassHandle klass, HeapWord* obj, int size);
155 155
156 inline static void post_allocation_setup_array(KlassHandle klass, 156 inline static void post_allocation_setup_array(KlassHandle klass,
157 HeapWord* obj, int length); 157 HeapWord* obj, int length);
158 158
159 // Clears an allocated object. 159 // Clears an allocated object.