equal
deleted
inserted
replaced
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) |