< prev index next >

src/share/vm/gc_implementation/shenandoah/shenandoahHeapRegionSet.cpp

Print this page
rev 10724 : [backport] Add JFR parallel and concurrent events (infrastructure)
rev 10740 : [backport] Protect more internal code from false sharing
rev 10772 : [backport] Update copyrights

*** 1,7 **** /* ! * Copyright (c) 2013, 2018, Red Hat, Inc. and/or its affiliates. * * 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) 2013, 2018, Red Hat, Inc. All rights reserved. * * 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. *
*** 25,39 **** #include "gc_implementation/shenandoah/shenandoahHeapRegionSet.hpp" #include "gc_implementation/shenandoah/shenandoahHeapRegionSet.inline.hpp" #include "gc_implementation/shenandoah/shenandoahHeap.hpp" #include "gc_implementation/shenandoah/shenandoahHeap.inline.hpp" #include "gc_implementation/shenandoah/shenandoahHeapRegion.hpp" #include "runtime/atomic.hpp" #include "utilities/copy.hpp" ShenandoahHeapRegionSetIterator::ShenandoahHeapRegionSetIterator(const ShenandoahHeapRegionSet* const set) : ! _set(set), _current_index(0), _heap(ShenandoahHeap::heap()) {} void ShenandoahHeapRegionSetIterator::reset(const ShenandoahHeapRegionSet* const set) { _set = set; _current_index = 0; } --- 25,40 ---- #include "gc_implementation/shenandoah/shenandoahHeapRegionSet.hpp" #include "gc_implementation/shenandoah/shenandoahHeapRegionSet.inline.hpp" #include "gc_implementation/shenandoah/shenandoahHeap.hpp" #include "gc_implementation/shenandoah/shenandoahHeap.inline.hpp" #include "gc_implementation/shenandoah/shenandoahHeapRegion.hpp" + #include "gc_implementation/shenandoah/shenandoahUtils.hpp" #include "runtime/atomic.hpp" #include "utilities/copy.hpp" ShenandoahHeapRegionSetIterator::ShenandoahHeapRegionSetIterator(const ShenandoahHeapRegionSet* const set) : ! _set(set), _heap(ShenandoahHeap::heap()), _current_index(0) {} void ShenandoahHeapRegionSetIterator::reset(const ShenandoahHeapRegionSet* const set) { _set = set; _current_index = 0; }
< prev index next >