--- old/src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp 2019-12-01 18:04:55.010196251 -0500 +++ new/src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp 2019-12-01 18:04:54.762182962 -0500 @@ -33,6 +33,7 @@ #include "gc/shenandoah/shenandoahEvacOOMHandler.hpp" #include "gc/shenandoah/shenandoahSharedVariables.hpp" #include "services/memoryManager.hpp" +#include "utilities/macros.hpp" class ConcurrentGCTimer; class ReferenceProcessor; @@ -69,8 +70,7 @@ DEFINE_PAD_MINUS_SIZE(1, DEFAULT_CACHE_LINE_SIZE, 0); // No implicit copying: iterators should be passed by reference to capture the state - ShenandoahRegionIterator(const ShenandoahRegionIterator& that); - ShenandoahRegionIterator& operator=(const ShenandoahRegionIterator& o); + NONCOPYABLE(ShenandoahRegionIterator); public: ShenandoahRegionIterator();