< prev index next >

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

Print this page
rev 12906 : [mq]: gc_interface

*** 39,49 **** void SparsePRTEntry::init(RegionIdx_t region_ind) { // Check that the card array element type can represent all cards in the region. // Choose a large SparsePRTEntry::card_elem_t (e.g. CardIdx_t) if required. assert(((size_t)1 << (sizeof(SparsePRTEntry::card_elem_t) * BitsPerByte)) * ! G1SATBCardTableModRefBS::card_size >= HeapRegionBounds::max_size(), "precondition"); assert(G1RSetSparseRegionEntries > 0, "precondition"); _region_ind = region_ind; _next_index = RSHashTable::NullEntry; _next_null = 0; } --- 39,49 ---- void SparsePRTEntry::init(RegionIdx_t region_ind) { // Check that the card array element type can represent all cards in the region. // Choose a large SparsePRTEntry::card_elem_t (e.g. CardIdx_t) if required. assert(((size_t)1 << (sizeof(SparsePRTEntry::card_elem_t) * BitsPerByte)) * ! G1CardTable::card_size >= HeapRegionBounds::max_size(), "precondition"); assert(G1RSetSparseRegionEntries > 0, "precondition"); _region_ind = region_ind; _next_index = RSHashTable::NullEntry; _next_null = 0; }
< prev index next >