hotspot/src/share/vm/memory/blockOffsetTable.cpp

Print this page
rev 611 : Merge

*** 185,195 **** assert(start_card > _array->index_for(_bottom), "Cannot be first card"); assert(_array->offset_array(start_card-1) <= N_words, "Offset card has an unexpected value"); size_t start_card_for_region = start_card; u_char offset = max_jubyte; ! for (int i = 0; i <= N_powers-1; i++) { // -1 so that the the card with the actual offset is counted. Another -1 // so that the reach ends in this region and not at the start // of the next. size_t reach = start_card - 1 + (power_to_cards_back(i+1) - 1); offset = N_words + i; --- 185,195 ---- assert(start_card > _array->index_for(_bottom), "Cannot be first card"); assert(_array->offset_array(start_card-1) <= N_words, "Offset card has an unexpected value"); size_t start_card_for_region = start_card; u_char offset = max_jubyte; ! for (int i = 0; i < N_powers; i++) { // -1 so that the the card with the actual offset is counted. Another -1 // so that the reach ends in this region and not at the start // of the next. size_t reach = start_card - 1 + (power_to_cards_back(i+1) - 1); offset = N_words + i;