< prev index next >

src/hotspot/share/gc/shared/collectedHeap.hpp

Print this page
rev 50392 : JEP 331

*** 181,190 **** --- 181,202 ---- // Fill with a single object (either an int array or a java.lang.Object). static inline void fill_with_object_impl(HeapWord* start, size_t words, bool zap = true); virtual void trace_heap(GCWhen::Type when, const GCTracer* tracer); + // Internal allocation methods. + inline static HeapWord* common_allocate_memory(Klass* klass, int size, + void (*post_setup)(Klass*, HeapWord*, int), + int size_for_post, bool init_memory, + TRAPS); + + // Internal allocation method for common obj/class/array allocations. + inline static HeapWord* allocate_memory(Klass* klass, int size, + void (*post_setup)(Klass*, HeapWord*, int), + int size_for_post, bool init_memory, + TRAPS); + // Verification functions virtual void check_for_bad_heap_word_value(HeapWord* addr, size_t size) PRODUCT_RETURN; virtual void check_for_non_bad_heap_word_value(HeapWord* addr, size_t size) PRODUCT_RETURN;
< prev index next >