1.1 --- a/src/share/vm/gc_interface/collectedHeap.cpp Fri Mar 23 15:28:24 2012 +0100 1.2 +++ b/src/share/vm/gc_interface/collectedHeap.cpp Tue Mar 27 10:29:59 2012 +0200 1.3 @@ -333,7 +333,7 @@ 1.4 1.5 // Set the length first for concurrent GC. 1.6 ((arrayOop)start)->set_length((int)len); 1.7 - post_allocation_setup_common(Universe::intArrayKlassObj(), start, words); 1.8 + post_allocation_setup_common(Universe::intArrayKlassObj(), start); 1.9 DEBUG_ONLY(zap_filler_array(start, words, zap);) 1.10 } 1.11 1.12 @@ -346,8 +346,7 @@ 1.13 fill_with_array(start, words, zap); 1.14 } else if (words > 0) { 1.15 assert(words == min_fill_size(), "unaligned size"); 1.16 - post_allocation_setup_common(SystemDictionary::Object_klass(), start, 1.17 - words); 1.18 + post_allocation_setup_common(SystemDictionary::Object_klass(), start); 1.19 } 1.20 } 1.21 1.22 @@ -477,7 +476,7 @@ 1.23 assert(ScavengeRootsInCode > 0, "must be"); 1.24 obj = common_mem_allocate_init(size, CHECK_NULL); 1.25 } 1.26 - post_allocation_setup_common(klass, obj, size); 1.27 + post_allocation_setup_common(klass, obj); 1.28 assert(Universe::is_bootstrapping() || 1.29 !((oop)obj)->blueprint()->oop_is_array(), "must not be an array"); 1.30 NOT_PRODUCT(Universe::heap()->check_for_bad_heap_word_value(obj, size));