changeset 60248:9e5fef955b76

8249760: Unnecessary #include oopStorageSet Reviewed-by: hseigel
author coleenp
date Mon, 20 Jul 2020 10:53:29 -0400
parents ce8fb40c9174
children 4d36e29a5410
files src/hotspot/share/classfile/classLoaderData.cpp src/hotspot/share/classfile/dictionary.cpp src/hotspot/share/classfile/protectionDomainCache.cpp src/hotspot/share/classfile/systemDictionary.cpp src/hotspot/share/classfile/systemDictionaryShared.cpp src/hotspot/share/gc/shared/weakProcessor.inline.hpp src/hotspot/share/gc/shared/weakProcessorPhaseTimes.hpp src/hotspot/share/gc/shared/weakProcessorPhases.cpp src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp src/hotspot/share/oops/weakHandle.cpp src/hotspot/share/prims/jvmtiExport.cpp src/hotspot/share/prims/jvmtiImpl.cpp src/hotspot/share/services/memoryPool.cpp
diffstat 14 files changed, 8 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/classfile/classLoaderData.cpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/classfile/classLoaderData.cpp	Mon Jul 20 10:53:29 2020 -0400
@@ -55,12 +55,12 @@
 #include "classfile/packageEntry.hpp"
 #include "classfile/symbolTable.hpp"
 #include "classfile/systemDictionary.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "logging/log.hpp"
 #include "logging/logStream.hpp"
 #include "memory/allocation.inline.hpp"
 #include "memory/metadataFactory.hpp"
 #include "memory/resourceArea.hpp"
+#include "memory/universe.hpp"
 #include "oops/access.inline.hpp"
 #include "oops/oop.inline.hpp"
 #include "oops/oopHandle.inline.hpp"
--- a/src/hotspot/share/classfile/dictionary.cpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/classfile/dictionary.cpp	Mon Jul 20 10:53:29 2020 -0400
@@ -27,12 +27,12 @@
 #include "classfile/dictionary.hpp"
 #include "classfile/protectionDomainCache.hpp"
 #include "classfile/systemDictionary.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "logging/log.hpp"
 #include "logging/logStream.hpp"
 #include "memory/iterator.hpp"
 #include "memory/metaspaceClosure.hpp"
 #include "memory/resourceArea.hpp"
+#include "memory/universe.hpp"
 #include "oops/oop.inline.hpp"
 #include "oops/oopHandle.inline.hpp"
 #include "runtime/mutexLocker.hpp"
--- a/src/hotspot/share/classfile/protectionDomainCache.cpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/classfile/protectionDomainCache.cpp	Mon Jul 20 10:53:29 2020 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2020, 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,11 +27,11 @@
 #include "classfile/dictionary.hpp"
 #include "classfile/protectionDomainCache.hpp"
 #include "classfile/systemDictionary.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "logging/log.hpp"
 #include "logging/logStream.hpp"
 #include "memory/iterator.hpp"
 #include "memory/resourceArea.hpp"
+#include "memory/universe.hpp"
 #include "oops/oop.inline.hpp"
 #include "oops/weakHandle.inline.hpp"
 #include "utilities/hashtable.inline.hpp"
--- a/src/hotspot/share/classfile/systemDictionary.cpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/classfile/systemDictionary.cpp	Mon Jul 20 10:53:29 2020 -0400
@@ -46,7 +46,6 @@
 #include "code/codeCache.hpp"
 #include "compiler/compileBroker.hpp"
 #include "gc/shared/gcTraceTime.inline.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "interpreter/bytecodeStream.hpp"
 #include "interpreter/interpreter.hpp"
 #include "jfr/jfrEvents.hpp"
--- a/src/hotspot/share/classfile/systemDictionaryShared.cpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/classfile/systemDictionaryShared.cpp	Mon Jul 20 10:53:29 2020 -0400
@@ -36,7 +36,6 @@
 #include "classfile/systemDictionaryShared.hpp"
 #include "classfile/verificationType.hpp"
 #include "classfile/vmSymbols.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "jfr/jfrEvents.hpp"
 #include "logging/log.hpp"
 #include "memory/allocation.hpp"
--- a/src/hotspot/share/gc/shared/weakProcessor.inline.hpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/gc/shared/weakProcessor.inline.hpp	Mon Jul 20 10:53:29 2020 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2020, 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
@@ -28,7 +28,6 @@
 #include "classfile/stringTable.hpp"
 #include "gc/shared/oopStorage.inline.hpp"
 #include "gc/shared/oopStorageParState.inline.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "gc/shared/weakProcessor.hpp"
 #include "gc/shared/weakProcessorPhases.hpp"
 #include "gc/shared/weakProcessorPhaseTimes.hpp"
--- a/src/hotspot/share/gc/shared/weakProcessorPhaseTimes.hpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/gc/shared/weakProcessorPhaseTimes.hpp	Mon Jul 20 10:53:29 2020 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2020, 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
@@ -25,7 +25,6 @@
 #ifndef SHARE_GC_SHARED_WEAKPROCESSORPHASETIMES_HPP
 #define SHARE_GC_SHARED_WEAKPROCESSORPHASETIMES_HPP
 
-#include "gc/shared/oopStorageSet.hpp"
 #include "gc/shared/weakProcessorPhases.hpp"
 #include "memory/allocation.hpp"
 #include "utilities/globalDefinitions.hpp"
--- a/src/hotspot/share/gc/shared/weakProcessorPhases.cpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/gc/shared/weakProcessorPhases.cpp	Mon Jul 20 10:53:29 2020 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2020, 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,7 +23,6 @@
  */
 
 #include "precompiled.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "gc/shared/weakProcessorPhases.hpp"
 #include "utilities/debug.hpp"
 #include "utilities/macros.hpp"
--- a/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp	Mon Jul 20 10:53:29 2020 -0400
@@ -31,7 +31,6 @@
 #include "gc/shared/gcTraceTime.inline.hpp"
 #include "gc/shared/locationPrinter.inline.hpp"
 #include "gc/shared/memAllocator.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "gc/shared/plab.hpp"
 
 #include "gc/shenandoah/shenandoahBarrierSet.hpp"
--- a/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp	Mon Jul 20 10:53:29 2020 -0400
@@ -29,7 +29,6 @@
 #include "classfile/stringTable.hpp"
 #include "classfile/systemDictionary.hpp"
 #include "gc/shared/oopStorageSetParState.inline.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "gc/shenandoah/shenandoahClosures.inline.hpp"
 #include "gc/shenandoah/shenandoahConcurrentRoots.hpp"
 #include "gc/shenandoah/shenandoahHeap.inline.hpp"
--- a/src/hotspot/share/oops/weakHandle.cpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/oops/weakHandle.cpp	Mon Jul 20 10:53:29 2020 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2020, 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
@@ -24,7 +24,6 @@
 
 #include "precompiled.hpp"
 #include "gc/shared/oopStorage.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "oops/access.inline.hpp"
 #include "oops/oop.hpp"
 #include "oops/weakHandle.inline.hpp"
--- a/src/hotspot/share/prims/jvmtiExport.cpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/prims/jvmtiExport.cpp	Mon Jul 20 10:53:29 2020 -0400
@@ -29,7 +29,6 @@
 #include "code/nmethod.hpp"
 #include "code/pcDesc.hpp"
 #include "code/scopeDesc.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "interpreter/interpreter.hpp"
 #include "jvmtifiles/jvmtiEnv.hpp"
 #include "logging/log.hpp"
--- a/src/hotspot/share/prims/jvmtiImpl.cpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/prims/jvmtiImpl.cpp	Mon Jul 20 10:53:29 2020 -0400
@@ -26,8 +26,6 @@
 #include "classfile/symbolTable.hpp"
 #include "classfile/systemDictionary.hpp"
 #include "code/nmethod.hpp"
-#include "gc/shared/oopStorage.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "interpreter/interpreter.hpp"
 #include "interpreter/oopMapCache.hpp"
 #include "jvmtifiles/jvmtiEnv.hpp"
--- a/src/hotspot/share/services/memoryPool.cpp	Mon Jul 06 21:29:51 2020 +0200
+++ b/src/hotspot/share/services/memoryPool.cpp	Mon Jul 20 10:53:29 2020 -0400
@@ -25,7 +25,6 @@
 #include "precompiled.hpp"
 #include "classfile/systemDictionary.hpp"
 #include "classfile/vmSymbols.hpp"
-#include "gc/shared/oopStorageSet.hpp"
 #include "memory/metaspace.hpp"
 #include "memory/universe.hpp"
 #include "oops/oop.inline.hpp"