< prev index next >

src/share/vm/gc/g1/g1CollectedHeap.cpp

Print this page
rev 12240 : [mq]: filler_comments

*** 298,307 **** --- 298,309 ---- // type and, for a very short period of time, the klass and length // fields will be inconsistent. This could cause a refinement // thread to calculate the object size incorrectly. Copy::fill_to_words(new_obj, oopDesc::header_size(), 0); + // Next, pad out the unused tail of the last region with filler + // objects, for improved usage accounting. // How many words we use for filler objects. size_t word_fill_size = word_size_sum - word_size; // How many words memory we "waste" which cannot hold a filler object. size_t words_not_fillable = 0;
< prev index next >