8152916: ostream has unnecessary dependency on GCId
Summary: Removed unneeded #includes and forward class declaration.
Reviewed-by: pliden, rehn, brutisso, mgerdin
--- 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