< prev index next > src/hotspot/share/gc/parallel/mutableNUMASpace.cpp
Print this page
CollectedHeap::fill_with_object(cur_top, words_to_fill);
if (!os::numa_has_static_binding()) {
size_t touched_words = words_to_fill;
#ifndef ASSERT
if (!ZapUnusedHeapArea) {
- touched_words = MIN2((size_t)align_object_size(typeArrayOopDesc::header_size(T_INT)),
+ touched_words = MIN2((size_t)align_object_size(align_up(typeArrayOopDesc::base_offset_in_bytes(T_INT), HeapWordSize) / HeapWordSize),
touched_words);
}
#endif
MemRegion invalid;
HeapWord *crossing_start = align_up(cur_top, os::vm_page_size());
< prev index next >