8153967: Remove top.hpp
authorstefank
Tue, 12 Apr 2016 09:53:43 +0200
changeset 37466 287c4ebd11b0
parent 37462 58bb9394a98b
child 37467 8173cbc15e07
8153967: Remove top.hpp Reviewed-by: coleenp, jwilhelm
hotspot/src/cpu/aarch64/vm/debug_aarch64.cpp
hotspot/src/cpu/aarch64/vm/frame_aarch64.hpp
hotspot/src/cpu/aarch64/vm/nativeInst_aarch64.hpp
hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp
hotspot/src/cpu/ppc/vm/debug_ppc.cpp
hotspot/src/cpu/ppc/vm/frame_ppc.hpp
hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp
hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp
hotspot/src/cpu/sparc/vm/debug_sparc.cpp
hotspot/src/cpu/sparc/vm/frame_sparc.hpp
hotspot/src/cpu/sparc/vm/nativeInst_sparc.hpp
hotspot/src/cpu/sparc/vm/stubGenerator_sparc.cpp
hotspot/src/cpu/x86/vm/debug_x86.cpp
hotspot/src/cpu/x86/vm/frame_x86.hpp
hotspot/src/cpu/x86/vm/nativeInst_x86.hpp
hotspot/src/cpu/x86/vm/stubGenerator_x86_32.cpp
hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp
hotspot/src/cpu/zero/vm/debug_zero.cpp
hotspot/src/cpu/zero/vm/frame_zero.hpp
hotspot/src/cpu/zero/vm/nativeInst_zero.hpp
hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp
hotspot/src/share/vm/asm/assembler.hpp
hotspot/src/share/vm/asm/register.hpp
hotspot/src/share/vm/c1/c1_LIRAssembler.hpp
hotspot/src/share/vm/ci/ciFlags.hpp
hotspot/src/share/vm/classfile/classFileStream.hpp
hotspot/src/share/vm/code/relocInfo.hpp
hotspot/src/share/vm/code/vmreg.hpp
hotspot/src/share/vm/gc/parallel/psAdaptiveSizePolicy.cpp
hotspot/src/share/vm/interpreter/abstractInterpreter.hpp
hotspot/src/share/vm/interpreter/bytecodeTracer.hpp
hotspot/src/share/vm/interpreter/bytecodes.hpp
hotspot/src/share/vm/interpreter/interpreterRuntime.hpp
hotspot/src/share/vm/interpreter/linkResolver.hpp
hotspot/src/share/vm/memory/iterator.hpp
hotspot/src/share/vm/oops/oop.hpp
hotspot/src/share/vm/oops/symbol.hpp
hotspot/src/share/vm/precompiled/precompiled.hpp
hotspot/src/share/vm/prims/jvm.cpp
hotspot/src/share/vm/prims/nativeLookup.hpp
hotspot/src/share/vm/runtime/arguments.hpp
hotspot/src/share/vm/runtime/basicLock.hpp
hotspot/src/share/vm/runtime/frame.hpp
hotspot/src/share/vm/runtime/globals.cpp
hotspot/src/share/vm/runtime/globals_extension.hpp
hotspot/src/share/vm/runtime/init.hpp
hotspot/src/share/vm/runtime/interfaceSupport.hpp
hotspot/src/share/vm/runtime/jniHandles.hpp
hotspot/src/share/vm/runtime/os.hpp
hotspot/src/share/vm/runtime/osThread.hpp
hotspot/src/share/vm/runtime/signature.hpp
hotspot/src/share/vm/runtime/stackValue.hpp
hotspot/src/share/vm/runtime/stubRoutines.hpp
hotspot/src/share/vm/runtime/synchronizer.hpp
hotspot/src/share/vm/runtime/task.hpp
hotspot/src/share/vm/runtime/thread.hpp
hotspot/src/share/vm/runtime/threadLocalStorage.hpp
hotspot/src/share/vm/runtime/vm_operations.hpp
hotspot/src/share/vm/utilities/accessFlags.hpp
hotspot/src/share/vm/utilities/bitMap.hpp
hotspot/src/share/vm/utilities/constantTag.cpp
hotspot/src/share/vm/utilities/constantTag.hpp
hotspot/src/share/vm/utilities/debug.cpp
hotspot/src/share/vm/utilities/events.hpp
hotspot/src/share/vm/utilities/exceptions.hpp
hotspot/src/share/vm/utilities/globalDefinitions.cpp
hotspot/src/share/vm/utilities/growableArray.hpp
hotspot/src/share/vm/utilities/ostream.cpp
hotspot/src/share/vm/utilities/pair.hpp
hotspot/src/share/vm/utilities/resourceHash.hpp
hotspot/src/share/vm/utilities/top.hpp
hotspot/src/share/vm/utilities/utf8.hpp
hotspot/src/share/vm/utilities/vmError.cpp
--- a/hotspot/src/cpu/aarch64/vm/debug_aarch64.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/aarch64/vm/debug_aarch64.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -30,6 +30,5 @@
 #include "runtime/init.hpp"
 #include "runtime/os.hpp"
 #include "utilities/debug.hpp"
-#include "utilities/top.hpp"
 
 void pd_ps(frame f) {}
--- a/hotspot/src/cpu/aarch64/vm/frame_aarch64.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/aarch64/vm/frame_aarch64.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -27,7 +27,6 @@
 #define CPU_AARCH64_VM_FRAME_AARCH64_HPP
 
 #include "runtime/synchronizer.hpp"
-#include "utilities/top.hpp"
 
 // A frame represents a physical stack frame (an activation).  Frames can be
 // C or Java frames, and the Java frames can be interpreted or compiled.
--- a/hotspot/src/cpu/aarch64/vm/nativeInst_aarch64.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/aarch64/vm/nativeInst_aarch64.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -30,7 +30,6 @@
 #include "memory/allocation.hpp"
 #include "runtime/icache.hpp"
 #include "runtime/os.hpp"
-#include "utilities/top.hpp"
 
 // We have interfaces for the following instructions:
 // - NativeInstruction
--- a/hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -39,7 +39,6 @@
 #include "runtime/stubCodeGenerator.hpp"
 #include "runtime/stubRoutines.hpp"
 #include "runtime/thread.inline.hpp"
-#include "utilities/top.hpp"
 #ifdef COMPILER2
 #include "opto/runtime.hpp"
 #endif
--- a/hotspot/src/cpu/ppc/vm/debug_ppc.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/ppc/vm/debug_ppc.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -30,6 +30,5 @@
 #include "runtime/init.hpp"
 #include "runtime/os.hpp"
 #include "utilities/debug.hpp"
-#include "utilities/top.hpp"
 
 void pd_ps(frame f) {}
--- a/hotspot/src/cpu/ppc/vm/frame_ppc.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/ppc/vm/frame_ppc.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -27,7 +27,6 @@
 #define CPU_PPC_VM_FRAME_PPC_HPP
 
 #include "runtime/synchronizer.hpp"
-#include "utilities/top.hpp"
 
   //  C frame layout on PPC-64.
   //
--- a/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -31,7 +31,6 @@
 #include "memory/allocation.hpp"
 #include "runtime/icache.hpp"
 #include "runtime/os.hpp"
-#include "utilities/top.hpp"
 
 // We have interfaces for the following instructions:
 //
--- a/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -37,7 +37,6 @@
 #include "runtime/sharedRuntime.hpp"
 #include "runtime/stubCodeGenerator.hpp"
 #include "runtime/stubRoutines.hpp"
-#include "utilities/top.hpp"
 #include "runtime/thread.inline.hpp"
 
 #define __ _masm->
--- a/hotspot/src/cpu/sparc/vm/debug_sparc.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/sparc/vm/debug_sparc.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -29,7 +29,6 @@
 #include "runtime/init.hpp"
 #include "runtime/os.hpp"
 #include "utilities/debug.hpp"
-#include "utilities/top.hpp"
 
 #ifndef PRODUCT
 
--- a/hotspot/src/cpu/sparc/vm/frame_sparc.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/sparc/vm/frame_sparc.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -26,7 +26,6 @@
 #define CPU_SPARC_VM_FRAME_SPARC_HPP
 
 #include "runtime/synchronizer.hpp"
-#include "utilities/top.hpp"
 
 // A frame represents a physical stack frame (an activation).  Frames can be
 // C or Java frames, and the Java frames can be interpreted or compiled.
--- a/hotspot/src/cpu/sparc/vm/nativeInst_sparc.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/sparc/vm/nativeInst_sparc.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -29,7 +29,6 @@
 #include "memory/allocation.hpp"
 #include "runtime/icache.hpp"
 #include "runtime/os.hpp"
-#include "utilities/top.hpp"
 
 // We have interface for the following instructions:
 // - NativeInstruction
--- a/hotspot/src/cpu/sparc/vm/stubGenerator_sparc.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/sparc/vm/stubGenerator_sparc.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -37,7 +37,6 @@
 #include "runtime/stubCodeGenerator.hpp"
 #include "runtime/stubRoutines.hpp"
 #include "runtime/thread.inline.hpp"
-#include "utilities/top.hpp"
 #ifdef COMPILER2
 #include "opto/runtime.hpp"
 #endif
--- a/hotspot/src/cpu/x86/vm/debug_x86.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/x86/vm/debug_x86.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -29,6 +29,5 @@
 #include "runtime/init.hpp"
 #include "runtime/os.hpp"
 #include "utilities/debug.hpp"
-#include "utilities/top.hpp"
 
 void pd_ps(frame f) {}
--- a/hotspot/src/cpu/x86/vm/frame_x86.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/x86/vm/frame_x86.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -26,7 +26,6 @@
 #define CPU_X86_VM_FRAME_X86_HPP
 
 #include "runtime/synchronizer.hpp"
-#include "utilities/top.hpp"
 
 // A frame represents a physical stack frame (an activation).  Frames can be
 // C or Java frames, and the Java frames can be interpreted or compiled.
--- a/hotspot/src/cpu/x86/vm/nativeInst_x86.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/x86/vm/nativeInst_x86.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -29,7 +29,6 @@
 #include "memory/allocation.hpp"
 #include "runtime/icache.hpp"
 #include "runtime/os.hpp"
-#include "utilities/top.hpp"
 
 // We have interfaces for the following instructions:
 // - NativeInstruction
--- a/hotspot/src/cpu/x86/vm/stubGenerator_x86_32.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/x86/vm/stubGenerator_x86_32.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -38,7 +38,6 @@
 #include "runtime/stubCodeGenerator.hpp"
 #include "runtime/stubRoutines.hpp"
 #include "runtime/thread.inline.hpp"
-#include "utilities/top.hpp"
 #ifdef COMPILER2
 #include "opto/runtime.hpp"
 #endif
--- a/hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -38,7 +38,6 @@
 #include "runtime/stubCodeGenerator.hpp"
 #include "runtime/stubRoutines.hpp"
 #include "runtime/thread.inline.hpp"
-#include "utilities/top.hpp"
 #ifdef COMPILER2
 #include "opto/runtime.hpp"
 #endif
--- a/hotspot/src/cpu/zero/vm/debug_zero.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/zero/vm/debug_zero.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -30,7 +30,6 @@
 #include "runtime/init.hpp"
 #include "runtime/os.hpp"
 #include "utilities/debug.hpp"
-#include "utilities/top.hpp"
 
 void pd_ps(frame f) {
   ShouldNotCallThis();
--- a/hotspot/src/cpu/zero/vm/frame_zero.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/zero/vm/frame_zero.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -27,7 +27,6 @@
 #define CPU_ZERO_VM_FRAME_ZERO_HPP
 
 #include "runtime/synchronizer.hpp"
-#include "utilities/top.hpp"
 
 // A frame represents a physical stack frame on the Zero stack.
 
--- a/hotspot/src/cpu/zero/vm/nativeInst_zero.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/zero/vm/nativeInst_zero.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -30,7 +30,6 @@
 #include "memory/allocation.hpp"
 #include "runtime/icache.hpp"
 #include "runtime/os.hpp"
-#include "utilities/top.hpp"
 
 // We have interfaces for the following instructions:
 // - NativeInstruction
--- a/hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -40,7 +40,6 @@
 #include "runtime/stubRoutines.hpp"
 #include "runtime/thread.inline.hpp"
 #include "stack_zero.inline.hpp"
-#include "utilities/top.hpp"
 #ifdef COMPILER2
 #include "opto/runtime.hpp"
 #endif
--- a/hotspot/src/share/vm/asm/assembler.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/asm/assembler.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -33,7 +33,6 @@
 #include "runtime/vm_version.hpp"
 #include "utilities/debug.hpp"
 #include "utilities/growableArray.hpp"
-#include "utilities/top.hpp"
 
 // This file contains platform-independent assembler declarations.
 
--- a/hotspot/src/share/vm/asm/register.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/asm/register.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -25,7 +25,8 @@
 #ifndef SHARE_VM_ASM_REGISTER_HPP
 #define SHARE_VM_ASM_REGISTER_HPP
 
-#include "utilities/top.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/globalDefinitions.hpp"
 
 // Use AbstractRegister as shortcut
 class AbstractRegisterImpl;
--- a/hotspot/src/share/vm/c1/c1_LIRAssembler.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/c1/c1_LIRAssembler.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -28,7 +28,6 @@
 #include "c1/c1_CodeStubs.hpp"
 #include "ci/ciMethodData.hpp"
 #include "oops/methodData.hpp"
-#include "utilities/top.hpp"
 
 class Compilation;
 class ScopeValue;
--- a/hotspot/src/share/vm/ci/ciFlags.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/ci/ciFlags.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -29,6 +29,7 @@
 #include "memory/allocation.hpp"
 #include "prims/jvm.h"
 #include "utilities/accessFlags.hpp"
+#include "utilities/ostream.hpp"
 
 // ciFlags
 //
--- a/hotspot/src/share/vm/classfile/classFileStream.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/classfile/classFileStream.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -25,8 +25,9 @@
 #ifndef SHARE_VM_CLASSFILE_CLASSFILESTREAM_HPP
 #define SHARE_VM_CLASSFILE_CLASSFILESTREAM_HPP
 
+#include "memory/allocation.hpp"
 #include "utilities/bytes.hpp"
-#include "utilities/top.hpp"
+#include "utilities/exceptions.hpp"
 
 // Input stream for reading .class file
 //
--- a/hotspot/src/share/vm/code/relocInfo.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/code/relocInfo.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -26,8 +26,9 @@
 #define SHARE_VM_CODE_RELOCINFO_HPP
 
 #include "memory/allocation.hpp"
-#include "utilities/top.hpp"
+#include "runtime/os.hpp"
 
+class Metadata;
 class NativeMovConstReg;
 
 // Types in this file:
--- a/hotspot/src/share/vm/code/vmreg.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/code/vmreg.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -28,10 +28,9 @@
 #include "asm/register.hpp"
 #include "memory/allocation.hpp"
 #include "utilities/globalDefinitions.hpp"
-
+#include "utilities/ostream.hpp"
 #ifdef COMPILER2
 #include "opto/adlcVMDeps.hpp"
-#include "utilities/ostream.hpp"
 #endif
 
 //------------------------------VMReg------------------------------------------
--- a/hotspot/src/share/vm/gc/parallel/psAdaptiveSizePolicy.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/gc/parallel/psAdaptiveSizePolicy.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -32,7 +32,6 @@
 #include "gc/shared/gcPolicyCounters.hpp"
 #include "logging/log.hpp"
 #include "runtime/timer.hpp"
-#include "utilities/top.hpp"
 
 #include <math.h>
 
--- a/hotspot/src/share/vm/interpreter/abstractInterpreter.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/interpreter/abstractInterpreter.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -30,7 +30,6 @@
 #include "interpreter/bytecodes.hpp"
 #include "runtime/thread.hpp"
 #include "runtime/vmThread.hpp"
-#include "utilities/top.hpp"
 
 // This file contains the platform-independent parts
 // of the abstract interpreter and the abstract interpreter generator.
--- a/hotspot/src/share/vm/interpreter/bytecodeTracer.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/interpreter/bytecodeTracer.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -26,6 +26,7 @@
 #define SHARE_VM_INTERPRETER_BYTECODETRACER_HPP
 
 #include "memory/allocation.hpp"
+#include "utilities/ostream.hpp"
 
 // The BytecodeTracer is a helper class used by the interpreter for run-time
 // bytecode tracing. If bytecode tracing is turned on, trace() will be called
--- a/hotspot/src/share/vm/interpreter/bytecodes.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/interpreter/bytecodes.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -26,11 +26,12 @@
 #define SHARE_VM_INTERPRETER_BYTECODES_HPP
 
 #include "memory/allocation.hpp"
-#include "utilities/top.hpp"
 
 // Bytecodes specifies all bytecodes used in the VM and
 // provides utility functions to get bytecode attributes.
 
+class Method;
+
 // NOTE: replicated in SA in vm/agent/sun/jvm/hotspot/interpreter/Bytecodes.java
 class Bytecodes: AllStatic {
  public:
--- a/hotspot/src/share/vm/interpreter/interpreterRuntime.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/interpreter/interpreterRuntime.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -32,7 +32,6 @@
 #include "runtime/frame.inline.hpp"
 #include "runtime/signature.hpp"
 #include "runtime/thread.hpp"
-#include "utilities/top.hpp"
 
 // The InterpreterRuntime is called by the interpreter for everything
 // that cannot/should not be dealt with in assembly and needs C support.
--- a/hotspot/src/share/vm/interpreter/linkResolver.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/interpreter/linkResolver.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -26,7 +26,6 @@
 #define SHARE_VM_INTERPRETER_LINKRESOLVER_HPP
 
 #include "oops/method.hpp"
-#include "utilities/top.hpp"
 
 // All the necessary definitions for run-time link resolution.
 
--- a/hotspot/src/share/vm/memory/iterator.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/memory/iterator.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -27,7 +27,7 @@
 
 #include "memory/allocation.hpp"
 #include "memory/memRegion.hpp"
-#include "utilities/top.hpp"
+#include "oops/oopsHierarchy.hpp"
 
 class CodeBlob;
 class nmethod;
@@ -35,6 +35,7 @@
 class DataLayout;
 class KlassClosure;
 class ClassLoaderData;
+class Symbol;
 
 // The following classes are C++ `closures` for iterating over objects, roots and spaces
 
--- a/hotspot/src/share/vm/oops/oop.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/oops/oop.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -30,7 +30,6 @@
 #include "memory/memRegion.hpp"
 #include "oops/metadata.hpp"
 #include "utilities/macros.hpp"
-#include "utilities/top.hpp"
 
 // oopDesc is the top baseclass for objects classes. The {name}Desc classes describe
 // the format of Java objects so the fields can be accessed from C++.
--- a/hotspot/src/share/vm/oops/symbol.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/oops/symbol.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -25,9 +25,10 @@
 #ifndef SHARE_VM_OOPS_SYMBOL_HPP
 #define SHARE_VM_OOPS_SYMBOL_HPP
 
-#include "utilities/utf8.hpp"
 #include "memory/allocation.hpp"
 #include "runtime/atomic.hpp"
+#include "utilities/exceptions.hpp"
+#include "utilities/utf8.hpp"
 
 // A Symbol is a canonicalized string.
 // All Symbols reside in global SymbolTable and are reference counted.
--- a/hotspot/src/share/vm/precompiled/precompiled.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/precompiled/precompiled.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -242,7 +242,6 @@
 # include "utilities/ostream.hpp"
 # include "utilities/preserveException.hpp"
 # include "utilities/sizes.hpp"
-# include "utilities/top.hpp"
 # include "utilities/utf8.hpp"
 #ifdef COMPILER2
 # include "libadt/dict.hpp"
--- a/hotspot/src/share/vm/prims/jvm.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/prims/jvm.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -79,7 +79,6 @@
 #include "utilities/events.hpp"
 #include "utilities/histogram.hpp"
 #include "utilities/macros.hpp"
-#include "utilities/top.hpp"
 #include "utilities/utf8.hpp"
 #if INCLUDE_CDS
 #include "classfile/sharedClassUtil.hpp"
--- a/hotspot/src/share/vm/prims/nativeLookup.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/prims/nativeLookup.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -25,8 +25,8 @@
 #ifndef SHARE_VM_PRIMS_NATIVELOOKUP_HPP
 #define SHARE_VM_PRIMS_NATIVELOOKUP_HPP
 
+#include "memory/allocation.hpp"
 #include "runtime/handles.hpp"
-#include "utilities/top.hpp"
 
 // NativeLookup provides an interface for finding DLL entry points for
 // Java native functions.
--- a/hotspot/src/share/vm/runtime/arguments.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/arguments.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -31,7 +31,6 @@
 #include "runtime/os.hpp"
 #include "runtime/perfData.hpp"
 #include "utilities/debug.hpp"
-#include "utilities/top.hpp"
 
 // Arguments parses the command line and recognizes options
 
--- a/hotspot/src/share/vm/runtime/basicLock.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/basicLock.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -27,7 +27,6 @@
 
 #include "oops/markOop.hpp"
 #include "runtime/handles.hpp"
-#include "utilities/top.hpp"
 
 class BasicLock VALUE_OBJ_CLASS_SPEC {
   friend class VMStructs;
--- a/hotspot/src/share/vm/runtime/frame.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/frame.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -29,7 +29,6 @@
 #include "runtime/basicLock.hpp"
 #include "runtime/monitorChunk.hpp"
 #include "runtime/registerMap.hpp"
-#include "utilities/top.hpp"
 #ifdef TARGET_ARCH_zero
 # include "stack_zero.hpp"
 #endif
--- a/hotspot/src/share/vm/runtime/globals.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/globals.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -35,7 +35,6 @@
 #include "trace/tracing.hpp"
 #include "utilities/macros.hpp"
 #include "utilities/ostream.hpp"
-#include "utilities/top.hpp"
 #if INCLUDE_ALL_GCS
 #include "gc/g1/g1_globals.hpp"
 #endif // INCLUDE_ALL_GCS
--- a/hotspot/src/share/vm/runtime/globals_extension.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/globals_extension.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -27,7 +27,19 @@
 
 #include "runtime/globals.hpp"
 #include "utilities/macros.hpp"
-#include "utilities/top.hpp"
+#include "utilities/macros.hpp"
+#if INCLUDE_ALL_GCS
+#include "gc/g1/g1_globals.hpp"
+#endif
+#if INCLUDE_JVMCI
+#include "jvmci/jvmci_globals.hpp"
+#endif
+#ifdef COMPILER1
+#include "c1/c1_globals.hpp"
+#endif
+#ifdef COMPILER2
+#include "opto/c2_globals.hpp"
+#endif
 
 // Construct enum of Flag_<cmdline-arg> constants.
 
--- a/hotspot/src/share/vm/runtime/init.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/init.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -25,7 +25,7 @@
 #ifndef SHARE_VM_RUNTIME_INIT_HPP
 #define SHARE_VM_RUNTIME_INIT_HPP
 
-#include "utilities/top.hpp"
+#include "utilities/globalDefinitions.hpp"
 
 // init_globals replaces C++ global objects so we can use the standard linker
 // to link Delta (which is at least twice as fast as using the GNU C++ linker).
--- a/hotspot/src/share/vm/runtime/interfaceSupport.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/interfaceSupport.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -35,7 +35,6 @@
 #include "runtime/vmThread.hpp"
 #include "utilities/globalDefinitions.hpp"
 #include "utilities/preserveException.hpp"
-#include "utilities/top.hpp"
 
 // Wrapper for all entry points to the virtual machine.
 // The HandleMarkCleaner is a faster version of HandleMark.
--- a/hotspot/src/share/vm/runtime/jniHandles.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/jniHandles.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -25,8 +25,8 @@
 #ifndef SHARE_VM_RUNTIME_JNIHANDLES_HPP
 #define SHARE_VM_RUNTIME_JNIHANDLES_HPP
 
+#include "memory/allocation.hpp"
 #include "runtime/handles.hpp"
-#include "utilities/top.hpp"
 
 class JNIHandleBlock;
 
--- a/hotspot/src/share/vm/runtime/os.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/os.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -28,7 +28,6 @@
 #include "jvmtifiles/jvmti.h"
 #include "runtime/extendedPC.hpp"
 #include "runtime/handles.hpp"
-#include "utilities/top.hpp"
 #ifdef TARGET_OS_FAMILY_linux
 # include "jvm_linux.h"
 # include <setjmp.h>
--- a/hotspot/src/share/vm/runtime/osThread.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/osThread.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -29,7 +29,6 @@
 #include "runtime/handles.hpp"
 #include "runtime/javaFrameAnchor.hpp"
 #include "runtime/objectMonitor.hpp"
-#include "utilities/top.hpp"
 
 // The OSThread class holds OS-specific thread information.  It is equivalent
 // to the sys_thread_t structure of the classic JVM implementation.
--- a/hotspot/src/share/vm/runtime/signature.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/signature.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -27,7 +27,6 @@
 
 #include "memory/allocation.hpp"
 #include "oops/method.hpp"
-#include "utilities/top.hpp"
 
 // SignatureIterators iterate over a Java signature (or parts of it).
 // (Syntax according to: "The Java Virtual Machine Specification" by
--- a/hotspot/src/share/vm/runtime/stackValue.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/stackValue.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -27,7 +27,6 @@
 
 #include "code/location.hpp"
 #include "runtime/handles.hpp"
-#include "utilities/top.hpp"
 
 class StackValue : public ResourceObj {
  private:
--- a/hotspot/src/share/vm/runtime/stubRoutines.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/stubRoutines.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -30,7 +30,6 @@
 #include "runtime/frame.hpp"
 #include "runtime/mutexLocker.hpp"
 #include "runtime/stubCodeGenerator.hpp"
-#include "utilities/top.hpp"
 
 // StubRoutines provides entry points to assembly routines used by
 // compiled code and the run-time system. Platform-specific entry
--- a/hotspot/src/share/vm/runtime/synchronizer.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/synchronizer.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -29,8 +29,6 @@
 #include "runtime/basicLock.hpp"
 #include "runtime/handles.hpp"
 #include "runtime/perfData.hpp"
-#include "utilities/top.hpp"
-
 
 class ObjectMonitor;
 
--- a/hotspot/src/share/vm/runtime/task.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/task.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -25,7 +25,8 @@
 #ifndef SHARE_VM_RUNTIME_TASK_HPP
 #define SHARE_VM_RUNTIME_TASK_HPP
 
-#include "utilities/top.hpp"
+#include "memory/allocation.hpp"
+#include "runtime/timer.hpp"
 
 // A PeriodicTask has the sole purpose of executing its task
 // function with regular intervals.
--- a/hotspot/src/share/vm/runtime/thread.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/thread.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -46,7 +46,6 @@
 #include "trace/traceMacros.hpp"
 #include "utilities/exceptions.hpp"
 #include "utilities/macros.hpp"
-#include "utilities/top.hpp"
 #if INCLUDE_ALL_GCS
 #include "gc/g1/dirtyCardQueue.hpp"
 #include "gc/g1/satbMarkQueue.hpp"
--- a/hotspot/src/share/vm/runtime/threadLocalStorage.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/threadLocalStorage.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -25,7 +25,7 @@
 #ifndef SHARE_VM_RUNTIME_THREADLOCALSTORAGE_HPP
 #define SHARE_VM_RUNTIME_THREADLOCALSTORAGE_HPP
 
-#include "utilities/top.hpp"
+#include "memory/allocation.hpp"
 
 // forward-decl as we can't have an include cycle
 class Thread;
--- a/hotspot/src/share/vm/runtime/vm_operations.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/runtime/vm_operations.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -29,7 +29,6 @@
 #include "memory/allocation.hpp"
 #include "oops/oop.hpp"
 #include "runtime/thread.hpp"
-#include "utilities/top.hpp"
 #include "code/codeCache.hpp"
 
 // The following classes are used for operations
--- a/hotspot/src/share/vm/utilities/accessFlags.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/accessFlags.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -25,8 +25,9 @@
 #ifndef SHARE_VM_UTILITIES_ACCESSFLAGS_HPP
 #define SHARE_VM_UTILITIES_ACCESSFLAGS_HPP
 
+#include "memory/allocation.hpp"
 #include "prims/jvm.h"
-#include "utilities/top.hpp"
+#include "utilities/macros.hpp"
 
 // AccessFlags is an abstraction over Java access flags.
 
--- a/hotspot/src/share/vm/utilities/bitMap.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/bitMap.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -26,7 +26,6 @@
 #define SHARE_VM_UTILITIES_BITMAP_HPP
 
 #include "memory/allocation.hpp"
-#include "utilities/top.hpp"
 
 // Forward decl;
 class BitMapClosure;
--- a/hotspot/src/share/vm/utilities/constantTag.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/constantTag.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -24,6 +24,7 @@
 
 #include "precompiled.hpp"
 #include "utilities/constantTag.hpp"
+#include "utilities/ostream.hpp"
 
 #ifndef PRODUCT
 
--- a/hotspot/src/share/vm/utilities/constantTag.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/constantTag.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -25,8 +25,8 @@
 #ifndef SHARE_VM_UTILITIES_CONSTANTTAG_HPP
 #define SHARE_VM_UTILITIES_CONSTANTTAG_HPP
 
+#include "memory/allocation.hpp"
 #include "prims/jvm.h"
-#include "utilities/top.hpp"
 
 // constant tags in Java .class files
 
--- a/hotspot/src/share/vm/utilities/debug.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/debug.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -52,7 +52,6 @@
 #include "utilities/defaultStream.hpp"
 #include "utilities/events.hpp"
 #include "utilities/macros.hpp"
-#include "utilities/top.hpp"
 #include "utilities/vmError.hpp"
 
 #if INCLUDE_TRACE
--- a/hotspot/src/share/vm/utilities/events.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/events.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -28,7 +28,6 @@
 #include "memory/allocation.hpp"
 #include "runtime/mutexLocker.hpp"
 #include "runtime/thread.hpp"
-#include "utilities/top.hpp"
 #include "utilities/vmError.hpp"
 
 // Events and EventMark provide interfaces to log events taking place in the vm.
--- a/hotspot/src/share/vm/utilities/exceptions.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/exceptions.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -47,7 +47,6 @@
 
 
 // Forward declarations to be independent of the include structure.
-// This allows us to have exceptions.hpp included in top.hpp.
 
 class Thread;
 class Handle;
--- a/hotspot/src/share/vm/utilities/globalDefinitions.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/globalDefinitions.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -25,7 +25,6 @@
 #include "precompiled.hpp"
 #include "runtime/os.hpp"
 #include "utilities/globalDefinitions.hpp"
-#include "utilities/top.hpp"
 
 // Basic error support
 
--- a/hotspot/src/share/vm/utilities/growableArray.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/growableArray.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -29,7 +29,6 @@
 #include "memory/allocation.inline.hpp"
 #include "utilities/debug.hpp"
 #include "utilities/globalDefinitions.hpp"
-#include "utilities/top.hpp"
 
 // A growable array.
 
--- a/hotspot/src/share/vm/utilities/ostream.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/ostream.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -31,7 +31,6 @@
 #include "utilities/defaultStream.hpp"
 #include "utilities/macros.hpp"
 #include "utilities/ostream.hpp"
-#include "utilities/top.hpp"
 #include "utilities/xmlstream.hpp"
 
 extern "C" void jio_print(const char* s); // Declarationtion of jvm method
--- a/hotspot/src/share/vm/utilities/pair.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/pair.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -26,7 +26,6 @@
 #define SHARE_VM_UTILITIES_PAIR_HPP
 
 #include "memory/allocation.hpp"
-#include "utilities/top.hpp"
 
 template<typename T, typename V,  typename ALLOC_BASE = ResourceObj>
 class Pair : public ALLOC_BASE {
--- a/hotspot/src/share/vm/utilities/resourceHash.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/resourceHash.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -26,7 +26,6 @@
 #define SHARE_VM_UTILITIES_RESOURCEHASH_HPP
 
 #include "memory/allocation.hpp"
-#include "utilities/top.hpp"
 
 template<typename K> struct ResourceHashtableFns {
     typedef unsigned (*hash_fn)(K const&);
--- a/hotspot/src/share/vm/utilities/top.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 1997, 2015, 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-#ifndef SHARE_VM_UTILITIES_TOP_HPP
-#define SHARE_VM_UTILITIES_TOP_HPP
-
-#include "oops/oopsHierarchy.hpp"
-#include "runtime/globals.hpp"
-#include "utilities/debug.hpp"
-#include "utilities/exceptions.hpp"
-#include "utilities/globalDefinitions.hpp"
-#include "utilities/macros.hpp"
-#include "utilities/ostream.hpp"
-#include "utilities/sizes.hpp"
-#if INCLUDE_ALL_GCS
-#include "gc/g1/g1_globals.hpp"
-#endif // INCLUDE_ALL_GCS
-#ifdef COMPILER1
-#include "c1/c1_globals.hpp"
-#endif
-#ifdef COMPILER2
-#include "opto/c2_globals.hpp"
-#endif
-#if INCLUDE_JVMCI
-#include "jvmci/jvmci_globals.hpp"
-#endif
-
-// THIS FILE IS INTESIONALLY LEFT EMPTY
-// IT IS USED TO MINIMIZE THE NUMBER OF DEPENDENCIES IN includeDB
-
-#endif // SHARE_VM_UTILITIES_TOP_HPP
--- a/hotspot/src/share/vm/utilities/utf8.hpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/utf8.hpp	Tue Apr 12 09:53:43 2016 +0200
@@ -26,7 +26,6 @@
 #define SHARE_VM_UTILITIES_UTF8_HPP
 
 #include "memory/allocation.hpp"
-#include "utilities/top.hpp"
 
 // Low-level interface for UTF8 strings
 
--- a/hotspot/src/share/vm/utilities/vmError.cpp	Tue Apr 12 07:17:44 2016 +0200
+++ b/hotspot/src/share/vm/utilities/vmError.cpp	Tue Apr 12 09:53:43 2016 +0200
@@ -43,7 +43,6 @@
 #include "utilities/defaultStream.hpp"
 #include "utilities/errorReporter.hpp"
 #include "utilities/events.hpp"
-#include "utilities/top.hpp"
 #include "utilities/vmError.hpp"
 
 // List of environment variables that should be reported in error log file.