8152916: ostream has unnecessary dependency on GCId
authorkbarrett
Tue, 29 Mar 2016 16:21:16 -0400
changeset 37206 639ad21e6fad
parent 37205 dd547442bfea
child 37207 7afe535e1cbf
child 37212 eee5234b860e
8152916: ostream has unnecessary dependency on GCId Summary: Removed unneeded #includes and forward class declaration. Reviewed-by: pliden, rehn, brutisso, mgerdin
hotspot/src/share/vm/utilities/ostream.cpp
hotspot/src/share/vm/utilities/ostream.hpp
--- a/hotspot/src/share/vm/utilities/ostream.cpp	Tue Mar 29 21:44:06 2016 +0200
+++ b/hotspot/src/share/vm/utilities/ostream.cpp	Tue Mar 29 16:21:16 2016 -0400
@@ -24,8 +24,6 @@
 
 #include "precompiled.hpp"
 #include "compiler/compileLog.hpp"
-#include "gc/shared/gcId.hpp"
-#include "gc/shared/gcId.hpp"
 #include "oops/oop.inline.hpp"
 #include "runtime/arguments.hpp"
 #include "runtime/os.hpp"
--- a/hotspot/src/share/vm/utilities/ostream.hpp	Tue Mar 29 21:44:06 2016 +0200
+++ b/hotspot/src/share/vm/utilities/ostream.hpp	Tue Mar 29 16:21:16 2016 -0400
@@ -29,7 +29,6 @@
 #include "runtime/timer.hpp"
 #include "utilities/globalDefinitions.hpp"
 
-class GCId;
 DEBUG_ONLY(class ResourceMark;)
 
 // Output streams for printing