< prev index next >

src/hotspot/share/gc/z/zLiveMap.inline.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 2017, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 90,100 **** inline BitMap::idx_t ZLiveMap::segment_size() const { return _bitmap.size() / nsegments; } inline BitMap::idx_t ZLiveMap::index_to_segment(BitMap::idx_t index) const { ! return index >> _shift; } inline bool ZLiveMap::get(size_t index) const { BitMap::idx_t segment = index_to_segment(index); return is_marked() && // Page is marked --- 90,100 ---- inline BitMap::idx_t ZLiveMap::segment_size() const { return _bitmap.size() / nsegments; } inline BitMap::idx_t ZLiveMap::index_to_segment(BitMap::idx_t index) const { ! return index >> _segment_shift; } inline bool ZLiveMap::get(size_t index) const { BitMap::idx_t segment = index_to_segment(index); return is_marked() && // Page is marked
< prev index next >