--- old/src/hotspot/share/gc/g1/g1ConcurrentMark.cpp 2019-11-28 15:24:14.928773229 +0100 +++ new/src/hotspot/share/gc/g1/g1ConcurrentMark.cpp 2019-11-28 15:24:14.657764007 +0100 @@ -55,6 +55,7 @@ #include "include/jvm.h" #include "logging/log.hpp" #include "memory/allocation.hpp" +#include "memory/iterator.hpp" #include "memory/resourceArea.hpp" #include "memory/universe.hpp" #include "oops/access.inline.hpp" --- old/src/hotspot/share/gc/g1/g1ConcurrentMark.hpp 2019-11-28 15:24:16.144814607 +0100 +++ new/src/hotspot/share/gc/g1/g1ConcurrentMark.hpp 2019-11-28 15:24:15.875805453 +0100 @@ -45,6 +45,7 @@ class G1OldTracer; class G1RegionToSpaceMapper; class G1SurvivorRegions; +class ThreadClosure; PRAGMA_DIAG_PUSH // warning C4522: multiple assignment operators specified --- old/src/hotspot/share/gc/g1/g1ConcurrentRefine.cpp 2019-11-28 15:24:17.325854794 +0100 +++ new/src/hotspot/share/gc/g1/g1ConcurrentRefine.cpp 2019-11-28 15:24:17.057845675 +0100 @@ -29,6 +29,7 @@ #include "gc/g1/g1DirtyCardQueue.hpp" #include "logging/log.hpp" #include "memory/allocation.inline.hpp" +#include "memory/iterator.hpp" #include "runtime/java.hpp" #include "runtime/thread.hpp" #include "utilities/debug.hpp" --- old/src/hotspot/share/gc/g1/g1DirtyCardQueue.cpp 2019-11-28 15:24:18.488894369 +0100 +++ new/src/hotspot/share/gc/g1/g1DirtyCardQueue.cpp 2019-11-28 15:24:18.220885250 +0100 @@ -34,6 +34,7 @@ #include "gc/g1/heapRegionRemSet.hpp" #include "gc/shared/suspendibleThreadSet.hpp" #include "gc/shared/workgroup.hpp" +#include "memory/iterator.hpp" #include "runtime/flags/flagSetting.hpp" #include "runtime/mutexLocker.hpp" #include "runtime/orderAccess.hpp" --- old/src/hotspot/share/gc/g1/g1RemSetSummary.cpp 2019-11-28 15:24:19.662934318 +0100 +++ new/src/hotspot/share/gc/g1/g1RemSetSummary.cpp 2019-11-28 15:24:19.394925199 +0100 @@ -34,6 +34,7 @@ #include "gc/g1/heapRegion.hpp" #include "gc/g1/heapRegionRemSet.hpp" #include "memory/allocation.inline.hpp" +#include "memory/iterator.hpp" #include "runtime/thread.inline.hpp" void G1RemSetSummary::update() { --- old/src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp 2019-11-28 15:24:20.833974166 +0100 +++ new/src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp 2019-11-28 15:24:20.566965080 +0100 @@ -44,6 +44,7 @@ #include "gc/shared/locationPrinter.inline.hpp" #include "gc/shared/scavengableNMethods.hpp" #include "logging/log.hpp" +#include "memory/iterator.hpp" #include "memory/metaspaceCounters.hpp" #include "memory/universe.hpp" #include "oops/oop.inline.hpp" --- old/src/hotspot/share/gc/parallel/psScavenge.cpp 2019-11-28 15:24:22.016014387 +0100 +++ new/src/hotspot/share/gc/parallel/psScavenge.cpp 2019-11-28 15:24:21.747005233 +0100 @@ -52,6 +52,7 @@ #include "gc/shared/weakProcessor.hpp" #include "gc/shared/workerPolicy.hpp" #include "gc/shared/workgroup.hpp" +#include "memory/iterator.hpp" #include "memory/resourceArea.hpp" #include "memory/universe.hpp" #include "logging/log.hpp" --- old/src/hotspot/share/gc/shared/genCollectedHeap.cpp 2019-11-28 15:24:23.201054710 +0100 +++ new/src/hotspot/share/gc/shared/genCollectedHeap.cpp 2019-11-28 15:24:22.932045557 +0100 @@ -55,6 +55,7 @@ #include "gc/shared/weakProcessor.hpp" #include "gc/shared/workgroup.hpp" #include "memory/filemap.hpp" +#include "memory/iterator.hpp" #include "memory/metaspaceCounters.hpp" #include "memory/resourceArea.hpp" #include "memory/universe.hpp" --- old/src/hotspot/share/gc/shared/stringdedup/stringDedup.cpp 2019-11-28 15:24:24.394095306 +0100 +++ new/src/hotspot/share/gc/shared/stringdedup/stringDedup.cpp 2019-11-28 15:24:24.127086220 +0100 @@ -27,6 +27,7 @@ #include "gc/shared/stringdedup/stringDedupQueue.hpp" #include "gc/shared/stringdedup/stringDedupTable.hpp" #include "gc/shared/stringdedup/stringDedupThread.hpp" +#include "memory/iterator.hpp" bool StringDedup::_enabled = false; --- old/src/hotspot/share/gc/shared/stringdedup/stringDedup.hpp 2019-11-28 15:24:25.570135323 +0100 +++ new/src/hotspot/share/gc/shared/stringdedup/stringDedup.hpp 2019-11-28 15:24:25.302126204 +0100 @@ -69,6 +69,8 @@ #include "memory/allocation.hpp" #include "runtime/thread.hpp" +class ThreadClosure; + // // Main interface for interacting with string deduplication. // --- old/src/hotspot/share/gc/shared/workgroup.cpp 2019-11-28 15:24:26.744175273 +0100 +++ new/src/hotspot/share/gc/shared/workgroup.cpp 2019-11-28 15:24:26.476166153 +0100 @@ -28,6 +28,7 @@ #include "gc/shared/workerManager.hpp" #include "memory/allocation.hpp" #include "memory/allocation.inline.hpp" +#include "memory/iterator.hpp" #include "runtime/atomic.hpp" #include "runtime/os.hpp" #include "runtime/semaphore.hpp" --- old/src/hotspot/share/gc/shared/workgroup.hpp 2019-11-28 15:24:27.925215460 +0100 +++ new/src/hotspot/share/gc/shared/workgroup.hpp 2019-11-28 15:24:27.657206340 +0100 @@ -50,6 +50,7 @@ class AbstractGangWorker; class Semaphore; +class ThreadClosure; class WorkGang; // An abstract task to be worked on by a gang. --- old/src/hotspot/share/gc/z/zCollectedHeap.cpp 2019-11-28 15:24:29.103255545 +0100 +++ new/src/hotspot/share/gc/z/zCollectedHeap.cpp 2019-11-28 15:24:28.835246426 +0100 @@ -33,6 +33,7 @@ #include "gc/z/zServiceability.hpp" #include "gc/z/zStat.hpp" #include "gc/z/zUtils.inline.hpp" +#include "memory/iterator.hpp" #include "memory/universe.hpp" #include "runtime/mutexLocker.hpp" #include "utilities/align.hpp" --- old/src/hotspot/share/gc/z/zHeap.hpp 2019-11-28 15:24:30.285295767 +0100 +++ new/src/hotspot/share/gc/z/zHeap.hpp 2019-11-28 15:24:30.016286613 +0100 @@ -39,6 +39,8 @@ #include "gc/z/zUnload.hpp" #include "gc/z/zWorkers.hpp" +class ThreadClosure; + class ZHeap { friend class VMStructs; --- old/src/hotspot/share/gc/z/zRootsIterator.cpp 2019-11-28 15:24:31.455335580 +0100 +++ new/src/hotspot/share/gc/z/zRootsIterator.cpp 2019-11-28 15:24:31.187326460 +0100 @@ -39,6 +39,7 @@ #include "gc/z/zRootsIterator.hpp" #include "gc/z/zStat.hpp" #include "gc/z/zThreadLocalData.hpp" +#include "memory/iterator.hpp" #include "memory/resourceArea.hpp" #include "memory/universe.hpp" #include "prims/jvmtiExport.hpp" --- old/src/hotspot/share/gc/z/zRuntimeWorkers.hpp 2019-11-28 15:24:32.634375699 +0100 +++ new/src/hotspot/share/gc/z/zRuntimeWorkers.hpp 2019-11-28 15:24:32.366366580 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 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 @@ -26,6 +26,8 @@ #include "gc/shared/workgroup.hpp" +class ThreadClosure; + class ZRuntimeWorkers { private: WorkGang _workers; --- old/src/hotspot/share/gc/z/zWorkers.hpp 2019-11-28 15:24:33.806415580 +0100 +++ new/src/hotspot/share/gc/z/zWorkers.hpp 2019-11-28 15:24:33.539406495 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -27,6 +27,7 @@ #include "gc/shared/workgroup.hpp" #include "memory/allocation.hpp" +class ThreadClosure; class ZTask; class ZWorkers { --- old/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp 2019-11-28 15:24:34.981455563 +0100 +++ new/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp 2019-11-28 15:24:34.713446444 +0100 @@ -42,6 +42,7 @@ #include "jfr/utilities/jfrTypes.hpp" #include "jfr/writers/jfrJavaEventWriter.hpp" #include "logging/log.hpp" +#include "memory/iterator.hpp" #include "memory/resourceArea.hpp" #include "runtime/handles.inline.hpp" #include "runtime/mutex.hpp" --- old/src/hotspot/share/jfr/recorder/checkpoint/types/jfrType.cpp 2019-11-28 15:24:36.167495921 +0100 +++ new/src/hotspot/share/jfr/recorder/checkpoint/types/jfrType.cpp 2019-11-28 15:24:35.899486801 +0100 @@ -39,6 +39,7 @@ #include "jfr/support/jfrThreadLocal.hpp" #include "jfr/writers/jfrJavaEventWriter.hpp" #include "jfr/utilities/jfrThreadIterator.hpp" +#include "memory/iterator.hpp" #include "memory/metaspaceGCThresholdUpdater.hpp" #include "memory/referenceType.hpp" #include "memory/universe.hpp" --- old/src/hotspot/share/jfr/writers/jfrJavaEventWriter.cpp 2019-11-28 15:24:37.348536108 +0100 +++ new/src/hotspot/share/jfr/writers/jfrJavaEventWriter.cpp 2019-11-28 15:24:37.080526989 +0100 @@ -32,6 +32,7 @@ #include "jfr/support/jfrThreadId.hpp" #include "jfr/utilities/jfrTypes.hpp" #include "jfr/writers/jfrJavaEventWriter.hpp" +#include "memory/iterator.hpp" #include "oops/instanceKlass.hpp" #include "oops/oop.inline.hpp" #include "runtime/fieldDescriptor.inline.hpp" --- old/src/hotspot/share/prims/jvmtiEnvBase.cpp 2019-11-28 15:24:38.530576330 +0100 +++ new/src/hotspot/share/prims/jvmtiEnvBase.cpp 2019-11-28 15:24:38.262567210 +0100 @@ -27,6 +27,7 @@ #include "classfile/moduleEntry.hpp" #include "classfile/systemDictionary.hpp" #include "jvmtifiles/jvmtiEnv.hpp" +#include "memory/iterator.hpp" #include "memory/resourceArea.hpp" #include "oops/objArrayKlass.hpp" #include "oops/objArrayOop.hpp" --- old/src/hotspot/share/runtime/thread.cpp 2019-11-28 15:24:39.732617232 +0100 +++ new/src/hotspot/share/runtime/thread.cpp 2019-11-28 15:24:39.461608010 +0100 @@ -47,6 +47,7 @@ #include "logging/logConfiguration.hpp" #include "logging/logStream.hpp" #include "memory/allocation.inline.hpp" +#include "memory/iterator.hpp" #include "memory/metaspaceShared.hpp" #include "memory/oopFactory.hpp" #include "memory/resourceArea.hpp" --- old/src/hotspot/share/runtime/threadSMR.inline.hpp 2019-11-28 15:24:40.968659291 +0100 +++ new/src/hotspot/share/runtime/threadSMR.inline.hpp 2019-11-28 15:24:40.701650205 +0100 @@ -26,6 +26,7 @@ #define SHARE_RUNTIME_THREADSMR_INLINE_HPP #include "runtime/atomic.hpp" +#include "memory/iterator.hpp" #include "runtime/prefetch.inline.hpp" #include "runtime/thread.inline.hpp" #include "runtime/threadSMR.hpp" --- old/src/hotspot/share/utilities/globalCounter.cpp 2019-11-28 15:24:42.145699342 +0100 +++ new/src/hotspot/share/utilities/globalCounter.cpp 2019-11-28 15:24:41.878690256 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 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 @@ -23,11 +23,12 @@ */ #include "precompiled.hpp" -#include "utilities/globalCounter.hpp" +#include "memory/iterator.hpp" #include "runtime/atomic.hpp" #include "runtime/thread.hpp" #include "runtime/threadSMR.inline.hpp" #include "runtime/vmThread.hpp" +#include "utilities/globalCounter.hpp" #include "utilities/spinYield.hpp" GlobalCounter::PaddedCounter GlobalCounter::_global_counter;