diff -r 7939b3c4e408 -r c25572739e7c src/hotspot/share/gc/g1/g1BlockOffsetTable.cpp --- a/src/hotspot/share/gc/g1/g1BlockOffsetTable.cpp Wed Aug 08 10:21:23 2018 +0800 +++ b/src/hotspot/share/gc/g1/g1BlockOffsetTable.cpp Wed Aug 08 15:31:06 2018 +0200 @@ -75,12 +75,12 @@ ////////////////////////////////////////////////////////////////////// G1BlockOffsetTablePart::G1BlockOffsetTablePart(G1BlockOffsetTable* array, G1ContiguousSpace* gsp) : + _next_offset_threshold(NULL), + _next_offset_index(0), + DEBUG_ONLY(_object_can_span(false) COMMA) _bot(array), - _space(gsp), - _next_offset_threshold(NULL), - _next_offset_index(0) + _space(gsp) { - debug_only(_object_can_span = false;) } // The arguments follow the normal convention of denoting