Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
8248170: Excessive include of compiledMethod, codeCache, javaClasses …
…and systemDictionary
Reviewed-by: dholmes, kvn, coleenp, stefank
- Loading branch information
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 2014, Red Hat Inc. All rights reserved. |
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
|
* |
|
@@ -30,6 +30,7 @@ |
|
|
#include "c1/c1_LIRAssembler.hpp" |
|
|
#include "c1/c1_MacroAssembler.hpp" |
|
|
#include "c1/c1_Runtime1.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "nativeInst_aarch64.hpp" |
|
|
#include "runtime/sharedRuntime.hpp" |
|
|
#include "vmreg_aarch64.inline.hpp" |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 2014, 2018, Red Hat Inc. All rights reserved. |
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
|
* |
|
@@ -25,6 +25,7 @@ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "asm/macroAssembler.hpp" |
|
|
#include "code/codeCache.hpp" |
|
|
#include "code/compiledIC.hpp" |
|
|
#include "memory/resourceArea.hpp" |
|
|
#include "nativeInst_aarch64.hpp" |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 2014, Red Hat Inc. All rights reserved. |
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
|
* |
|
@@ -25,6 +25,7 @@ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "asm/macroAssembler.hpp" |
|
|
#include "code/compiledMethod.hpp" |
|
|
#include "code/relocInfo.hpp" |
|
|
#include "nativeInst_aarch64.hpp" |
|
|
#include "oops/oop.inline.hpp" |
|
|
|
@@ -26,6 +26,7 @@ |
|
|
#include "precompiled.hpp" |
|
|
#include "asm/macroAssembler.hpp" |
|
|
#include "asm/macroAssembler.inline.hpp" |
|
|
#include "code/codeCache.hpp" |
|
|
#include "code/debugInfoRec.hpp" |
|
|
#include "code/icBuffer.hpp" |
|
|
#include "code/vtableStubs.hpp" |
|
|
|
@@ -29,6 +29,7 @@ |
|
|
#include "c1/c1_LIRAssembler.hpp" |
|
|
#include "c1/c1_MacroAssembler.hpp" |
|
|
#include "c1/c1_Runtime1.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "memory/universe.hpp" |
|
|
#include "nativeInst_arm.hpp" |
|
|
#include "runtime/sharedRuntime.hpp" |
|
|
|
@@ -30,6 +30,7 @@ |
|
|
#include "c1/c1_LIRAssembler.hpp" |
|
|
#include "c1/c1_MacroAssembler.hpp" |
|
|
#include "c1/c1_Runtime1.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "nativeInst_ppc.hpp" |
|
|
#include "runtime/sharedRuntime.hpp" |
|
|
#include "utilities/macros.hpp" |
|
|
|
@@ -30,6 +30,7 @@ |
|
|
#include "c1/c1_LIRAssembler.hpp" |
|
|
#include "c1/c1_MacroAssembler.hpp" |
|
|
#include "c1/c1_Runtime1.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "nativeInst_s390.hpp" |
|
|
#include "runtime/sharedRuntime.hpp" |
|
|
#include "utilities/align.hpp" |
|
|
|
@@ -28,6 +28,7 @@ |
|
|
#include "c1/c1_LIRAssembler.hpp" |
|
|
#include "c1/c1_MacroAssembler.hpp" |
|
|
#include "c1/c1_Runtime1.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "nativeInst_x86.hpp" |
|
|
#include "runtime/sharedRuntime.hpp" |
|
|
#include "utilities/align.hpp" |
|
|
|
@@ -30,6 +30,7 @@ |
|
|
#include "classfile/classLoader.hpp" |
|
|
#include "classfile/systemDictionary.hpp" |
|
|
#include "classfile/vmSymbols.hpp" |
|
|
#include "code/codeCache.hpp" |
|
|
#include "code/icBuffer.hpp" |
|
|
#include "code/vtableStubs.hpp" |
|
|
#include "compiler/compileBroker.hpp" |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 1997, 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 |
|
@@ -211,6 +211,7 @@ int main(int argc, char *argv[]) |
|
|
AD.addInclude(AD._CPP_file, "adfiles", get_basename(AD._VM_file._name)); |
|
|
AD.addInclude(AD._CPP_file, "adfiles", get_basename(AD._HPP_file._name)); |
|
|
AD.addInclude(AD._CPP_file, "memory/allocation.inline.hpp"); |
|
|
AD.addInclude(AD._CPP_file, "code/codeCache.hpp"); |
|
|
AD.addInclude(AD._CPP_file, "code/compiledIC.hpp"); |
|
|
AD.addInclude(AD._CPP_file, "code/nativeInst.hpp"); |
|
|
AD.addInclude(AD._CPP_file, "code/vmreg.inline.hpp"); |
|
|
|
@@ -27,7 +27,6 @@ |
|
|
|
|
|
#include "ci/ciClassList.hpp" |
|
|
#include "ci/ciObjectFactory.hpp" |
|
|
#include "classfile/systemDictionary.hpp" |
|
|
#include "code/debugInfoRec.hpp" |
|
|
#include "code/dependencies.hpp" |
|
|
#include "code/exceptionHandlerTable.hpp" |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 1999, 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 |
|
@@ -38,6 +38,7 @@ class MethodLiveness; |
|
|
class Arena; |
|
|
class BCEscapeAnalyzer; |
|
|
class InlineTree; |
|
|
class xmlStream; |
|
|
|
|
|
// Whether profiling found an oop to be always, never or sometimes |
|
|
// null |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 2005, 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 |
|
@@ -29,7 +29,6 @@ |
|
|
#include "ci/ciKlass.hpp" |
|
|
#include "ci/ciMethod.hpp" |
|
|
#include "ci/ciMethodHandle.hpp" |
|
|
#include "classfile/systemDictionary.hpp" |
|
|
#include "code/compressedStream.hpp" |
|
|
#include "code/nmethod.hpp" |
|
|
#include "memory/resourceArea.hpp" |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 1997, 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 |
|
@@ -34,6 +34,9 @@ |
|
|
#include "utilities/debug.hpp" |
|
|
#include "utilities/macros.hpp" |
|
|
|
|
|
class CompiledIC; |
|
|
class CompiledICHolder; |
|
|
|
|
|
// |
|
|
// For CompiledIC's: |
|
|
// |
|
|
|
@@ -23,6 +23,7 @@ |
|
|
*/ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "gc/g1/c2/g1BarrierSetC2.hpp" |
|
|
#include "gc/g1/g1BarrierSet.hpp" |
|
|
#include "gc/g1/g1BarrierSetRuntime.hpp" |
|
|
|
@@ -25,6 +25,7 @@ |
|
|
#include "precompiled.hpp" |
|
|
#include "c1/c1_Defs.hpp" |
|
|
#include "c1/c1_LIRGenerator.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "gc/shared/c1/barrierSetC1.hpp" |
|
|
#include "utilities/macros.hpp" |
|
|
|
|
|
|
@@ -24,6 +24,7 @@ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
|
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "gc/shenandoah/c2/shenandoahSupport.hpp" |
|
|
#include "gc/shenandoah/c2/shenandoahBarrierSetC2.hpp" |
|
|
#include "gc/shenandoah/shenandoahBarrierSetAssembler.hpp" |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 2012, 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,6 +23,7 @@ |
|
|
*/ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "jfr/dcmd/jfrDcmds.hpp" |
|
|
#include "jfr/instrumentation/jfrJvmtiAgent.hpp" |
|
|
#include "jfr/jni/jfrJavaSupport.hpp" |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 2012, 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,6 +23,7 @@ |
|
|
*/ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "jfr/dcmd/jfrDcmds.hpp" |
|
|
#include "jfr/recorder/service/jfrMemorySizer.hpp" |
|
|
#include "jfr/recorder/service/jfrOptionSet.hpp" |
|
|
|
@@ -35,6 +35,7 @@ class JVMCIObjectArray; |
|
|
class JVMCIPrimitiveArray; |
|
|
class JVMCICompiler; |
|
|
class JVMCIRuntime; |
|
|
class nmethodLocker; |
|
|
|
|
|
#define JVMCI_EXCEPTION_CONTEXT \ |
|
|
JavaThread* thread=JavaThread::current(); \ |
|
|
|
@@ -23,6 +23,7 @@ |
|
|
*/ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "code/codeCache.hpp" |
|
|
#include "compiler/compileBroker.hpp" |
|
|
#include "gc/shared/collectedHeap.hpp" |
|
|
#include "jvmci/jvmciCodeInstaller.hpp" |
|
|
|
@@ -36,6 +36,7 @@ |
|
|
#include "oops/symbol.hpp" |
|
|
#include "runtime/atomic.hpp" |
|
|
#include "runtime/os.hpp" |
|
|
#include "runtime/signature.hpp" |
|
|
#include "utilities/utf8.hpp" |
|
|
|
|
|
uint32_t Symbol::pack_hash_and_refcount(short hash, int refcount) { |
|
|
|
@@ -26,7 +26,7 @@ |
|
|
#include "asm/macroAssembler.hpp" |
|
|
#include "asm/macroAssembler.inline.hpp" |
|
|
#include "ci/ciReplay.hpp" |
|
|
#include "classfile/systemDictionary.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "code/exceptionHandlerTable.hpp" |
|
|
#include "code/nmethod.hpp" |
|
|
#include "compiler/compileBroker.hpp" |
|
|
|
@@ -24,6 +24,7 @@ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "ci/ciUtilities.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "compiler/compileLog.hpp" |
|
|
#include "gc/shared/barrierSet.hpp" |
|
|
#include "gc/shared/c2/barrierSetC2.hpp" |
|
|
|
@@ -23,7 +23,7 @@ |
|
|
*/ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "classfile/systemDictionary.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "compiler/compileLog.hpp" |
|
|
#include "gc/shared/barrierSet.hpp" |
|
|
#include "gc/shared/c2/barrierSetC2.hpp" |
|
|
|
@@ -23,6 +23,7 @@ |
|
|
*/ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "compiler/compileLog.hpp" |
|
|
#include "opto/addnode.hpp" |
|
|
#include "opto/callGenerator.hpp" |
|
|
|
@@ -25,8 +25,8 @@ |
|
|
#include "precompiled.hpp" |
|
|
#include "ci/ciMethodData.hpp" |
|
|
#include "ci/ciTypeFlow.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "classfile/symbolTable.hpp" |
|
|
#include "classfile/systemDictionary.hpp" |
|
|
#include "compiler/compileLog.hpp" |
|
|
#include "libadt/dict.hpp" |
|
|
#include "memory/oopFactory.hpp" |
|
|
|
@@ -25,7 +25,7 @@ |
|
|
#ifndef SHARE_PRIMS_METHODHANDLES_HPP |
|
|
#define SHARE_PRIMS_METHODHANDLES_HPP |
|
|
|
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "classfile/systemDictionary.hpp" |
|
|
#include "classfile/vmSymbols.hpp" |
|
|
#include "runtime/frame.hpp" |
|
|
#include "runtime/globals.hpp" |
|
|
|
@@ -23,6 +23,7 @@ |
|
|
*/ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "memory/universe.hpp" |
|
|
#include "runtime/interfaceSupport.inline.hpp" |
|
|
#include "runtime/javaCalls.hpp" |
|
|
|
@@ -23,6 +23,7 @@ |
|
|
*/ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "classfile/protectionDomainCache.hpp" |
|
|
#include "classfile/stringTable.hpp" |
|
|
#include "classfile/symbolTable.hpp" |
|
|
|
@@ -26,7 +26,6 @@ |
|
|
#define SHARE_RUNTIME_THREAD_HPP |
|
|
|
|
|
#include "jni.h" |
|
|
#include "code/compiledMethod.hpp" |
|
|
#include "gc/shared/gcThreadLocalData.hpp" |
|
|
#include "gc/shared/threadLocalAllocBuffer.hpp" |
|
|
#include "memory/allocation.hpp" |
|
@@ -68,6 +67,7 @@ class ParkEvent; |
|
|
class Parker; |
|
|
class MonitorInfo; |
|
|
|
|
|
class AbstractCompiler; |
|
|
class ciEnv; |
|
|
class CompileThread; |
|
|
class CompileLog; |
|
|
|
@@ -25,12 +25,10 @@ |
|
|
#ifndef SHARE_RUNTIME_VMOPERATIONS_HPP |
|
|
#define SHARE_RUNTIME_VMOPERATIONS_HPP |
|
|
|
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "memory/allocation.hpp" |
|
|
#include "oops/oop.hpp" |
|
|
#include "runtime/thread.hpp" |
|
|
#include "runtime/threadSMR.hpp" |
|
|
#include "code/codeCache.hpp" |
|
|
|
|
|
// The following classes are used for operations |
|
|
// initiated by a Java thread but that must |
|
|
|
@@ -26,6 +26,7 @@ |
|
|
#include "jvm.h" |
|
|
#include "classfile/classLoaderHierarchyDCmd.hpp" |
|
|
#include "classfile/classLoaderStats.hpp" |
|
|
#include "code/codeCache.hpp" |
|
|
#include "compiler/compileBroker.hpp" |
|
|
#include "compiler/directivesParser.hpp" |
|
|
#include "gc/shared/gcVMOperations.hpp" |
|
|
|
|
@@ -1,6 +1,6 @@ |
|
|
|
|
|
/* |
|
|
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 2019, 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,6 +24,7 @@ |
|
|
*/ |
|
|
|
|
|
#include "precompiled.hpp" |
|
|
#include "classfile/javaClasses.hpp" |
|
|
#include "runtime/atomic.hpp" |
|
|
#include "runtime/interfaceSupport.inline.hpp" |
|
|
#include "runtime/thread.hpp" |
|
|