< prev index next >

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

Print this page

        

*** 497,518 **** _next_offset_threshold = _array->address_for_index(_next_offset_index); return _next_offset_threshold; } ! void ! G1BlockOffsetArrayContigSpace::set_for_starts_humongous(HeapWord* new_top) { ! assert(new_top <= _end, "_end should have already been updated"); ! // The first BOT entry should have offset 0. reset_bot(); ! alloc_block(_bottom, new_top); } #ifndef PRODUCT ! void ! G1BlockOffsetArrayContigSpace::print_on(outputStream* out) { G1BlockOffsetArray::print_on(out); out->print_cr(" next offset threshold: " PTR_FORMAT, p2i(_next_offset_threshold)); out->print_cr(" next offset index: " SIZE_FORMAT, _next_offset_index); } #endif // !PRODUCT --- 497,514 ---- _next_offset_threshold = _array->address_for_index(_next_offset_index); return _next_offset_threshold; } ! void G1BlockOffsetArrayContigSpace::set_for_starts_humongous(HeapWord* obj_top) { // The first BOT entry should have offset 0. reset_bot(); ! alloc_block(_bottom, obj_top); } #ifndef PRODUCT ! void G1BlockOffsetArrayContigSpace::print_on(outputStream* out) { G1BlockOffsetArray::print_on(out); out->print_cr(" next offset threshold: " PTR_FORMAT, p2i(_next_offset_threshold)); out->print_cr(" next offset index: " SIZE_FORMAT, _next_offset_index); } #endif // !PRODUCT
< prev index next >