comparison src/share/vm/gc_interface/collectedHeap.cpp @ 494:d593294016c3

6786195: many nsk.monitoring tests fail with -server -Xcomp Summary: remove Universe::_fillerArrayKlassObj and associated code Reviewed-by: jmasa, tonyp
author jcoomes
date Thu, 18 Dec 2008 01:27:04 -0800
parents 7d7a7c599c17
children 0fbdb4381b99 c6c601a0f2d6
comparison
equal deleted inserted replaced
483:0f773163217d 494:d593294016c3
176 const size_t payload_size = words - filler_array_hdr_size(); 176 const size_t payload_size = words - filler_array_hdr_size();
177 const size_t len = payload_size * HeapWordSize / sizeof(jint); 177 const size_t len = payload_size * HeapWordSize / sizeof(jint);
178 178
179 // Set the length first for concurrent GC. 179 // Set the length first for concurrent GC.
180 ((arrayOop)start)->set_length((int)len); 180 ((arrayOop)start)->set_length((int)len);
181 post_allocation_setup_common(Universe::fillerArrayKlassObj(), start, 181 post_allocation_setup_common(Universe::intArrayKlassObj(), start, words);
182 words);
183 DEBUG_ONLY(zap_filler_array(start, words);) 182 DEBUG_ONLY(zap_filler_array(start, words);)
184 } 183 }
185 184
186 void 185 void
187 CollectedHeap::fill_with_object_impl(HeapWord* start, size_t words) 186 CollectedHeap::fill_with_object_impl(HeapWord* start, size_t words)