Mercurial > hg > truffle
diff src/share/vm/gc_interface/collectedHeap.hpp @ 5972:9a9bb0010c91
7156764: Remove unused size parameter from some CollectedHeap methods
Summary: Some minor cleanups
Reviewed-by: tonyp, jwilhelm
author | brutisso |
---|---|
date | Tue, 27 Mar 2012 10:29:59 +0200 |
parents | cc74fa5a91a9 |
children | b632e80fc9dc |
line wrap: on
line diff
--- a/src/share/vm/gc_interface/collectedHeap.hpp Fri Mar 23 15:28:24 2012 +0100 +++ b/src/share/vm/gc_interface/collectedHeap.hpp Tue Mar 27 10:29:59 2012 +0200 @@ -149,18 +149,14 @@ inline static HeapWord* common_permanent_mem_allocate_init(size_t size, TRAPS); // Helper functions for (VM) allocation. - inline static void post_allocation_setup_common(KlassHandle klass, - HeapWord* obj, size_t size); + inline static void post_allocation_setup_common(KlassHandle klass, HeapWord* obj); inline static void post_allocation_setup_no_klass_install(KlassHandle klass, - HeapWord* objPtr, - size_t size); + HeapWord* objPtr); - inline static void post_allocation_setup_obj(KlassHandle klass, - HeapWord* obj, size_t size); + inline static void post_allocation_setup_obj(KlassHandle klass, HeapWord* obj); inline static void post_allocation_setup_array(KlassHandle klass, - HeapWord* obj, size_t size, - int length); + HeapWord* obj, int length); // Clears an allocated object. inline static void init_obj(HeapWord* obj, size_t size); @@ -368,9 +364,7 @@ inline static oop permanent_obj_allocate_no_klass_install(KlassHandle klass, int size, TRAPS); - inline static void post_allocation_install_obj_klass(KlassHandle klass, - oop obj, - int size); + inline static void post_allocation_install_obj_klass(KlassHandle klass, oop obj); inline static oop permanent_array_allocate(KlassHandle klass, int size, int length, TRAPS); // Raw memory allocation facilities @@ -664,9 +658,6 @@ } } - // Allocate GCHeapLog during VM startup - static void initialize_heap_log(); - // Heap verification virtual void verify(bool allow_dirty, bool silent, VerifyOption option) = 0;