src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp

changeset 2891
7d64aa23eb96
parent 2889
fc2b798ab316
child 2959
5c0a3c1858b1
equal deleted inserted replaced
2890:97b64f73103b 2891:7d64aa23eb96
349 // will have been logged in the LNC for that chunk. 349 // will have been logged in the LNC for that chunk.
350 // We need to examine as many chunks to the right as this object 350 // We need to examine as many chunks to the right as this object
351 // covers. 351 // covers.
352 const uintptr_t last_chunk_index_to_check = addr_to_chunk_index(last_block + last_block_size - 1) 352 const uintptr_t last_chunk_index_to_check = addr_to_chunk_index(last_block + last_block_size - 1)
353 - lowest_non_clean_base_chunk_index; 353 - lowest_non_clean_base_chunk_index;
354 DEBUG_ONLY(const uintptr_t last_chunk_index = addr_to_chunk_index(used.end()) 354 DEBUG_ONLY(const uintptr_t last_chunk_index = addr_to_chunk_index(used.last())
355 - lowest_non_clean_base_chunk_index;) 355 - lowest_non_clean_base_chunk_index;)
356 assert(last_chunk_index_to_check <= last_chunk_index, 356 assert(last_chunk_index_to_check <= last_chunk_index,
357 err_msg("Out of bounds: last_chunk_index_to_check " INTPTR_FORMAT 357 err_msg("Out of bounds: last_chunk_index_to_check " INTPTR_FORMAT
358 " exceeds last_chunk_index " INTPTR_FORMAT, 358 " exceeds last_chunk_index " INTPTR_FORMAT,
359 last_chunk_index_to_check, last_chunk_index)); 359 last_chunk_index_to_check, last_chunk_index));

mercurial