< prev index next >
src/share/vm/gc/g1/g1BlockOffsetTable.cpp
Print this page
rev 12504 : 8173764: Assert in G1 BOT is wrong
Reviewed-by:
@@ -76,11 +76,12 @@
G1BlockOffsetTablePart::G1BlockOffsetTablePart(G1BlockOffsetTable* array, G1ContiguousSpace* gsp) :
_bot(array),
_space(gsp),
_next_offset_threshold(NULL),
- _next_offset_index(0)
+ _next_offset_index(0),
+ _object_can_span(false)
{ }
// The arguments follow the normal convention of denoting
// a right-open interval: [start, end)
void G1BlockOffsetTablePart:: set_remainder_to_point_to_start(HeapWord* start, HeapWord* end) {
@@ -417,5 +418,9 @@
alloc_block(_space->bottom(), obj_top);
if (fill_size > 0) {
alloc_block(obj_top, fill_size);
}
}
+
+void G1BlockOffsetTablePart::set_continues_humongous(bool is_humongous) {
+ _object_can_span = is_humongous;
+}
< prev index next >