< prev index next >

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

Print this page
rev 8978 : imported patch remove_err_msg

*** 78,89 **** // so the table size might also wish to change. virtual void resize(size_t new_word_size) = 0; virtual void set_bottom(HeapWord* new_bottom) { assert(new_bottom <= _end, ! err_msg("new_bottom (" PTR_FORMAT ") > _end (" PTR_FORMAT ")", ! p2i(new_bottom), p2i(_end))); _bottom = new_bottom; resize(pointer_delta(_end, _bottom)); } // Requires "addr" to be contained by a block, and returns the address of --- 78,89 ---- // so the table size might also wish to change. virtual void resize(size_t new_word_size) = 0; virtual void set_bottom(HeapWord* new_bottom) { assert(new_bottom <= _end, ! "new_bottom (" PTR_FORMAT ") > _end (" PTR_FORMAT ")", ! p2i(new_bottom), p2i(_end)); _bottom = new_bottom; resize(pointer_delta(_end, _bottom)); } // Requires "addr" to be contained by a block, and returns the address of
*** 147,159 **** // address. u_char* _offset_array; // byte array keeping backwards offsets void check_offset(size_t offset, const char* msg) const { assert(offset <= N_words, ! err_msg("%s - " "offset: " SIZE_FORMAT ", N_words: %u", ! msg, offset, (uint)N_words)); } // Bounds checking accessors: // For performance these have to devolve to array accesses in product builds. inline u_char offset_array(size_t index) const; --- 147,159 ---- // address. u_char* _offset_array; // byte array keeping backwards offsets void check_offset(size_t offset, const char* msg) const { assert(offset <= N_words, ! "%s - " "offset: " SIZE_FORMAT ", N_words: %u", ! msg, offset, (uint)N_words); } // Bounds checking accessors: // For performance these have to devolve to array accesses in product builds. inline u_char offset_array(size_t index) const;
< prev index next >