< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahHeapRegionSet.hpp

Print this page
rev 57095 : [mq]: use
rev 57096 : [mq]: trailing_semi

*** 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. * --- 1,7 ---- /* ! * Copyright (c) 2013, 2019, 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,34 **** --- 25,35 ---- #define SHARE_GC_SHENANDOAH_SHENANDOAHHEAPREGIONSET_HPP #include "memory/allocation.hpp" #include "gc/shenandoah/shenandoahHeap.hpp" #include "gc/shenandoah/shenandoahHeapRegion.hpp" + #include "utilities/macros.hpp" class ShenandoahHeapRegionSet; class ShenandoahHeapRegionSetIterator : public StackObj { private:
*** 38,49 **** DEFINE_PAD_MINUS_SIZE(0, DEFAULT_CACHE_LINE_SIZE, sizeof(volatile jint)); volatile jint _current_index; DEFINE_PAD_MINUS_SIZE(1, DEFAULT_CACHE_LINE_SIZE, 0); // No implicit copying: iterators should be passed by reference to capture the state ! ShenandoahHeapRegionSetIterator(const ShenandoahHeapRegionSetIterator& that); ! ShenandoahHeapRegionSetIterator& operator=(const ShenandoahHeapRegionSetIterator& o); public: ShenandoahHeapRegionSetIterator(const ShenandoahHeapRegionSet* const set); // Reset existing iterator to new set --- 39,49 ---- DEFINE_PAD_MINUS_SIZE(0, DEFAULT_CACHE_LINE_SIZE, sizeof(volatile jint)); volatile jint _current_index; DEFINE_PAD_MINUS_SIZE(1, DEFAULT_CACHE_LINE_SIZE, 0); // No implicit copying: iterators should be passed by reference to capture the state ! NONCOPYABLE(ShenandoahHeapRegionSetIterator); public: ShenandoahHeapRegionSetIterator(const ShenandoahHeapRegionSet* const set); // Reset existing iterator to new set
< prev index next >