8153967: Remove top.hpp

Reviewed-by: coleenp, jwilhelm
This commit is contained in:
Stefan Karlsson 2016-04-12 09:53:43 +02:00
parent cf254af2fb
commit f78228b2ee
73 changed files with 38 additions and 123 deletions

View file

@ -30,6 +30,5 @@
#include "runtime/init.hpp" #include "runtime/init.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/top.hpp"
void pd_ps(frame f) {} void pd_ps(frame f) {}

View file

@ -27,7 +27,6 @@
#define CPU_AARCH64_VM_FRAME_AARCH64_HPP #define CPU_AARCH64_VM_FRAME_AARCH64_HPP
#include "runtime/synchronizer.hpp" #include "runtime/synchronizer.hpp"
#include "utilities/top.hpp"
// A frame represents a physical stack frame (an activation). Frames can be // 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. // C or Java frames, and the Java frames can be interpreted or compiled.

View file

@ -30,7 +30,6 @@
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "runtime/icache.hpp" #include "runtime/icache.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/top.hpp"
// We have interfaces for the following instructions: // We have interfaces for the following instructions:
// - NativeInstruction // - NativeInstruction

View file

@ -39,7 +39,6 @@
#include "runtime/stubCodeGenerator.hpp" #include "runtime/stubCodeGenerator.hpp"
#include "runtime/stubRoutines.hpp" #include "runtime/stubRoutines.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"
#include "utilities/top.hpp"
#ifdef COMPILER2 #ifdef COMPILER2
#include "opto/runtime.hpp" #include "opto/runtime.hpp"
#endif #endif

View file

@ -30,6 +30,5 @@
#include "runtime/init.hpp" #include "runtime/init.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/top.hpp"
void pd_ps(frame f) {} void pd_ps(frame f) {}

View file

@ -27,7 +27,6 @@
#define CPU_PPC_VM_FRAME_PPC_HPP #define CPU_PPC_VM_FRAME_PPC_HPP
#include "runtime/synchronizer.hpp" #include "runtime/synchronizer.hpp"
#include "utilities/top.hpp"
// C frame layout on PPC-64. // C frame layout on PPC-64.
// //

View file

@ -31,7 +31,6 @@
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "runtime/icache.hpp" #include "runtime/icache.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/top.hpp"
// We have interfaces for the following instructions: // We have interfaces for the following instructions:
// //

View file

@ -37,7 +37,6 @@
#include "runtime/sharedRuntime.hpp" #include "runtime/sharedRuntime.hpp"
#include "runtime/stubCodeGenerator.hpp" #include "runtime/stubCodeGenerator.hpp"
#include "runtime/stubRoutines.hpp" #include "runtime/stubRoutines.hpp"
#include "utilities/top.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"
#define __ _masm-> #define __ _masm->

View file

@ -29,7 +29,6 @@
#include "runtime/init.hpp" #include "runtime/init.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/top.hpp"
#ifndef PRODUCT #ifndef PRODUCT

View file

@ -26,7 +26,6 @@
#define CPU_SPARC_VM_FRAME_SPARC_HPP #define CPU_SPARC_VM_FRAME_SPARC_HPP
#include "runtime/synchronizer.hpp" #include "runtime/synchronizer.hpp"
#include "utilities/top.hpp"
// A frame represents a physical stack frame (an activation). Frames can be // 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. // C or Java frames, and the Java frames can be interpreted or compiled.

View file

@ -29,7 +29,6 @@
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "runtime/icache.hpp" #include "runtime/icache.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/top.hpp"
// We have interface for the following instructions: // We have interface for the following instructions:
// - NativeInstruction // - NativeInstruction

View file

@ -37,7 +37,6 @@
#include "runtime/stubCodeGenerator.hpp" #include "runtime/stubCodeGenerator.hpp"
#include "runtime/stubRoutines.hpp" #include "runtime/stubRoutines.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"
#include "utilities/top.hpp"
#ifdef COMPILER2 #ifdef COMPILER2
#include "opto/runtime.hpp" #include "opto/runtime.hpp"
#endif #endif

View file

@ -29,6 +29,5 @@
#include "runtime/init.hpp" #include "runtime/init.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/top.hpp"
void pd_ps(frame f) {} void pd_ps(frame f) {}

View file

@ -26,7 +26,6 @@
#define CPU_X86_VM_FRAME_X86_HPP #define CPU_X86_VM_FRAME_X86_HPP
#include "runtime/synchronizer.hpp" #include "runtime/synchronizer.hpp"
#include "utilities/top.hpp"
// A frame represents a physical stack frame (an activation). Frames can be // 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. // C or Java frames, and the Java frames can be interpreted or compiled.

View file

@ -29,7 +29,6 @@
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "runtime/icache.hpp" #include "runtime/icache.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/top.hpp"
// We have interfaces for the following instructions: // We have interfaces for the following instructions:
// - NativeInstruction // - NativeInstruction

View file

@ -38,7 +38,6 @@
#include "runtime/stubCodeGenerator.hpp" #include "runtime/stubCodeGenerator.hpp"
#include "runtime/stubRoutines.hpp" #include "runtime/stubRoutines.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"
#include "utilities/top.hpp"
#ifdef COMPILER2 #ifdef COMPILER2
#include "opto/runtime.hpp" #include "opto/runtime.hpp"
#endif #endif

View file

@ -38,7 +38,6 @@
#include "runtime/stubCodeGenerator.hpp" #include "runtime/stubCodeGenerator.hpp"
#include "runtime/stubRoutines.hpp" #include "runtime/stubRoutines.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"
#include "utilities/top.hpp"
#ifdef COMPILER2 #ifdef COMPILER2
#include "opto/runtime.hpp" #include "opto/runtime.hpp"
#endif #endif

View file

@ -30,7 +30,6 @@
#include "runtime/init.hpp" #include "runtime/init.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/top.hpp"
void pd_ps(frame f) { void pd_ps(frame f) {
ShouldNotCallThis(); ShouldNotCallThis();

View file

@ -27,7 +27,6 @@
#define CPU_ZERO_VM_FRAME_ZERO_HPP #define CPU_ZERO_VM_FRAME_ZERO_HPP
#include "runtime/synchronizer.hpp" #include "runtime/synchronizer.hpp"
#include "utilities/top.hpp"
// A frame represents a physical stack frame on the Zero stack. // A frame represents a physical stack frame on the Zero stack.

View file

@ -30,7 +30,6 @@
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "runtime/icache.hpp" #include "runtime/icache.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/top.hpp"
// We have interfaces for the following instructions: // We have interfaces for the following instructions:
// - NativeInstruction // - NativeInstruction

View file

@ -40,7 +40,6 @@
#include "runtime/stubRoutines.hpp" #include "runtime/stubRoutines.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"
#include "stack_zero.inline.hpp" #include "stack_zero.inline.hpp"
#include "utilities/top.hpp"
#ifdef COMPILER2 #ifdef COMPILER2
#include "opto/runtime.hpp" #include "opto/runtime.hpp"
#endif #endif

View file

@ -33,7 +33,6 @@
#include "runtime/vm_version.hpp" #include "runtime/vm_version.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/growableArray.hpp" #include "utilities/growableArray.hpp"
#include "utilities/top.hpp"
// This file contains platform-independent assembler declarations. // This file contains platform-independent assembler declarations.

View file

@ -25,7 +25,8 @@
#ifndef SHARE_VM_ASM_REGISTER_HPP #ifndef SHARE_VM_ASM_REGISTER_HPP
#define 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 // Use AbstractRegister as shortcut
class AbstractRegisterImpl; class AbstractRegisterImpl;

View file

@ -28,7 +28,6 @@
#include "c1/c1_CodeStubs.hpp" #include "c1/c1_CodeStubs.hpp"
#include "ci/ciMethodData.hpp" #include "ci/ciMethodData.hpp"
#include "oops/methodData.hpp" #include "oops/methodData.hpp"
#include "utilities/top.hpp"
class Compilation; class Compilation;
class ScopeValue; class ScopeValue;

View file

@ -29,6 +29,7 @@
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "prims/jvm.h" #include "prims/jvm.h"
#include "utilities/accessFlags.hpp" #include "utilities/accessFlags.hpp"
#include "utilities/ostream.hpp"
// ciFlags // ciFlags
// //

View file

@ -25,8 +25,9 @@
#ifndef SHARE_VM_CLASSFILE_CLASSFILESTREAM_HPP #ifndef SHARE_VM_CLASSFILE_CLASSFILESTREAM_HPP
#define SHARE_VM_CLASSFILE_CLASSFILESTREAM_HPP #define SHARE_VM_CLASSFILE_CLASSFILESTREAM_HPP
#include "memory/allocation.hpp"
#include "utilities/bytes.hpp" #include "utilities/bytes.hpp"
#include "utilities/top.hpp" #include "utilities/exceptions.hpp"
// Input stream for reading .class file // Input stream for reading .class file
// //

View file

@ -26,8 +26,9 @@
#define SHARE_VM_CODE_RELOCINFO_HPP #define SHARE_VM_CODE_RELOCINFO_HPP
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "utilities/top.hpp" #include "runtime/os.hpp"
class Metadata;
class NativeMovConstReg; class NativeMovConstReg;
// Types in this file: // Types in this file:

View file

@ -28,10 +28,9 @@
#include "asm/register.hpp" #include "asm/register.hpp"
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "utilities/globalDefinitions.hpp" #include "utilities/globalDefinitions.hpp"
#include "utilities/ostream.hpp"
#ifdef COMPILER2 #ifdef COMPILER2
#include "opto/adlcVMDeps.hpp" #include "opto/adlcVMDeps.hpp"
#include "utilities/ostream.hpp"
#endif #endif
//------------------------------VMReg------------------------------------------ //------------------------------VMReg------------------------------------------

View file

@ -32,7 +32,6 @@
#include "gc/shared/gcPolicyCounters.hpp" #include "gc/shared/gcPolicyCounters.hpp"
#include "logging/log.hpp" #include "logging/log.hpp"
#include "runtime/timer.hpp" #include "runtime/timer.hpp"
#include "utilities/top.hpp"
#include <math.h> #include <math.h>

View file

@ -30,7 +30,6 @@
#include "interpreter/bytecodes.hpp" #include "interpreter/bytecodes.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"
#include "runtime/vmThread.hpp" #include "runtime/vmThread.hpp"
#include "utilities/top.hpp"
// This file contains the platform-independent parts // This file contains the platform-independent parts
// of the abstract interpreter and the abstract interpreter generator. // of the abstract interpreter and the abstract interpreter generator.

View file

@ -26,6 +26,7 @@
#define SHARE_VM_INTERPRETER_BYTECODETRACER_HPP #define SHARE_VM_INTERPRETER_BYTECODETRACER_HPP
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "utilities/ostream.hpp"
// The BytecodeTracer is a helper class used by the interpreter for run-time // 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 // bytecode tracing. If bytecode tracing is turned on, trace() will be called

View file

@ -26,11 +26,12 @@
#define SHARE_VM_INTERPRETER_BYTECODES_HPP #define SHARE_VM_INTERPRETER_BYTECODES_HPP
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "utilities/top.hpp"
// Bytecodes specifies all bytecodes used in the VM and // Bytecodes specifies all bytecodes used in the VM and
// provides utility functions to get bytecode attributes. // provides utility functions to get bytecode attributes.
class Method;
// NOTE: replicated in SA in vm/agent/sun/jvm/hotspot/interpreter/Bytecodes.java // NOTE: replicated in SA in vm/agent/sun/jvm/hotspot/interpreter/Bytecodes.java
class Bytecodes: AllStatic { class Bytecodes: AllStatic {
public: public:

View file

@ -32,7 +32,6 @@
#include "runtime/frame.inline.hpp" #include "runtime/frame.inline.hpp"
#include "runtime/signature.hpp" #include "runtime/signature.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"
#include "utilities/top.hpp"
// The InterpreterRuntime is called by the interpreter for everything // The InterpreterRuntime is called by the interpreter for everything
// that cannot/should not be dealt with in assembly and needs C support. // that cannot/should not be dealt with in assembly and needs C support.

View file

@ -26,7 +26,6 @@
#define SHARE_VM_INTERPRETER_LINKRESOLVER_HPP #define SHARE_VM_INTERPRETER_LINKRESOLVER_HPP
#include "oops/method.hpp" #include "oops/method.hpp"
#include "utilities/top.hpp"
// All the necessary definitions for run-time link resolution. // All the necessary definitions for run-time link resolution.

View file

@ -27,7 +27,7 @@
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "memory/memRegion.hpp" #include "memory/memRegion.hpp"
#include "utilities/top.hpp" #include "oops/oopsHierarchy.hpp"
class CodeBlob; class CodeBlob;
class nmethod; class nmethod;
@ -35,6 +35,7 @@ class ReferenceProcessor;
class DataLayout; class DataLayout;
class KlassClosure; class KlassClosure;
class ClassLoaderData; class ClassLoaderData;
class Symbol;
// The following classes are C++ `closures` for iterating over objects, roots and spaces // The following classes are C++ `closures` for iterating over objects, roots and spaces

View file

@ -30,7 +30,6 @@
#include "memory/memRegion.hpp" #include "memory/memRegion.hpp"
#include "oops/metadata.hpp" #include "oops/metadata.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"
#include "utilities/top.hpp"
// oopDesc is the top baseclass for objects classes. The {name}Desc classes describe // 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++. // the format of Java objects so the fields can be accessed from C++.

View file

@ -25,9 +25,10 @@
#ifndef SHARE_VM_OOPS_SYMBOL_HPP #ifndef SHARE_VM_OOPS_SYMBOL_HPP
#define SHARE_VM_OOPS_SYMBOL_HPP #define SHARE_VM_OOPS_SYMBOL_HPP
#include "utilities/utf8.hpp"
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "utilities/exceptions.hpp"
#include "utilities/utf8.hpp"
// A Symbol is a canonicalized string. // A Symbol is a canonicalized string.
// All Symbols reside in global SymbolTable and are reference counted. // All Symbols reside in global SymbolTable and are reference counted.

View file

@ -242,7 +242,6 @@
# include "utilities/ostream.hpp" # include "utilities/ostream.hpp"
# include "utilities/preserveException.hpp" # include "utilities/preserveException.hpp"
# include "utilities/sizes.hpp" # include "utilities/sizes.hpp"
# include "utilities/top.hpp"
# include "utilities/utf8.hpp" # include "utilities/utf8.hpp"
#ifdef COMPILER2 #ifdef COMPILER2
# include "libadt/dict.hpp" # include "libadt/dict.hpp"

View file

@ -79,7 +79,6 @@
#include "utilities/events.hpp" #include "utilities/events.hpp"
#include "utilities/histogram.hpp" #include "utilities/histogram.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"
#include "utilities/top.hpp"
#include "utilities/utf8.hpp" #include "utilities/utf8.hpp"
#if INCLUDE_CDS #if INCLUDE_CDS
#include "classfile/sharedClassUtil.hpp" #include "classfile/sharedClassUtil.hpp"

View file

@ -25,8 +25,8 @@
#ifndef SHARE_VM_PRIMS_NATIVELOOKUP_HPP #ifndef SHARE_VM_PRIMS_NATIVELOOKUP_HPP
#define SHARE_VM_PRIMS_NATIVELOOKUP_HPP #define SHARE_VM_PRIMS_NATIVELOOKUP_HPP
#include "memory/allocation.hpp"
#include "runtime/handles.hpp" #include "runtime/handles.hpp"
#include "utilities/top.hpp"
// NativeLookup provides an interface for finding DLL entry points for // NativeLookup provides an interface for finding DLL entry points for
// Java native functions. // Java native functions.

View file

@ -31,7 +31,6 @@
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/perfData.hpp" #include "runtime/perfData.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/top.hpp"
// Arguments parses the command line and recognizes options // Arguments parses the command line and recognizes options

View file

@ -27,7 +27,6 @@
#include "oops/markOop.hpp" #include "oops/markOop.hpp"
#include "runtime/handles.hpp" #include "runtime/handles.hpp"
#include "utilities/top.hpp"
class BasicLock VALUE_OBJ_CLASS_SPEC { class BasicLock VALUE_OBJ_CLASS_SPEC {
friend class VMStructs; friend class VMStructs;

View file

@ -29,7 +29,6 @@
#include "runtime/basicLock.hpp" #include "runtime/basicLock.hpp"
#include "runtime/monitorChunk.hpp" #include "runtime/monitorChunk.hpp"
#include "runtime/registerMap.hpp" #include "runtime/registerMap.hpp"
#include "utilities/top.hpp"
#ifdef TARGET_ARCH_zero #ifdef TARGET_ARCH_zero
# include "stack_zero.hpp" # include "stack_zero.hpp"
#endif #endif

View file

@ -35,7 +35,6 @@
#include "trace/tracing.hpp" #include "trace/tracing.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"
#include "utilities/ostream.hpp" #include "utilities/ostream.hpp"
#include "utilities/top.hpp"
#if INCLUDE_ALL_GCS #if INCLUDE_ALL_GCS
#include "gc/g1/g1_globals.hpp" #include "gc/g1/g1_globals.hpp"
#endif // INCLUDE_ALL_GCS #endif // INCLUDE_ALL_GCS

View file

@ -27,7 +27,19 @@
#include "runtime/globals.hpp" #include "runtime/globals.hpp"
#include "utilities/macros.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. // Construct enum of Flag_<cmdline-arg> constants.

View file

@ -25,7 +25,7 @@
#ifndef SHARE_VM_RUNTIME_INIT_HPP #ifndef SHARE_VM_RUNTIME_INIT_HPP
#define 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 // 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). // to link Delta (which is at least twice as fast as using the GNU C++ linker).

View file

@ -35,7 +35,6 @@
#include "runtime/vmThread.hpp" #include "runtime/vmThread.hpp"
#include "utilities/globalDefinitions.hpp" #include "utilities/globalDefinitions.hpp"
#include "utilities/preserveException.hpp" #include "utilities/preserveException.hpp"
#include "utilities/top.hpp"
// Wrapper for all entry points to the virtual machine. // Wrapper for all entry points to the virtual machine.
// The HandleMarkCleaner is a faster version of HandleMark. // The HandleMarkCleaner is a faster version of HandleMark.

View file

@ -25,8 +25,8 @@
#ifndef SHARE_VM_RUNTIME_JNIHANDLES_HPP #ifndef SHARE_VM_RUNTIME_JNIHANDLES_HPP
#define SHARE_VM_RUNTIME_JNIHANDLES_HPP #define SHARE_VM_RUNTIME_JNIHANDLES_HPP
#include "memory/allocation.hpp"
#include "runtime/handles.hpp" #include "runtime/handles.hpp"
#include "utilities/top.hpp"
class JNIHandleBlock; class JNIHandleBlock;

View file

@ -28,7 +28,6 @@
#include "jvmtifiles/jvmti.h" #include "jvmtifiles/jvmti.h"
#include "runtime/extendedPC.hpp" #include "runtime/extendedPC.hpp"
#include "runtime/handles.hpp" #include "runtime/handles.hpp"
#include "utilities/top.hpp"
#ifdef TARGET_OS_FAMILY_linux #ifdef TARGET_OS_FAMILY_linux
# include "jvm_linux.h" # include "jvm_linux.h"
# include <setjmp.h> # include <setjmp.h>

View file

@ -29,7 +29,6 @@
#include "runtime/handles.hpp" #include "runtime/handles.hpp"
#include "runtime/javaFrameAnchor.hpp" #include "runtime/javaFrameAnchor.hpp"
#include "runtime/objectMonitor.hpp" #include "runtime/objectMonitor.hpp"
#include "utilities/top.hpp"
// The OSThread class holds OS-specific thread information. It is equivalent // The OSThread class holds OS-specific thread information. It is equivalent
// to the sys_thread_t structure of the classic JVM implementation. // to the sys_thread_t structure of the classic JVM implementation.

View file

@ -27,7 +27,6 @@
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "oops/method.hpp" #include "oops/method.hpp"
#include "utilities/top.hpp"
// SignatureIterators iterate over a Java signature (or parts of it). // SignatureIterators iterate over a Java signature (or parts of it).
// (Syntax according to: "The Java Virtual Machine Specification" by // (Syntax according to: "The Java Virtual Machine Specification" by

View file

@ -27,7 +27,6 @@
#include "code/location.hpp" #include "code/location.hpp"
#include "runtime/handles.hpp" #include "runtime/handles.hpp"
#include "utilities/top.hpp"
class StackValue : public ResourceObj { class StackValue : public ResourceObj {
private: private:

View file

@ -30,7 +30,6 @@
#include "runtime/frame.hpp" #include "runtime/frame.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/stubCodeGenerator.hpp" #include "runtime/stubCodeGenerator.hpp"
#include "utilities/top.hpp"
// StubRoutines provides entry points to assembly routines used by // StubRoutines provides entry points to assembly routines used by
// compiled code and the run-time system. Platform-specific entry // compiled code and the run-time system. Platform-specific entry

View file

@ -29,8 +29,6 @@
#include "runtime/basicLock.hpp" #include "runtime/basicLock.hpp"
#include "runtime/handles.hpp" #include "runtime/handles.hpp"
#include "runtime/perfData.hpp" #include "runtime/perfData.hpp"
#include "utilities/top.hpp"
class ObjectMonitor; class ObjectMonitor;

View file

@ -25,7 +25,8 @@
#ifndef SHARE_VM_RUNTIME_TASK_HPP #ifndef SHARE_VM_RUNTIME_TASK_HPP
#define 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 // A PeriodicTask has the sole purpose of executing its task
// function with regular intervals. // function with regular intervals.

View file

@ -46,7 +46,6 @@
#include "trace/traceMacros.hpp" #include "trace/traceMacros.hpp"
#include "utilities/exceptions.hpp" #include "utilities/exceptions.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"
#include "utilities/top.hpp"
#if INCLUDE_ALL_GCS #if INCLUDE_ALL_GCS
#include "gc/g1/dirtyCardQueue.hpp" #include "gc/g1/dirtyCardQueue.hpp"
#include "gc/g1/satbMarkQueue.hpp" #include "gc/g1/satbMarkQueue.hpp"

View file

@ -25,7 +25,7 @@
#ifndef SHARE_VM_RUNTIME_THREADLOCALSTORAGE_HPP #ifndef SHARE_VM_RUNTIME_THREADLOCALSTORAGE_HPP
#define 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 // forward-decl as we can't have an include cycle
class Thread; class Thread;

View file

@ -29,7 +29,6 @@
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "oops/oop.hpp" #include "oops/oop.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"
#include "utilities/top.hpp"
#include "code/codeCache.hpp" #include "code/codeCache.hpp"
// The following classes are used for operations // The following classes are used for operations

View file

@ -25,8 +25,9 @@
#ifndef SHARE_VM_UTILITIES_ACCESSFLAGS_HPP #ifndef SHARE_VM_UTILITIES_ACCESSFLAGS_HPP
#define SHARE_VM_UTILITIES_ACCESSFLAGS_HPP #define SHARE_VM_UTILITIES_ACCESSFLAGS_HPP
#include "memory/allocation.hpp"
#include "prims/jvm.h" #include "prims/jvm.h"
#include "utilities/top.hpp" #include "utilities/macros.hpp"
// AccessFlags is an abstraction over Java access flags. // AccessFlags is an abstraction over Java access flags.

View file

@ -26,7 +26,6 @@
#define SHARE_VM_UTILITIES_BITMAP_HPP #define SHARE_VM_UTILITIES_BITMAP_HPP
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "utilities/top.hpp"
// Forward decl; // Forward decl;
class BitMapClosure; class BitMapClosure;

View file

@ -24,6 +24,7 @@
#include "precompiled.hpp" #include "precompiled.hpp"
#include "utilities/constantTag.hpp" #include "utilities/constantTag.hpp"
#include "utilities/ostream.hpp"
#ifndef PRODUCT #ifndef PRODUCT

View file

@ -25,8 +25,8 @@
#ifndef SHARE_VM_UTILITIES_CONSTANTTAG_HPP #ifndef SHARE_VM_UTILITIES_CONSTANTTAG_HPP
#define SHARE_VM_UTILITIES_CONSTANTTAG_HPP #define SHARE_VM_UTILITIES_CONSTANTTAG_HPP
#include "memory/allocation.hpp"
#include "prims/jvm.h" #include "prims/jvm.h"
#include "utilities/top.hpp"
// constant tags in Java .class files // constant tags in Java .class files

View file

@ -52,7 +52,6 @@
#include "utilities/defaultStream.hpp" #include "utilities/defaultStream.hpp"
#include "utilities/events.hpp" #include "utilities/events.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"
#include "utilities/top.hpp"
#include "utilities/vmError.hpp" #include "utilities/vmError.hpp"
#if INCLUDE_TRACE #if INCLUDE_TRACE

View file

@ -28,7 +28,6 @@
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"
#include "utilities/top.hpp"
#include "utilities/vmError.hpp" #include "utilities/vmError.hpp"
// Events and EventMark provide interfaces to log events taking place in the vm. // Events and EventMark provide interfaces to log events taking place in the vm.

View file

@ -47,7 +47,6 @@
// Forward declarations to be independent of the include structure. // Forward declarations to be independent of the include structure.
// This allows us to have exceptions.hpp included in top.hpp.
class Thread; class Thread;
class Handle; class Handle;

View file

@ -25,7 +25,6 @@
#include "precompiled.hpp" #include "precompiled.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/globalDefinitions.hpp" #include "utilities/globalDefinitions.hpp"
#include "utilities/top.hpp"
// Basic error support // Basic error support

View file

@ -29,7 +29,6 @@
#include "memory/allocation.inline.hpp" #include "memory/allocation.inline.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/globalDefinitions.hpp" #include "utilities/globalDefinitions.hpp"
#include "utilities/top.hpp"
// A growable array. // A growable array.

View file

@ -31,7 +31,6 @@
#include "utilities/defaultStream.hpp" #include "utilities/defaultStream.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"
#include "utilities/ostream.hpp" #include "utilities/ostream.hpp"
#include "utilities/top.hpp"
#include "utilities/xmlstream.hpp" #include "utilities/xmlstream.hpp"
extern "C" void jio_print(const char* s); // Declarationtion of jvm method extern "C" void jio_print(const char* s); // Declarationtion of jvm method

View file

@ -26,7 +26,6 @@
#define SHARE_VM_UTILITIES_PAIR_HPP #define SHARE_VM_UTILITIES_PAIR_HPP
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "utilities/top.hpp"
template<typename T, typename V, typename ALLOC_BASE = ResourceObj> template<typename T, typename V, typename ALLOC_BASE = ResourceObj>
class Pair : public ALLOC_BASE { class Pair : public ALLOC_BASE {

View file

@ -26,7 +26,6 @@
#define SHARE_VM_UTILITIES_RESOURCEHASH_HPP #define SHARE_VM_UTILITIES_RESOURCEHASH_HPP
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "utilities/top.hpp"
template<typename K> struct ResourceHashtableFns { template<typename K> struct ResourceHashtableFns {
typedef unsigned (*hash_fn)(K const&); typedef unsigned (*hash_fn)(K const&);

View file

@ -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

View file

@ -26,7 +26,6 @@
#define SHARE_VM_UTILITIES_UTF8_HPP #define SHARE_VM_UTILITIES_UTF8_HPP
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "utilities/top.hpp"
// Low-level interface for UTF8 strings // Low-level interface for UTF8 strings

View file

@ -43,7 +43,6 @@
#include "utilities/defaultStream.hpp" #include "utilities/defaultStream.hpp"
#include "utilities/errorReporter.hpp" #include "utilities/errorReporter.hpp"
#include "utilities/events.hpp" #include "utilities/events.hpp"
#include "utilities/top.hpp"
#include "utilities/vmError.hpp" #include "utilities/vmError.hpp"
// List of environment variables that should be reported in error log file. // List of environment variables that should be reported in error log file.