--- old/src/hotspot/share/gc/shenandoah/shenandoahHeapRegionSet.hpp 2019-12-01 18:04:55.978248120 -0500 +++ new/src/hotspot/share/gc/shenandoah/shenandoahHeapRegionSet.hpp 2019-12-01 18:04:55.726234617 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2018, Red Hat, Inc. All rights reserved. + * 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 @@ -27,6 +27,7 @@ #include "memory/allocation.hpp" #include "gc/shenandoah/shenandoahHeap.hpp" #include "gc/shenandoah/shenandoahHeapRegion.hpp" +#include "utilities/macros.hpp" class ShenandoahHeapRegionSet; @@ -40,8 +41,7 @@ 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); + NONCOPYABLE(ShenandoahHeapRegionSetIterator); public: ShenandoahHeapRegionSetIterator(const ShenandoahHeapRegionSet* const set);