--- old/src/hotspot/share/gc/z/zLiveMap.hpp 2019-05-02 09:57:46.326943901 +0200 +++ new/src/hotspot/share/gc/z/zLiveMap.hpp 2019-05-02 09:57:46.081935809 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -35,13 +35,13 @@ private: static const size_t nsegments = 64; - volatile uint32_t _seqnum; // Mark sequence number - volatile uint32_t _live_objects; // Number of live objects - volatile size_t _live_bytes; // Number of live bytes - BitMap::bm_word_t _segment_live_bits; // Segment live bits - BitMap::bm_word_t _segment_claim_bits; // Segment claim bits - ZBitMap _bitmap; // Mark bitmap - const size_t _shift; // Segment shift + volatile uint32_t _seqnum; + volatile uint32_t _live_objects; + volatile size_t _live_bytes; + BitMap::bm_word_t _segment_live_bits; + BitMap::bm_word_t _segment_claim_bits; + ZBitMap _bitmap; + size_t _segment_shift; const BitMapView segment_live_bits() const; const BitMapView segment_claim_bits() const; @@ -72,6 +72,7 @@ ZLiveMap(uint32_t size); void reset(); + void resize(uint32_t size); bool is_marked() const;