aboutsummaryrefslogtreecommitdiff
path: root/src/share
diff options
context:
space:
mode:
authorstefank <none@none>2010-11-23 13:22:55 -0800
committerstefank <none@none>2010-11-23 13:22:55 -0800
commit8ab8d32ae3f2b4a9ea9cb79079ef402c1241b2c5 (patch)
treecd2f2252bf37499ed57b7bcbf68329e4250c462d /src/share
parent41c8986d5742a2d8018c5a5b5bc02a261863a313 (diff)
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg --HG-- rename : make/windows/makefiles/makedeps.make => make/windows/makefiles/projectcreator.make rename : src/share/tools/MakeDeps/ArgsParser.java => src/share/tools/ProjectCreator/ArgsParser.java rename : src/share/tools/MakeDeps/BuildConfig.java => src/share/tools/ProjectCreator/BuildConfig.java rename : src/share/tools/MakeDeps/DirectoryTree.java => src/share/tools/ProjectCreator/DirectoryTree.java rename : src/share/tools/MakeDeps/DirectoryTreeNode.java => src/share/tools/ProjectCreator/DirectoryTreeNode.java rename : src/share/tools/MakeDeps/FileFormatException.java => src/share/tools/ProjectCreator/FileFormatException.java rename : src/share/tools/MakeDeps/Macro.java => src/share/tools/ProjectCreator/Macro.java rename : src/share/tools/MakeDeps/MacroDefinitions.java => src/share/tools/ProjectCreator/MacroDefinitions.java rename : src/share/tools/MakeDeps/MakeDeps.java => src/share/tools/ProjectCreator/ProjectCreator.java rename : src/share/tools/MakeDeps/Util.java => src/share/tools/ProjectCreator/Util.java rename : src/share/tools/MakeDeps/WinGammaPlatform.java => src/share/tools/ProjectCreator/WinGammaPlatform.java rename : src/share/tools/MakeDeps/WinGammaPlatformVC6.java => src/share/tools/ProjectCreator/WinGammaPlatformVC6.java rename : src/share/tools/MakeDeps/WinGammaPlatformVC7.java => src/share/tools/ProjectCreator/WinGammaPlatformVC7.java rename : src/share/tools/MakeDeps/WinGammaPlatformVC8.java => src/share/tools/ProjectCreator/WinGammaPlatformVC8.java rename : src/share/tools/MakeDeps/WinGammaPlatformVC9.java => src/share/tools/ProjectCreator/WinGammaPlatformVC9.java
Diffstat (limited to 'src/share')
-rw-r--r--src/share/tools/MakeDeps/Database.java552
-rw-r--r--src/share/tools/MakeDeps/FileList.java263
-rw-r--r--src/share/tools/MakeDeps/FileName.java119
-rw-r--r--src/share/tools/MakeDeps/MakeDeps.java236
-rw-r--r--src/share/tools/MakeDeps/MetroWerksMacPlatform.java70
-rw-r--r--src/share/tools/MakeDeps/Platform.java185
-rw-r--r--src/share/tools/MakeDeps/UnixPlatform.java80
-rw-r--r--src/share/tools/ProjectCreator/ArgsParser.java (renamed from src/share/tools/MakeDeps/ArgsParser.java)2
-rw-r--r--src/share/tools/ProjectCreator/BuildConfig.java (renamed from src/share/tools/MakeDeps/BuildConfig.java)101
-rw-r--r--src/share/tools/ProjectCreator/DirectoryTree.java (renamed from src/share/tools/MakeDeps/DirectoryTree.java)50
-rw-r--r--src/share/tools/ProjectCreator/DirectoryTreeNode.java (renamed from src/share/tools/MakeDeps/DirectoryTreeNode.java)2
-rw-r--r--src/share/tools/ProjectCreator/FileFormatException.java (renamed from src/share/tools/MakeDeps/FileFormatException.java)2
-rw-r--r--src/share/tools/ProjectCreator/Macro.java (renamed from src/share/tools/MakeDeps/Macro.java)2
-rw-r--r--src/share/tools/ProjectCreator/MacroDefinitions.java (renamed from src/share/tools/MakeDeps/MacroDefinitions.java)104
-rw-r--r--src/share/tools/ProjectCreator/ProjectCreator.java98
-rw-r--r--src/share/tools/ProjectCreator/Util.java (renamed from src/share/tools/MakeDeps/Util.java)2
-rw-r--r--src/share/tools/ProjectCreator/WinGammaPlatform.java (renamed from src/share/tools/MakeDeps/WinGammaPlatform.java)98
-rw-r--r--src/share/tools/ProjectCreator/WinGammaPlatformVC6.java (renamed from src/share/tools/MakeDeps/WinGammaPlatformVC6.java)2
-rw-r--r--src/share/tools/ProjectCreator/WinGammaPlatformVC7.java (renamed from src/share/tools/MakeDeps/WinGammaPlatformVC7.java)68
-rw-r--r--src/share/tools/ProjectCreator/WinGammaPlatformVC8.java (renamed from src/share/tools/MakeDeps/WinGammaPlatformVC8.java)3
-rw-r--r--src/share/tools/ProjectCreator/WinGammaPlatformVC9.java (renamed from src/share/tools/MakeDeps/WinGammaPlatformVC9.java)5
-rw-r--r--src/share/tools/hsdis/hsdis-demo.c4
-rw-r--r--src/share/tools/hsdis/hsdis.c4
-rw-r--r--src/share/tools/hsdis/hsdis.h2
-rw-r--r--src/share/vm/adlc/adlc.hpp16
-rw-r--r--src/share/vm/adlc/adlparse.cpp2
-rw-r--r--src/share/vm/adlc/adlparse.hpp7
-rw-r--r--src/share/vm/adlc/archDesc.cpp36
-rw-r--r--src/share/vm/adlc/archDesc.hpp16
-rw-r--r--src/share/vm/adlc/arena.cpp2
-rw-r--r--src/share/vm/adlc/arena.hpp7
-rw-r--r--src/share/vm/adlc/dfa.cpp2
-rw-r--r--src/share/vm/adlc/dict2.cpp2
-rw-r--r--src/share/vm/adlc/dict2.hpp9
-rw-r--r--src/share/vm/adlc/filebuff.cpp2
-rw-r--r--src/share/vm/adlc/filebuff.hpp7
-rw-r--r--src/share/vm/adlc/forms.cpp2
-rw-r--r--src/share/vm/adlc/forms.hpp7
-rw-r--r--src/share/vm/adlc/formsopt.cpp2
-rw-r--r--src/share/vm/adlc/formsopt.hpp7
-rw-r--r--src/share/vm/adlc/formssel.hpp7
-rw-r--r--src/share/vm/adlc/main.cpp86
-rw-r--r--src/share/vm/asm/assembler.cpp19
-rw-r--r--src/share/vm/asm/assembler.hpp37
-rw-r--r--src/share/vm/asm/assembler.inline.hpp12
-rw-r--r--src/share/vm/asm/codeBuffer.cpp6
-rw-r--r--src/share/vm/asm/codeBuffer.hpp20
-rw-r--r--src/share/vm/asm/register.cpp6
-rw-r--r--src/share/vm/asm/register.hpp9
-rw-r--r--src/share/vm/c1/c1_CFGPrinter.cpp11
-rw-r--r--src/share/vm/c1/c1_CFGPrinter.hpp10
-rw-r--r--src/share/vm/c1/c1_Canonicalizer.cpp8
-rw-r--r--src/share/vm/c1/c1_Canonicalizer.hpp7
-rw-r--r--src/share/vm/c1/c1_CodeStubs.hpp12
-rw-r--r--src/share/vm/c1/c1_Compilation.cpp12
-rw-r--r--src/share/vm/c1/c1_Compilation.hpp9
-rw-r--r--src/share/vm/c1/c1_Compiler.cpp23
-rw-r--r--src/share/vm/c1/c1_Compiler.hpp9
-rw-r--r--src/share/vm/c1/c1_Defs.cpp7
-rw-r--r--src/share/vm/c1/c1_Defs.hpp26
-rw-r--r--src/share/vm/c1/c1_FpuStackSim.hpp18
-rw-r--r--src/share/vm/c1/c1_FrameMap.cpp17
-rw-r--r--src/share/vm/c1/c1_FrameMap.hpp22
-rw-r--r--src/share/vm/c1/c1_GraphBuilder.cpp13
-rw-r--r--src/share/vm/c1/c1_GraphBuilder.hpp12
-rw-r--r--src/share/vm/c1/c1_IR.cpp10
-rw-r--r--src/share/vm/c1/c1_IR.hpp11
-rw-r--r--src/share/vm/c1/c1_Instruction.cpp9
-rw-r--r--src/share/vm/c1/c1_Instruction.hpp10
-rw-r--r--src/share/vm/c1/c1_InstructionPrinter.cpp8
-rw-r--r--src/share/vm/c1/c1_InstructionPrinter.hpp9
-rw-r--r--src/share/vm/c1/c1_LIR.cpp9
-rw-r--r--src/share/vm/c1/c1_LIR.hpp7
-rw-r--r--src/share/vm/c1/c1_LIRAssembler.cpp22
-rw-r--r--src/share/vm/c1/c1_LIRAssembler.hpp18
-rw-r--r--src/share/vm/c1/c1_LIRGenerator.cpp18
-rw-r--r--src/share/vm/c1/c1_LIRGenerator.hpp10
-rw-r--r--src/share/vm/c1/c1_LinearScan.cpp21
-rw-r--r--src/share/vm/c1/c1_LinearScan.hpp22
-rw-r--r--src/share/vm/c1/c1_MacroAssembler.hpp24
-rw-r--r--src/share/vm/c1/c1_Optimizer.cpp9
-rw-r--r--src/share/vm/c1/c1_Optimizer.hpp11
-rw-r--r--src/share/vm/c1/c1_Runtime1.cpp37
-rw-r--r--src/share/vm/c1/c1_Runtime1.hpp11
-rw-r--r--src/share/vm/c1/c1_ValueMap.cpp9
-rw-r--r--src/share/vm/c1/c1_ValueMap.hpp9
-rw-r--r--src/share/vm/c1/c1_ValueSet.cpp7
-rw-r--r--src/share/vm/c1/c1_ValueSet.hpp11
-rw-r--r--src/share/vm/c1/c1_ValueStack.cpp8
-rw-r--r--src/share/vm/c1/c1_ValueStack.hpp9
-rw-r--r--src/share/vm/c1/c1_ValueType.cpp9
-rw-r--r--src/share/vm/c1/c1_ValueType.hpp10
-rw-r--r--src/share/vm/c1/c1_globals.cpp6
-rw-r--r--src/share/vm/c1/c1_globals.hpp23
-rw-r--r--src/share/vm/ci/bcEscapeAnalyzer.cpp12
-rw-r--r--src/share/vm/ci/bcEscapeAnalyzer.hpp16
-rw-r--r--src/share/vm/ci/ciArray.cpp8
-rw-r--r--src/share/vm/ci/ciArray.hpp12
-rw-r--r--src/share/vm/ci/ciArrayKlass.cpp9
-rw-r--r--src/share/vm/ci/ciArrayKlass.hpp9
-rw-r--r--src/share/vm/ci/ciArrayKlassKlass.hpp9
-rw-r--r--src/share/vm/ci/ciCPCache.cpp6
-rw-r--r--src/share/vm/ci/ciCPCache.hpp9
-rw-r--r--src/share/vm/ci/ciCallProfile.hpp9
-rw-r--r--src/share/vm/ci/ciCallSite.cpp7
-rw-r--r--src/share/vm/ci/ciCallSite.hpp9
-rw-r--r--src/share/vm/ci/ciClassList.hpp7
-rw-r--r--src/share/vm/ci/ciConstant.cpp9
-rw-r--r--src/share/vm/ci/ciConstant.hpp10
-rw-r--r--src/share/vm/ci/ciConstantPoolCache.cpp9
-rw-r--r--src/share/vm/ci/ciConstantPoolCache.hpp10
-rw-r--r--src/share/vm/ci/ciEnv.cpp40
-rw-r--r--src/share/vm/ci/ciEnv.hpp14
-rw-r--r--src/share/vm/ci/ciExceptionHandler.cpp7
-rw-r--r--src/share/vm/ci/ciExceptionHandler.hpp10
-rw-r--r--src/share/vm/ci/ciField.cpp15
-rw-r--r--src/share/vm/ci/ciField.hpp12
-rw-r--r--src/share/vm/ci/ciFlags.cpp6
-rw-r--r--src/share/vm/ci/ciFlags.hpp12
-rw-r--r--src/share/vm/ci/ciInstance.cpp12
-rw-r--r--src/share/vm/ci/ciInstance.hpp10
-rw-r--r--src/share/vm/ci/ciInstanceKlass.cpp12
-rw-r--r--src/share/vm/ci/ciInstanceKlass.hpp11
-rw-r--r--src/share/vm/ci/ciInstanceKlassKlass.cpp7
-rw-r--r--src/share/vm/ci/ciInstanceKlassKlass.hpp9
-rw-r--r--src/share/vm/ci/ciKlass.cpp9
-rw-r--r--src/share/vm/ci/ciKlass.hpp10
-rw-r--r--src/share/vm/ci/ciKlassKlass.cpp7
-rw-r--r--src/share/vm/ci/ciKlassKlass.hpp10
-rw-r--r--src/share/vm/ci/ciMethod.cpp37
-rw-r--r--src/share/vm/ci/ciMethod.hpp13
-rw-r--r--src/share/vm/ci/ciMethodBlocks.cpp9
-rw-r--r--src/share/vm/ci/ciMethodBlocks.hpp11
-rw-r--r--src/share/vm/ci/ciMethodData.cpp9
-rw-r--r--src/share/vm/ci/ciMethodData.hpp12
-rw-r--r--src/share/vm/ci/ciMethodHandle.cpp11
-rw-r--r--src/share/vm/ci/ciMethodHandle.hpp9
-rw-r--r--src/share/vm/ci/ciMethodKlass.cpp7
-rw-r--r--src/share/vm/ci/ciMethodKlass.hpp10
-rw-r--r--src/share/vm/ci/ciNullObject.cpp6
-rw-r--r--src/share/vm/ci/ciNullObject.hpp11
-rw-r--r--src/share/vm/ci/ciObjArray.cpp9
-rw-r--r--src/share/vm/ci/ciObjArray.hpp11
-rw-r--r--src/share/vm/ci/ciObjArrayKlass.cpp11
-rw-r--r--src/share/vm/ci/ciObjArrayKlass.hpp9
-rw-r--r--src/share/vm/ci/ciObjArrayKlassKlass.cpp7
-rw-r--r--src/share/vm/ci/ciObjArrayKlassKlass.hpp9
-rw-r--r--src/share/vm/ci/ciObject.cpp9
-rw-r--r--src/share/vm/ci/ciObject.hpp12
-rw-r--r--src/share/vm/ci/ciObjectFactory.cpp31
-rw-r--r--src/share/vm/ci/ciObjectFactory.hpp11
-rw-r--r--src/share/vm/ci/ciSignature.cpp10
-rw-r--r--src/share/vm/ci/ciSignature.hpp12
-rw-r--r--src/share/vm/ci/ciStreams.cpp9
-rw-r--r--src/share/vm/ci/ciStreams.hpp11
-rw-r--r--src/share/vm/ci/ciSymbol.cpp8
-rw-r--r--src/share/vm/ci/ciSymbol.hpp12
-rw-r--r--src/share/vm/ci/ciSymbolKlass.cpp7
-rw-r--r--src/share/vm/ci/ciSymbolKlass.hpp10
-rw-r--r--src/share/vm/ci/ciType.cpp9
-rw-r--r--src/share/vm/ci/ciType.hpp10
-rw-r--r--src/share/vm/ci/ciTypeArray.cpp7
-rw-r--r--src/share/vm/ci/ciTypeArray.hpp11
-rw-r--r--src/share/vm/ci/ciTypeArrayKlass.cpp7
-rw-r--r--src/share/vm/ci/ciTypeArrayKlass.hpp9
-rw-r--r--src/share/vm/ci/ciTypeArrayKlassKlass.cpp7
-rw-r--r--src/share/vm/ci/ciTypeArrayKlassKlass.hpp9
-rw-r--r--src/share/vm/ci/ciTypeFlow.cpp17
-rw-r--r--src/share/vm/ci/ciTypeFlow.hpp18
-rw-r--r--src/share/vm/ci/ciUtilities.cpp6
-rw-r--r--src/share/vm/ci/ciUtilities.hpp10
-rw-r--r--src/share/vm/ci/compilerInterface.hpp36
-rw-r--r--src/share/vm/classfile/classFileError.cpp8
-rw-r--r--src/share/vm/classfile/classFileParser.cpp30
-rw-r--r--src/share/vm/classfile/classFileParser.hpp12
-rw-r--r--src/share/vm/classfile/classFileStream.cpp7
-rw-r--r--src/share/vm/classfile/classFileStream.hpp18
-rw-r--r--src/share/vm/classfile/classLoader.cpp52
-rw-r--r--src/share/vm/classfile/classLoader.hpp10
-rw-r--r--src/share/vm/classfile/dictionary.cpp11
-rw-r--r--src/share/vm/classfile/dictionary.hpp12
-rw-r--r--src/share/vm/classfile/javaAssertions.cpp13
-rw-r--r--src/share/vm/classfile/javaAssertions.hpp12
-rw-r--r--src/share/vm/classfile/javaClasses.cpp37
-rw-r--r--src/share/vm/classfile/javaClasses.hpp13
-rw-r--r--src/share/vm/classfile/loaderConstraints.cpp11
-rw-r--r--src/share/vm/classfile/loaderConstraints.hpp11
-rw-r--r--src/share/vm/classfile/placeholders.cpp10
-rw-r--r--src/share/vm/classfile/placeholders.hpp9
-rw-r--r--src/share/vm/classfile/resolutionErrors.cpp11
-rw-r--r--src/share/vm/classfile/resolutionErrors.hpp10
-rw-r--r--src/share/vm/classfile/stackMapFrame.cpp12
-rw-r--r--src/share/vm/classfile/stackMapFrame.hpp14
-rw-r--r--src/share/vm/classfile/stackMapTable.cpp9
-rw-r--r--src/share/vm/classfile/stackMapTable.hpp22
-rw-r--r--src/share/vm/classfile/stackMapTableFormat.hpp7
-rw-r--r--src/share/vm/classfile/symbolTable.cpp16
-rw-r--r--src/share/vm/classfile/symbolTable.hpp11
-rw-r--r--src/share/vm/classfile/systemDictionary.cpp33
-rw-r--r--src/share/vm/classfile/systemDictionary.hpp13
-rw-r--r--src/share/vm/classfile/verificationType.cpp7
-rw-r--r--src/share/vm/classfile/verificationType.hpp15
-rw-r--r--src/share/vm/classfile/verifier.cpp32
-rw-r--r--src/share/vm/classfile/verifier.hpp14
-rw-r--r--src/share/vm/classfile/vmSymbols.cpp10
-rw-r--r--src/share/vm/classfile/vmSymbols.hpp7
-rw-r--r--src/share/vm/code/codeBlob.cpp31
-rw-r--r--src/share/vm/code/codeBlob.hpp10
-rw-r--r--src/share/vm/code/codeCache.cpp22
-rw-r--r--src/share/vm/code/codeCache.hpp11
-rw-r--r--src/share/vm/code/compiledIC.cpp19
-rw-r--r--src/share/vm/code/compiledIC.hpp21
-rw-r--r--src/share/vm/code/compressedStream.cpp7
-rw-r--r--src/share/vm/code/compressedStream.hpp9
-rw-r--r--src/share/vm/code/debugInfo.cpp9
-rw-r--r--src/share/vm/code/debugInfo.hpp14
-rw-r--r--src/share/vm/code/debugInfoRec.cpp8
-rw-r--r--src/share/vm/code/debugInfoRec.hpp17
-rw-r--r--src/share/vm/code/dependencies.cpp14
-rw-r--r--src/share/vm/code/dependencies.hpp12
-rw-r--r--src/share/vm/code/exceptionHandlerTable.cpp6
-rw-r--r--src/share/vm/code/exceptionHandlerTable.hpp10
-rw-r--r--src/share/vm/code/icBuffer.cpp28
-rw-r--r--src/share/vm/code/icBuffer.hpp11
-rw-r--r--src/share/vm/code/location.cpp7
-rw-r--r--src/share/vm/code/location.hpp11
-rw-r--r--src/share/vm/code/nmethod.cpp22
-rw-r--r--src/share/vm/code/nmethod.hpp8
-rw-r--r--src/share/vm/code/oopRecorder.cpp6
-rw-r--r--src/share/vm/code/oopRecorder.hpp8
-rw-r--r--src/share/vm/code/pcDesc.cpp8
-rw-r--r--src/share/vm/code/pcDesc.hpp9
-rw-r--r--src/share/vm/code/relocInfo.cpp21
-rw-r--r--src/share/vm/code/relocInfo.hpp19
-rw-r--r--src/share/vm/code/scopeDesc.cpp9
-rw-r--r--src/share/vm/code/scopeDesc.hpp12
-rw-r--r--src/share/vm/code/stubs.cpp8
-rw-r--r--src/share/vm/code/stubs.hpp18
-rw-r--r--src/share/vm/code/vmreg.cpp7
-rw-r--r--src/share/vm/code/vmreg.hpp46
-rw-r--r--src/share/vm/code/vtableStubs.cpp18
-rw-r--r--src/share/vm/code/vtableStubs.hpp9
-rw-r--r--src/share/vm/compiler/abstractCompiler.cpp7
-rw-r--r--src/share/vm/compiler/abstractCompiler.hpp7
-rw-r--r--src/share/vm/compiler/compileBroker.cpp33
-rw-r--r--src/share/vm/compiler/compileBroker.hpp9
-rw-r--r--src/share/vm/compiler/compileLog.cpp11
-rw-r--r--src/share/vm/compiler/compileLog.hpp9
-rw-r--r--src/share/vm/compiler/compilerOracle.cpp15
-rw-r--r--src/share/vm/compiler/compilerOracle.hpp10
-rw-r--r--src/share/vm/compiler/disassembler.cpp25
-rw-r--r--src/share/vm/compiler/disassembler.hpp29
-rw-r--r--src/share/vm/compiler/methodLiveness.cpp15
-rw-r--r--src/share/vm/compiler/methodLiveness.hpp10
-rw-r--r--src/share/vm/compiler/oopMap.cpp18
-rw-r--r--src/share/vm/compiler/oopMap.hpp12
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.cpp11
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp10
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.cpp19
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp10
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.cpp30
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.hpp7
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.cpp7
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp12
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.cpp8
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp9
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp9
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.inline.hpp10
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.cpp15
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.hpp10
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp21
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp11
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp35
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp18
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp14
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.cpp16
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp17
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.cpp15
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp15
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.cpp7
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp13
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp11
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/freeList.hpp9
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.cpp7
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.hpp8
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp12
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.hpp12
-rw-r--r--src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp7
-rw-r--r--src/share/vm/gc_implementation/g1/bufferingOopClosure.hpp12
-rw-r--r--src/share/vm/gc_implementation/g1/collectionSetChooser.cpp9
-rw-r--r--src/share/vm/gc_implementation/g1/collectionSetChooser.hpp10
-rw-r--r--src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp12
-rw-r--r--src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp10
-rw-r--r--src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp10
-rw-r--r--src/share/vm/gc_implementation/g1/concurrentG1RefineThread.hpp9
-rw-r--r--src/share/vm/gc_implementation/g1/concurrentMark.cpp17
-rw-r--r--src/share/vm/gc_implementation/g1/concurrentMark.hpp8
-rw-r--r--src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp12
-rw-r--r--src/share/vm/gc_implementation/g1/concurrentMarkThread.hpp9
-rw-r--r--src/share/vm/gc_implementation/g1/concurrentMarkThread.inline.hpp10
-rw-r--r--src/share/vm/gc_implementation/g1/concurrentZFThread.cpp11
-rw-r--r--src/share/vm/gc_implementation/g1/concurrentZFThread.hpp9
-rw-r--r--src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp19
-rw-r--r--src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp8
-rw-r--r--src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp9
-rw-r--r--src/share/vm/gc_implementation/g1/g1BlockOffsetTable.hpp11
-rw-r--r--src/share/vm/gc_implementation/g1/g1BlockOffsetTable.inline.hpp10
-rw-r--r--src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp25
-rw-r--r--src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp13
-rw-r--r--src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp12
-rw-r--r--src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp14
-rw-r--r--src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp9
-rw-r--r--src/share/vm/gc_implementation/g1/g1MMUTracker.cpp8
-rw-r--r--src/share/vm/gc_implementation/g1/g1MMUTracker.hpp10
-rw-r--r--src/share/vm/gc_implementation/g1/g1MarkSweep.cpp26
-rw-r--r--src/share/vm/gc_implementation/g1/g1MarkSweep.hpp17
-rw-r--r--src/share/vm/gc_implementation/g1/g1OopClosures.hpp7
-rw-r--r--src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp10
-rw-r--r--src/share/vm/gc_implementation/g1/g1RemSet.cpp15
-rw-r--r--src/share/vm/gc_implementation/g1/g1RemSet.hpp5
-rw-r--r--src/share/vm/gc_implementation/g1/g1RemSet.inline.hpp9
-rw-r--r--src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp19
-rw-r--r--src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp11
-rw-r--r--src/share/vm/gc_implementation/g1/g1_globals.cpp6
-rw-r--r--src/share/vm/gc_implementation/g1/g1_globals.hpp7
-rw-r--r--src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp7
-rw-r--r--src/share/vm/gc_implementation/g1/heapRegion.cpp13
-rw-r--r--src/share/vm/gc_implementation/g1/heapRegion.hpp13
-rw-r--r--src/share/vm/gc_implementation/g1/heapRegion.inline.hpp7
-rw-r--r--src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp14
-rw-r--r--src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp9
-rw-r--r--src/share/vm/gc_implementation/g1/heapRegionSeq.cpp8
-rw-r--r--src/share/vm/gc_implementation/g1/heapRegionSeq.hpp10
-rw-r--r--src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp9
-rw-r--r--src/share/vm/gc_implementation/g1/ptrQueue.cpp19
-rw-r--r--src/share/vm/gc_implementation/g1/ptrQueue.hpp10
-rw-r--r--src/share/vm/gc_implementation/g1/satbQueue.cpp10
-rw-r--r--src/share/vm/gc_implementation/g1/satbQueue.hpp9
-rw-r--r--src/share/vm/gc_implementation/g1/sparsePRT.cpp12
-rw-r--r--src/share/vm/gc_implementation/g1/sparsePRT.hpp14
-rw-r--r--src/share/vm/gc_implementation/g1/survRateGroup.cpp8
-rw-r--r--src/share/vm/gc_implementation/g1/survRateGroup.hpp7
-rw-r--r--src/share/vm/gc_implementation/g1/vm_operations_g1.cpp10
-rw-r--r--src/share/vm/gc_implementation/g1/vm_operations_g1.hpp9
-rw-r--r--src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep258
-rw-r--r--src/share/vm/gc_implementation/includeDB_gc_g1379
-rw-r--r--src/share/vm/gc_implementation/includeDB_gc_parNew92
-rw-r--r--src/share/vm/gc_implementation/includeDB_gc_parallelScavenge467
-rw-r--r--src/share/vm/gc_implementation/includeDB_gc_serial127
-rw-r--r--src/share/vm/gc_implementation/includeDB_gc_shared90
-rw-r--r--src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp15
-rw-r--r--src/share/vm/gc_implementation/parNew/asParNewGeneration.hpp10
-rw-r--r--src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp12
-rw-r--r--src/share/vm/gc_implementation/parNew/parGCAllocBuffer.cpp9
-rw-r--r--src/share/vm/gc_implementation/parNew/parGCAllocBuffer.hpp11
-rw-r--r--src/share/vm/gc_implementation/parNew/parNewGeneration.cpp29
-rw-r--r--src/share/vm/gc_implementation/parNew/parNewGeneration.hpp9
-rw-r--r--src/share/vm/gc_implementation/parNew/parOopClosures.hpp7
-rw-r--r--src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp11
-rw-r--r--src/share/vm/gc_implementation/parNew/vmStructs_parNew.hpp7
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.cpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.hpp12
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/adjoiningVirtualSpaces.cpp7
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/adjoiningVirtualSpaces.hpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.cpp12
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.hpp14
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.cpp14
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.hpp15
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp10
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.hpp7
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.cpp11
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.hpp10
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.cpp14
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.hpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/generationSizer.hpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp10
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/objectStartArray.hpp12
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.cpp20
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.hpp10
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.inline.hpp7
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp21
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp14
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.inline.hpp12
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/pcTasks.cpp20
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/pcTasks.hpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp12
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp10
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.cpp16
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp8
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.cpp6
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.cpp7
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.hpp11
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp30
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.hpp11
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psMarkSweepDecorator.cpp14
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp14
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psOldGen.hpp14
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp35
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp14
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psPermGen.cpp12
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psPermGen.hpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.cpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.hpp10
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.cpp11
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp8
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp30
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp14
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psScavenge.inline.hpp12
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psTasks.cpp21
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psTasks.hpp10
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.cpp17
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.hpp9
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp14
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp13
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp12
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.hpp11
-rw-r--r--src/share/vm/gc_implementation/parallelScavenge/vmStructs_parallelgc.hpp7
-rw-r--r--src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp8
-rw-r--r--src/share/vm/gc_implementation/shared/adaptiveSizePolicy.hpp11
-rw-r--r--src/share/vm/gc_implementation/shared/ageTable.cpp13
-rw-r--r--src/share/vm/gc_implementation/shared/ageTable.hpp11
-rw-r--r--src/share/vm/gc_implementation/shared/allocationStats.cpp9
-rw-r--r--src/share/vm/gc_implementation/shared/allocationStats.hpp13
-rw-r--r--src/share/vm/gc_implementation/shared/cSpaceCounters.cpp7
-rw-r--r--src/share/vm/gc_implementation/shared/cSpaceCounters.hpp11
-rw-r--r--src/share/vm/gc_implementation/shared/collectorCounters.cpp7
-rw-r--r--src/share/vm/gc_implementation/shared/collectorCounters.hpp9
-rw-r--r--src/share/vm/gc_implementation/shared/concurrentGCThread.cpp15
-rw-r--r--src/share/vm/gc_implementation/shared/concurrentGCThread.hpp11
-rw-r--r--src/share/vm/gc_implementation/shared/gSpaceCounters.cpp10
-rw-r--r--src/share/vm/gc_implementation/shared/gSpaceCounters.hpp13
-rw-r--r--src/share/vm/gc_implementation/shared/gcAdaptivePolicyCounters.cpp7
-rw-r--r--src/share/vm/gc_implementation/shared/gcAdaptivePolicyCounters.hpp12
-rw-r--r--src/share/vm/gc_implementation/shared/gcPolicyCounters.cpp7
-rw-r--r--src/share/vm/gc_implementation/shared/gcPolicyCounters.hpp9
-rw-r--r--src/share/vm/gc_implementation/shared/gcStats.cpp7
-rw-r--r--src/share/vm/gc_implementation/shared/gcStats.hpp9
-rw-r--r--src/share/vm/gc_implementation/shared/gcUtil.cpp6
-rw-r--r--src/share/vm/gc_implementation/shared/gcUtil.hpp13
-rw-r--r--src/share/vm/gc_implementation/shared/generationCounters.cpp7
-rw-r--r--src/share/vm/gc_implementation/shared/generationCounters.hpp10
-rw-r--r--src/share/vm/gc_implementation/shared/immutableSpace.cpp10
-rw-r--r--src/share/vm/gc_implementation/shared/immutableSpace.hpp9
-rw-r--r--src/share/vm/gc_implementation/shared/isGCActiveMark.hpp11
-rw-r--r--src/share/vm/gc_implementation/shared/liveRange.hpp10
-rw-r--r--src/share/vm/gc_implementation/shared/markSweep.cpp11
-rw-r--r--src/share/vm/gc_implementation/shared/markSweep.hpp16
-rw-r--r--src/share/vm/gc_implementation/shared/markSweep.inline.hpp14
-rw-r--r--src/share/vm/gc_implementation/shared/mutableNUMASpace.cpp18
-rw-r--r--src/share/vm/gc_implementation/shared/mutableNUMASpace.hpp12
-rw-r--r--src/share/vm/gc_implementation/shared/mutableSpace.cpp12
-rw-r--r--src/share/vm/gc_implementation/shared/mutableSpace.hpp11
-rw-r--r--src/share/vm/gc_implementation/shared/spaceCounters.cpp9
-rw-r--r--src/share/vm/gc_implementation/shared/spaceCounters.hpp14
-rw-r--r--src/share/vm/gc_implementation/shared/spaceDecorator.cpp8
-rw-r--r--src/share/vm/gc_implementation/shared/spaceDecorator.hpp11
-rw-r--r--src/share/vm/gc_implementation/shared/vmGCOperations.cpp22
-rw-r--r--src/share/vm/gc_implementation/shared/vmGCOperations.hpp11
-rw-r--r--src/share/vm/gc_interface/collectedHeap.cpp19
-rw-r--r--src/share/vm/gc_interface/collectedHeap.hpp12
-rw-r--r--src/share/vm/gc_interface/collectedHeap.inline.hpp26
-rw-r--r--src/share/vm/gc_interface/gcCause.cpp6
-rw-r--r--src/share/vm/gc_interface/gcCause.hpp9
-rw-r--r--src/share/vm/includeDB_compiler1454
-rw-r--r--src/share/vm/includeDB_compiler21164
-rw-r--r--src/share/vm/includeDB_core4788
-rw-r--r--src/share/vm/includeDB_features333
-rw-r--r--src/share/vm/includeDB_gc57
-rw-r--r--src/share/vm/includeDB_gc_parallel184
-rw-r--r--src/share/vm/includeDB_jvmti266
-rw-r--r--src/share/vm/includeDB_shark371
-rw-r--r--src/share/vm/includeDB_zero68
-rw-r--r--src/share/vm/interpreter/abstractInterpreter.hpp31
-rw-r--r--src/share/vm/interpreter/bytecode.cpp11
-rw-r--r--src/share/vm/interpreter/bytecode.hpp18
-rw-r--r--src/share/vm/interpreter/bytecodeHistogram.cpp9
-rw-r--r--src/share/vm/interpreter/bytecodeHistogram.hpp10
-rw-r--r--src/share/vm/interpreter/bytecodeInterpreter.cpp40
-rw-r--r--src/share/vm/interpreter/bytecodeInterpreter.hpp33
-rw-r--r--src/share/vm/interpreter/bytecodeInterpreter.inline.hpp21
-rw-r--r--src/share/vm/interpreter/bytecodeInterpreterWithChecks.xsl4
-rw-r--r--src/share/vm/interpreter/bytecodeStream.cpp5
-rw-r--r--src/share/vm/interpreter/bytecodeStream.hpp18
-rw-r--r--src/share/vm/interpreter/bytecodeTracer.cpp13
-rw-r--r--src/share/vm/interpreter/bytecodeTracer.hpp9
-rw-r--r--src/share/vm/interpreter/bytecodes.cpp15
-rw-r--r--src/share/vm/interpreter/bytecodes.hpp19
-rw-r--r--src/share/vm/interpreter/cppInterpreter.cpp9
-rw-r--r--src/share/vm/interpreter/cppInterpreter.hpp20
-rw-r--r--src/share/vm/interpreter/cppInterpreterGenerator.hpp18
-rw-r--r--src/share/vm/interpreter/interpreter.cpp21
-rw-r--r--src/share/vm/interpreter/interpreter.hpp25
-rw-r--r--src/share/vm/interpreter/interpreterGenerator.hpp23
-rw-r--r--src/share/vm/interpreter/interpreterRuntime.cpp48
-rw-r--r--src/share/vm/interpreter/interpreterRuntime.hpp33
-rw-r--r--src/share/vm/interpreter/invocationCounter.cpp6
-rw-r--r--src/share/vm/interpreter/invocationCounter.hpp9
-rw-r--r--src/share/vm/interpreter/linkResolver.cpp32
-rw-r--r--src/share/vm/interpreter/linkResolver.hpp10
-rw-r--r--src/share/vm/interpreter/oopMapCache.cpp12
-rw-r--r--src/share/vm/interpreter/oopMapCache.hpp9
-rw-r--r--src/share/vm/interpreter/rewriter.cpp13
-rw-r--r--src/share/vm/interpreter/rewriter.hpp9
-rw-r--r--src/share/vm/interpreter/templateInterpreter.cpp9
-rw-r--r--src/share/vm/interpreter/templateInterpreter.hpp21
-rw-r--r--src/share/vm/interpreter/templateInterpreterGenerator.hpp18
-rw-r--r--src/share/vm/interpreter/templateTable.cpp6
-rw-r--r--src/share/vm/interpreter/templateTable.hpp35
-rw-r--r--src/share/vm/libadt/dict.cpp11
-rw-r--r--src/share/vm/libadt/dict.hpp11
-rw-r--r--src/share/vm/libadt/port.cpp8
-rw-r--r--src/share/vm/libadt/port.hpp11
-rw-r--r--src/share/vm/libadt/set.cpp9
-rw-r--r--src/share/vm/libadt/set.hpp16
-rw-r--r--src/share/vm/libadt/vectset.cpp9
-rw-r--r--src/share/vm/libadt/vectset.hpp11
-rw-r--r--src/share/vm/memory/allocation.cpp21
-rw-r--r--src/share/vm/memory/allocation.hpp16
-rw-r--r--src/share/vm/memory/allocation.inline.hpp9
-rw-r--r--src/share/vm/memory/barrierSet.cpp8
-rw-r--r--src/share/vm/memory/barrierSet.hpp10
-rw-r--r--src/share/vm/memory/barrierSet.inline.hpp10
-rw-r--r--src/share/vm/memory/blockOffsetTable.cpp10
-rw-r--r--src/share/vm/memory/blockOffsetTable.hpp9
-rw-r--r--src/share/vm/memory/blockOffsetTable.inline.hpp12
-rw-r--r--src/share/vm/memory/cardTableModRefBS.cpp19
-rw-r--r--src/share/vm/memory/cardTableModRefBS.hpp9
-rw-r--r--src/share/vm/memory/cardTableRS.cpp17
-rw-r--r--src/share/vm/memory/cardTableRS.hpp11
-rw-r--r--src/share/vm/memory/classify.cpp7
-rw-r--r--src/share/vm/memory/classify.hpp9
-rw-r--r--src/share/vm/memory/collectorPolicy.cpp31
-rw-r--r--src/share/vm/memory/collectorPolicy.hpp9
-rw-r--r--src/share/vm/memory/compactPermGen.hpp10
-rw-r--r--src/share/vm/memory/compactingPermGenGen.cpp17
-rw-r--r--src/share/vm/memory/compactingPermGenGen.hpp10
-rw-r--r--src/share/vm/memory/defNewGeneration.cpp28
-rw-r--r--src/share/vm/memory/defNewGeneration.hpp13
-rw-r--r--src/share/vm/memory/defNewGeneration.inline.hpp11
-rw-r--r--src/share/vm/memory/dump.cpp21
-rw-r--r--src/share/vm/memory/filemap.cpp22
-rw-r--r--src/share/vm/memory/filemap.hpp10
-rw-r--r--src/share/vm/memory/gcLocker.cpp8
-rw-r--r--src/share/vm/memory/gcLocker.hpp24
-rw-r--r--src/share/vm/memory/gcLocker.inline.hpp9
-rw-r--r--src/share/vm/memory/genCollectedHeap.cpp37
-rw-r--r--src/share/vm/memory/genCollectedHeap.hpp10
-rw-r--r--src/share/vm/memory/genMarkSweep.cpp35
-rw-r--r--src/share/vm/memory/genMarkSweep.hpp9
-rw-r--r--src/share/vm/memory/genOopClosures.hpp10
-rw-r--r--src/share/vm/memory/genOopClosures.inline.hpp16
-rw-r--r--src/share/vm/memory/genRemSet.cpp9
-rw-r--r--src/share/vm/memory/genRemSet.hpp9
-rw-r--r--src/share/vm/memory/genRemSet.inline.hpp7
-rw-r--r--src/share/vm/memory/generation.cpp22
-rw-r--r--src/share/vm/memory/generation.hpp17
-rw-r--r--src/share/vm/memory/generation.inline.hpp11
-rw-r--r--src/share/vm/memory/generationSpec.cpp17
-rw-r--r--src/share/vm/memory/generationSpec.hpp10
-rw-r--r--src/share/vm/memory/heap.cpp8
-rw-r--r--src/share/vm/memory/heap.hpp8
-rw-r--r--src/share/vm/memory/heapInspection.cpp15
-rw-r--r--src/share/vm/memory/heapInspection.hpp10
-rw-r--r--src/share/vm/memory/iterator.cpp5
-rw-r--r--src/share/vm/memory/iterator.hpp12
-rw-r--r--src/share/vm/memory/memRegion.cpp9
-rw-r--r--src/share/vm/memory/memRegion.hpp11
-rw-r--r--src/share/vm/memory/modRefBarrierSet.hpp9
-rw-r--r--src/share/vm/memory/oopFactory.cpp26
-rw-r--r--src/share/vm/memory/oopFactory.hpp16
-rw-r--r--src/share/vm/memory/permGen.cpp17
-rw-r--r--src/share/vm/memory/permGen.hpp12
-rw-r--r--src/share/vm/memory/referencePolicy.cpp10
-rw-r--r--src/share/vm/memory/referencePolicy.hpp7
-rw-r--r--src/share/vm/memory/referenceProcessor.cpp12
-rw-r--r--src/share/vm/memory/referenceProcessor.hpp8
-rw-r--r--src/share/vm/memory/resourceArea.cpp17
-rw-r--r--src/share/vm/memory/resourceArea.hpp18
-rw-r--r--src/share/vm/memory/restore.cpp10
-rw-r--r--src/share/vm/memory/serialize.cpp14
-rw-r--r--src/share/vm/memory/sharedHeap.cpp14
-rw-r--r--src/share/vm/memory/sharedHeap.hpp9
-rw-r--r--src/share/vm/memory/space.cpp22
-rw-r--r--src/share/vm/memory/space.hpp27
-rw-r--r--src/share/vm/memory/space.inline.hpp12
-rw-r--r--src/share/vm/memory/specialized_oop_closures.cpp7
-rw-r--r--src/share/vm/memory/specialized_oop_closures.hpp12
-rw-r--r--src/share/vm/memory/tenuredGeneration.cpp15
-rw-r--r--src/share/vm/memory/tenuredGeneration.hpp12
-rw-r--r--src/share/vm/memory/threadLocalAllocBuffer.cpp22
-rw-r--r--src/share/vm/memory/threadLocalAllocBuffer.hpp11
-rw-r--r--src/share/vm/memory/threadLocalAllocBuffer.inline.hpp12
-rw-r--r--src/share/vm/memory/universe.cpp78
-rw-r--r--src/share/vm/memory/universe.hpp8
-rw-r--r--src/share/vm/memory/universe.inline.hpp9
-rw-r--r--src/share/vm/memory/watermark.hpp10
-rw-r--r--src/share/vm/oops/arrayKlass.cpp18
-rw-r--r--src/share/vm/oops/arrayKlass.hpp12
-rw-r--r--src/share/vm/oops/arrayKlassKlass.cpp10
-rw-r--r--src/share/vm/oops/arrayKlassKlass.hpp10
-rw-r--r--src/share/vm/oops/arrayOop.cpp9
-rw-r--r--src/share/vm/oops/arrayOop.hpp10
-rw-r--r--src/share/vm/oops/compiledICHolderKlass.cpp18
-rw-r--r--src/share/vm/oops/compiledICHolderKlass.hpp11
-rw-r--r--src/share/vm/oops/compiledICHolderOop.cpp6
-rw-r--r--src/share/vm/oops/compiledICHolderOop.hpp9
-rw-r--r--src/share/vm/oops/constMethodKlass.cpp14
-rw-r--r--src/share/vm/oops/constMethodKlass.hpp11
-rw-r--r--src/share/vm/oops/constMethodOop.cpp7
-rw-r--r--src/share/vm/oops/constMethodOop.hpp10
-rw-r--r--src/share/vm/oops/constantPoolKlass.cpp31
-rw-r--r--src/share/vm/oops/constantPoolKlass.hpp10
-rw-r--r--src/share/vm/oops/constantPoolOop.cpp18
-rw-r--r--src/share/vm/oops/constantPoolOop.hpp19
-rw-r--r--src/share/vm/oops/cpCacheKlass.cpp22
-rw-r--r--src/share/vm/oops/cpCacheKlass.hpp11
-rw-r--r--src/share/vm/oops/cpCacheOop.cpp12
-rw-r--r--src/share/vm/oops/cpCacheOop.hpp10
-rw-r--r--src/share/vm/oops/generateOopMap.cpp13
-rw-r--r--src/share/vm/oops/generateOopMap.hpp14
-rw-r--r--src/share/vm/oops/instanceKlass.cpp52
-rw-r--r--src/share/vm/oops/instanceKlass.hpp16
-rw-r--r--src/share/vm/oops/instanceKlassKlass.cpp30
-rw-r--r--src/share/vm/oops/instanceKlassKlass.hpp9
-rw-r--r--src/share/vm/oops/instanceOop.cpp6
-rw-r--r--src/share/vm/oops/instanceOop.hpp9
-rw-r--r--src/share/vm/oops/instanceRefKlass.cpp25
-rw-r--r--src/share/vm/oops/instanceRefKlass.hpp9
-rw-r--r--src/share/vm/oops/klass.cpp16
-rw-r--r--src/share/vm/oops/klass.hpp22
-rw-r--r--src/share/vm/oops/klass.inline.hpp10
-rw-r--r--src/share/vm/oops/klassKlass.cpp26
-rw-r--r--src/share/vm/oops/klassKlass.hpp11
-rw-r--r--src/share/vm/oops/klassOop.cpp7
-rw-r--r--src/share/vm/oops/klassOop.hpp9
-rw-r--r--src/share/vm/oops/klassPS.hpp9
-rw-r--r--src/share/vm/oops/klassVtable.cpp21
-rw-r--r--src/share/vm/oops/klassVtable.hpp12
-rw-r--r--src/share/vm/oops/markOop.cpp15
-rw-r--r--src/share/vm/oops/markOop.hpp9
-rw-r--r--src/share/vm/oops/markOop.inline.hpp12
-rw-r--r--src/share/vm/oops/methodDataKlass.cpp20
-rw-r--r--src/share/vm/oops/methodDataKlass.hpp9
-rw-r--r--src/share/vm/oops/methodDataOop.cpp13
-rw-r--r--src/share/vm/oops/methodDataOop.hpp11
-rw-r--r--src/share/vm/oops/methodKlass.cpp18
-rw-r--r--src/share/vm/oops/methodKlass.hpp11
-rw-r--r--src/share/vm/oops/methodOop.cpp30
-rw-r--r--src/share/vm/oops/methodOop.hpp17
-rw-r--r--src/share/vm/oops/objArrayKlass.cpp34
-rw-r--r--src/share/vm/oops/objArrayKlass.hpp11
-rw-r--r--src/share/vm/oops/objArrayKlass.inline.hpp11
-rw-r--r--src/share/vm/oops/objArrayKlassKlass.cpp13
-rw-r--r--src/share/vm/oops/objArrayKlassKlass.hpp10
-rw-r--r--src/share/vm/oops/objArrayOop.cpp8
-rw-r--r--src/share/vm/oops/objArrayOop.hpp9
-rw-r--r--src/share/vm/oops/oop.cpp18
-rw-r--r--src/share/vm/oops/oop.hpp20
-rw-r--r--src/share/vm/oops/oop.inline.hpp35
-rw-r--r--src/share/vm/oops/oop.inline2.hpp13
-rw-r--r--src/share/vm/oops/oop.pcgc.inline.hpp16
-rw-r--r--src/share/vm/oops/oop.psgc.inline.hpp13
-rw-r--r--src/share/vm/oops/oopsHierarchy.cpp19
-rw-r--r--src/share/vm/oops/oopsHierarchy.hpp10
-rw-r--r--src/share/vm/oops/symbolKlass.cpp11
-rw-r--r--src/share/vm/oops/symbolKlass.hpp9
-rw-r--r--src/share/vm/oops/symbolOop.cpp7
-rw-r--r--src/share/vm/oops/symbolOop.hpp10
-rw-r--r--src/share/vm/oops/typeArrayKlass.cpp19
-rw-r--r--src/share/vm/oops/typeArrayKlass.hpp9
-rw-r--r--src/share/vm/oops/typeArrayKlassKlass.cpp9
-rw-r--r--src/share/vm/oops/typeArrayKlassKlass.hpp10
-rw-r--r--src/share/vm/oops/typeArrayOop.cpp7
-rw-r--r--src/share/vm/oops/typeArrayOop.hpp28
-rw-r--r--src/share/vm/opto/addnode.cpp15
-rw-r--r--src/share/vm/opto/addnode.hpp11
-rw-r--r--src/share/vm/opto/adlcVMDeps.hpp13
-rw-r--r--src/share/vm/opto/block.cpp18
-rw-r--r--src/share/vm/opto/block.hpp11
-rw-r--r--src/share/vm/opto/buildOopMap.cpp23
-rw-r--r--src/share/vm/opto/bytecodeInfo.cpp11
-rw-r--r--src/share/vm/opto/c2_globals.cpp6
-rw-r--r--src/share/vm/opto/c2_globals.hpp24
-rw-r--r--src/share/vm/opto/c2compiler.cpp17
-rw-r--r--src/share/vm/opto/c2compiler.hpp9
-rw-r--r--src/share/vm/opto/callGenerator.cpp17
-rw-r--r--src/share/vm/opto/callGenerator.hpp12
-rw-r--r--src/share/vm/opto/callnode.cpp19
-rw-r--r--src/share/vm/opto/callnode.hpp14
-rw-r--r--src/share/vm/opto/cfgnode.cpp20
-rw-r--r--src/share/vm/opto/cfgnode.hpp12
-rw-r--r--src/share/vm/opto/chaitin.cpp21
-rw-r--r--src/share/vm/opto/chaitin.hpp17
-rw-r--r--src/share/vm/opto/classes.cpp20
-rw-r--r--src/share/vm/opto/coalesce.cpp15
-rw-r--r--src/share/vm/opto/coalesce.hpp9
-rw-r--r--src/share/vm/opto/compile.cpp54
-rw-r--r--src/share/vm/opto/compile.hpp20
-rw-r--r--src/share/vm/opto/connode.cpp17
-rw-r--r--src/share/vm/opto/connode.hpp11
-rw-r--r--src/share/vm/opto/divnode.cpp13
-rw-r--r--src/share/vm/opto/divnode.hpp12
-rw-r--r--src/share/vm/opto/doCall.cpp19
-rw-r--r--src/share/vm/opto/domgraph.cpp13
-rw-r--r--src/share/vm/opto/escape.cpp15
-rw-r--r--src/share/vm/opto/escape.hpp11
-rw-r--r--src/share/vm/opto/gcm.cpp31
-rw-r--r--src/share/vm/opto/generateOptoStub.cpp19
-rw-r--r--src/share/vm/opto/graphKit.cpp19
-rw-r--r--src/share/vm/opto/graphKit.hpp18
-rw-r--r--src/share/vm/opto/idealGraphPrinter.cpp10
-rw-r--r--src/share/vm/opto/idealGraphPrinter.hpp13
-rw-r--r--src/share/vm/opto/idealKit.cpp10
-rw-r--r--src/share/vm/opto/idealKit.hpp16
-rw-r--r--src/share/vm/opto/ifg.cpp16
-rw-r--r--src/share/vm/opto/ifnode.cpp14
-rw-r--r--src/share/vm/opto/indexSet.cpp12
-rw-r--r--src/share/vm/opto/indexSet.hpp12
-rw-r--r--src/share/vm/opto/lcm.cpp24
-rw-r--r--src/share/vm/opto/library_call.cpp17
-rw-r--r--src/share/vm/opto/live.cpp10
-rw-r--r--src/share/vm/opto/live.hpp14
-rw-r--r--src/share/vm/opto/locknode.cpp9
-rw-r--r--src/share/vm/opto/locknode.hpp23
-rw-r--r--src/share/vm/opto/loopTransform.cpp14
-rw-r--r--src/share/vm/opto/loopUnswitch.cpp9
-rw-r--r--src/share/vm/opto/loopnode.cpp18
-rw-r--r--src/share/vm/opto/loopnode.hpp13
-rw-r--r--src/share/vm/opto/loopopts.cpp11
-rw-r--r--src/share/vm/opto/machnode.cpp8
-rw-r--r--src/share/vm/opto/machnode.hpp11
-rw-r--r--src/share/vm/opto/macro.cpp23
-rw-r--r--src/share/vm/opto/macro.hpp9
-rw-r--r--src/share/vm/opto/matcher.cpp30
-rw-r--r--src/share/vm/opto/matcher.hpp11
-rw-r--r--src/share/vm/opto/memnode.cpp22
-rw-r--r--src/share/vm/opto/memnode.hpp12
-rw-r--r--src/share/vm/opto/mulnode.cpp14
-rw-r--r--src/share/vm/opto/mulnode.hpp11
-rw-r--r--src/share/vm/opto/multnode.cpp11
-rw-r--r--src/share/vm/opto/multnode.hpp9
-rw-r--r--src/share/vm/opto/node.cpp16
-rw-r--r--src/share/vm/opto/node.hpp12
-rw-r--r--src/share/vm/opto/opcodes.cpp4
-rw-r--r--src/share/vm/opto/opcodes.hpp7
-rw-r--r--src/share/vm/opto/optoreg.hpp7
-rw-r--r--src/share/vm/opto/output.cpp20
-rw-r--r--src/share/vm/opto/output.hpp22
-rw-r--r--src/share/vm/opto/parse.hpp15
-rw-r--r--src/share/vm/opto/parse1.cpp17
-rw-r--r--src/share/vm/opto/parse2.cpp19
-rw-r--r--src/share/vm/opto/parse3.cpp15
-rw-r--r--src/share/vm/opto/parseHelper.cpp13
-rw-r--r--src/share/vm/opto/phase.cpp10
-rw-r--r--src/share/vm/opto/phase.hpp10
-rw-r--r--src/share/vm/opto/phaseX.cpp17
-rw-r--r--src/share/vm/opto/phaseX.hpp15
-rw-r--r--src/share/vm/opto/postaloc.cpp8
-rw-r--r--src/share/vm/opto/reg_split.cpp14
-rw-r--r--src/share/vm/opto/regalloc.cpp6
-rw-r--r--src/share/vm/opto/regalloc.hpp12
-rw-r--r--src/share/vm/opto/regmask.cpp19
-rw-r--r--src/share/vm/opto/regmask.hpp23
-rw-r--r--src/share/vm/opto/rootnode.cpp13
-rw-r--r--src/share/vm/opto/rootnode.hpp9
-rw-r--r--src/share/vm/opto/runtime.cpp60
-rw-r--r--src/share/vm/opto/runtime.hpp14
-rw-r--r--src/share/vm/opto/split_if.cpp7
-rw-r--r--src/share/vm/opto/stringopts.cpp14
-rw-r--r--src/share/vm/opto/stringopts.hpp10
-rw-r--r--src/share/vm/opto/subnode.cpp17
-rw-r--r--src/share/vm/opto/subnode.hpp9
-rw-r--r--src/share/vm/opto/superword.cpp15
-rw-r--r--src/share/vm/opto/superword.hpp14
-rw-r--r--src/share/vm/opto/type.cpp23
-rw-r--r--src/share/vm/opto/type.hpp11
-rw-r--r--src/share/vm/opto/vectornode.cpp8
-rw-r--r--src/share/vm/opto/vectornode.hpp12
-rw-r--r--src/share/vm/precompiled.hpp327
-rw-r--r--src/share/vm/prims/evmCompat.cpp8
-rw-r--r--src/share/vm/prims/forte.cpp16
-rw-r--r--src/share/vm/prims/forte.hpp7
-rw-r--r--src/share/vm/prims/hpi_imported.h10
-rw-r--r--src/share/vm/prims/jni.cpp70
-rw-r--r--src/share/vm/prims/jni.h2
-rw-r--r--src/share/vm/prims/jniCheck.cpp27
-rw-r--r--src/share/vm/prims/jniCheck.hpp11
-rw-r--r--src/share/vm/prims/jniFastGetField.cpp6
-rw-r--r--src/share/vm/prims/jniFastGetField.hpp10
-rw-r--r--src/share/vm/prims/jni_md.h13
-rw-r--r--src/share/vm/prims/jvm.cpp59
-rw-r--r--src/share/vm/prims/jvm.h18
-rw-r--r--src/share/vm/prims/jvm_misc.hpp10
-rw-r--r--src/share/vm/prims/jvmtiAgentThread.hpp9
-rw-r--r--src/share/vm/prims/jvmtiClassFileReconstituter.cpp16
-rw-r--r--src/share/vm/prims/jvmtiClassFileReconstituter.hpp9
-rw-r--r--src/share/vm/prims/jvmtiCodeBlobEvents.cpp13
-rw-r--r--src/share/vm/prims/jvmtiCodeBlobEvents.hpp12
-rw-r--r--src/share/vm/prims/jvmtiEnter.hpp13
-rw-r--r--src/share/vm/prims/jvmtiEnter.xsl8
-rw-r--r--src/share/vm/prims/jvmtiEnv.cpp50
-rw-r--r--src/share/vm/prims/jvmtiEnv.xsl4
-rw-r--r--src/share/vm/prims/jvmtiEnvBase.cpp27
-rw-r--r--src/share/vm/prims/jvmtiEnvBase.hpp19
-rw-r--r--src/share/vm/prims/jvmtiEnvThreadState.cpp19
-rw-r--r--src/share/vm/prims/jvmtiEnvThreadState.hpp17
-rw-r--r--src/share/vm/prims/jvmtiEventController.cpp17
-rw-r--r--src/share/vm/prims/jvmtiEventController.hpp13
-rw-r--r--src/share/vm/prims/jvmtiEventController.inline.hpp11
-rw-r--r--src/share/vm/prims/jvmtiExport.cpp33
-rw-r--r--src/share/vm/prims/jvmtiExport.hpp17
-rw-r--r--src/share/vm/prims/jvmtiExtensions.cpp7
-rw-r--r--src/share/vm/prims/jvmtiExtensions.hpp13
-rw-r--r--src/share/vm/prims/jvmtiGetLoadedClasses.cpp9
-rw-r--r--src/share/vm/prims/jvmtiGetLoadedClasses.hpp9
-rw-r--r--src/share/vm/prims/jvmtiHpp.xsl11
-rw-r--r--src/share/vm/prims/jvmtiImpl.cpp33
-rw-r--r--src/share/vm/prims/jvmtiImpl.hpp19
-rw-r--r--src/share/vm/prims/jvmtiManageCapabilities.cpp6
-rw-r--r--src/share/vm/prims/jvmtiManageCapabilities.hpp11
-rw-r--r--src/share/vm/prims/jvmtiRawMonitor.cpp8
-rw-r--r--src/share/vm/prims/jvmtiRawMonitor.hpp12
-rw-r--r--src/share/vm/prims/jvmtiRedefineClasses.cpp19
-rw-r--r--src/share/vm/prims/jvmtiRedefineClasses.hpp15
-rw-r--r--src/share/vm/prims/jvmtiRedefineClassesTrace.hpp7
-rw-r--r--src/share/vm/prims/jvmtiTagMap.cpp29
-rw-r--r--src/share/vm/prims/jvmtiTagMap.hpp17
-rw-r--r--src/share/vm/prims/jvmtiThreadState.cpp12
-rw-r--r--src/share/vm/prims/jvmtiThreadState.hpp13
-rw-r--r--src/share/vm/prims/jvmtiThreadState.inline.hpp10
-rw-r--r--src/share/vm/prims/jvmtiTrace.cpp7
-rw-r--r--src/share/vm/prims/jvmtiTrace.hpp16
-rw-r--r--src/share/vm/prims/jvmtiUtil.cpp12
-rw-r--r--src/share/vm/prims/jvmtiUtil.hpp11
-rw-r--r--src/share/vm/prims/methodComparator.cpp9
-rw-r--r--src/share/vm/prims/methodComparator.hpp9
-rw-r--r--src/share/vm/prims/methodHandleWalk.cpp8
-rw-r--r--src/share/vm/prims/methodHandleWalk.hpp7
-rw-r--r--src/share/vm/prims/methodHandles.cpp14
-rw-r--r--src/share/vm/prims/methodHandles.hpp11
-rw-r--r--src/share/vm/prims/nativeLookup.cpp32
-rw-r--r--src/share/vm/prims/nativeLookup.hpp10
-rw-r--r--src/share/vm/prims/perf.cpp16
-rw-r--r--src/share/vm/prims/privilegedStack.cpp11
-rw-r--r--src/share/vm/prims/privilegedStack.hpp12
-rw-r--r--src/share/vm/prims/unsafe.cpp19
-rw-r--r--src/share/vm/runtime/aprofiler.cpp13
-rw-r--r--src/share/vm/runtime/aprofiler.hpp13
-rw-r--r--src/share/vm/runtime/arguments.cpp38
-rw-r--r--src/share/vm/runtime/arguments.hpp9
-rw-r--r--src/share/vm/runtime/atomic.cpp33
-rw-r--r--src/share/vm/runtime/atomic.hpp9
-rw-r--r--src/share/vm/runtime/basicLock.cpp5
-rw-r--r--src/share/vm/runtime/basicLock.hpp11
-rw-r--r--src/share/vm/runtime/biasedLocking.cpp13
-rw-r--r--src/share/vm/runtime/biasedLocking.hpp10
-rw-r--r--src/share/vm/runtime/compilationPolicy.cpp24
-rw-r--r--src/share/vm/runtime/compilationPolicy.hpp11
-rw-r--r--src/share/vm/runtime/deoptimization.cpp53
-rw-r--r--src/share/vm/runtime/deoptimization.hpp10
-rw-r--r--src/share/vm/runtime/dtraceJSDT.cpp15
-rw-r--r--src/share/vm/runtime/dtraceJSDT.hpp18
-rw-r--r--src/share/vm/runtime/extendedPC.hpp7
-rw-r--r--src/share/vm/runtime/fieldDescriptor.cpp13
-rw-r--r--src/share/vm/runtime/fieldDescriptor.hpp15
-rw-r--r--src/share/vm/runtime/fieldType.cpp11
-rw-r--r--src/share/vm/runtime/fieldType.hpp10
-rw-r--r--src/share/vm/runtime/fprofiler.cpp22
-rw-r--r--src/share/vm/runtime/fprofiler.hpp18
-rw-r--r--src/share/vm/runtime/frame.cpp30
-rw-r--r--src/share/vm/runtime/frame.hpp42
-rw-r--r--src/share/vm/runtime/frame.inline.hpp42
-rw-r--r--src/share/vm/runtime/globals.cpp22
-rw-r--r--src/share/vm/runtime/globals.hpp82
-rw-r--r--src/share/vm/runtime/globals_extension.hpp10
-rw-r--r--src/share/vm/runtime/handles.cpp20
-rw-r--r--src/share/vm/runtime/handles.hpp11
-rw-r--r--src/share/vm/runtime/handles.inline.hpp18
-rw-r--r--src/share/vm/runtime/hpi.cpp7
-rw-r--r--src/share/vm/runtime/hpi.hpp12
-rw-r--r--src/share/vm/runtime/icache.cpp5
-rw-r--r--src/share/vm/runtime/icache.hpp21
-rw-r--r--src/share/vm/runtime/init.cpp13
-rw-r--r--src/share/vm/runtime/init.hpp9
-rw-r--r--src/share/vm/runtime/interfaceSupport.cpp15
-rw-r--r--src/share/vm/runtime/interfaceSupport.hpp38
-rw-r--r--src/share/vm/runtime/java.cpp75
-rw-r--r--src/share/vm/runtime/java.hpp9
-rw-r--r--src/share/vm/runtime/javaCalls.cpp28
-rw-r--r--src/share/vm/runtime/javaCalls.hpp31
-rw-r--r--src/share/vm/runtime/javaFrameAnchor.hpp38
-rw-r--r--src/share/vm/runtime/jfieldIDWorkaround.hpp7
-rw-r--r--src/share/vm/runtime/jniHandles.cpp18
-rw-r--r--src/share/vm/runtime/jniHandles.hpp8
-rw-r--r--src/share/vm/runtime/jniPeriodicChecker.cpp8
-rw-r--r--src/share/vm/runtime/jniPeriodicChecker.hpp7
-rw-r--r--src/share/vm/runtime/memprofiler.cpp28
-rw-r--r--src/share/vm/runtime/memprofiler.hpp7
-rw-r--r--src/share/vm/runtime/monitorChunk.cpp8
-rw-r--r--src/share/vm/runtime/monitorChunk.hpp9
-rw-r--r--src/share/vm/runtime/mutex.cpp20
-rw-r--r--src/share/vm/runtime/mutex.hpp11
-rw-r--r--src/share/vm/runtime/mutexLocker.cpp18
-rw-r--r--src/share/vm/runtime/mutexLocker.hpp19
-rw-r--r--src/share/vm/runtime/objectMonitor.cpp32
-rw-r--r--src/share/vm/runtime/objectMonitor.hpp10
-rw-r--r--src/share/vm/runtime/objectMonitor.inline.hpp7
-rw-r--r--src/share/vm/runtime/orderAccess.cpp6
-rw-r--r--src/share/vm/runtime/orderAccess.hpp7
-rw-r--r--src/share/vm/runtime/os.cpp41
-rw-r--r--src/share/vm/runtime/os.hpp49
-rw-r--r--src/share/vm/runtime/osThread.cpp7
-rw-r--r--src/share/vm/runtime/osThread.hpp25
-rw-r--r--src/share/vm/runtime/park.cpp4
-rw-r--r--src/share/vm/runtime/park.hpp8
-rw-r--r--src/share/vm/runtime/perfData.cpp15
-rw-r--r--src/share/vm/runtime/perfData.hpp12
-rw-r--r--src/share/vm/runtime/perfMemory.cpp15
-rw-r--r--src/share/vm/runtime/perfMemory.hpp9
-rw-r--r--src/share/vm/runtime/prefetch.hpp9
-rw-r--r--src/share/vm/runtime/reflection.cpp24
-rw-r--r--src/share/vm/runtime/reflection.hpp13
-rw-r--r--src/share/vm/runtime/reflectionCompat.hpp7
-rw-r--r--src/share/vm/runtime/reflectionUtils.cpp8
-rw-r--r--src/share/vm/runtime/reflectionUtils.hpp16
-rw-r--r--src/share/vm/runtime/registerMap.hpp30
-rw-r--r--src/share/vm/runtime/relocator.cpp12
-rw-r--r--src/share/vm/runtime/relocator.hpp19
-rw-r--r--src/share/vm/runtime/rframe.cpp10
-rw-r--r--src/share/vm/runtime/rframe.hpp10
-rw-r--r--src/share/vm/runtime/safepoint.cpp59
-rw-r--r--src/share/vm/runtime/safepoint.hpp12
-rw-r--r--src/share/vm/runtime/sharedRuntime.cpp52
-rw-r--r--src/share/vm/runtime/sharedRuntime.hpp13
-rw-r--r--src/share/vm/runtime/sharedRuntimeTrans.cpp8
-rw-r--r--src/share/vm/runtime/sharedRuntimeTrig.cpp8
-rw-r--r--src/share/vm/runtime/signature.cpp13
-rw-r--r--src/share/vm/runtime/signature.hpp11
-rw-r--r--src/share/vm/runtime/simpleThresholdPolicy.cpp8
-rw-r--r--src/share/vm/runtime/simpleThresholdPolicy.hpp10
-rw-r--r--src/share/vm/runtime/simpleThresholdPolicy.inline.hpp4
-rw-r--r--src/share/vm/runtime/stackValue.cpp10
-rw-r--r--src/share/vm/runtime/stackValue.hpp11
-rw-r--r--src/share/vm/runtime/stackValueCollection.cpp15
-rw-r--r--src/share/vm/runtime/stackValueCollection.hpp11
-rw-r--r--src/share/vm/runtime/statSampler.cpp24
-rw-r--r--src/share/vm/runtime/statSampler.hpp10
-rw-r--r--src/share/vm/runtime/stubCodeGenerator.cpp16
-rw-r--r--src/share/vm/runtime/stubCodeGenerator.hpp10
-rw-r--r--src/share/vm/runtime/stubRoutines.cpp14
-rw-r--r--src/share/vm/runtime/stubRoutines.hpp35
-rw-r--r--src/share/vm/runtime/sweeper.cpp16
-rw-r--r--src/share/vm/runtime/sweeper.hpp5
-rw-r--r--src/share/vm/runtime/synchronizer.cpp33
-rw-r--r--src/share/vm/runtime/synchronizer.hpp13
-rw-r--r--src/share/vm/runtime/task.cpp21
-rw-r--r--src/share/vm/runtime/task.hpp9
-rw-r--r--src/share/vm/runtime/thread.cpp80
-rw-r--r--src/share/vm/runtime/thread.hpp53
-rw-r--r--src/share/vm/runtime/threadCritical.hpp9
-rw-r--r--src/share/vm/runtime/threadLocalStorage.cpp18
-rw-r--r--src/share/vm/runtime/threadLocalStorage.hpp31
-rw-r--r--src/share/vm/runtime/timer.cpp17
-rw-r--r--src/share/vm/runtime/timer.hpp9
-rw-r--r--src/share/vm/runtime/unhandledOops.cpp12
-rw-r--r--src/share/vm/runtime/unhandledOops.hpp8
-rw-r--r--src/share/vm/runtime/vframe.cpp25
-rw-r--r--src/share/vm/runtime/vframe.hpp17
-rw-r--r--src/share/vm/runtime/vframeArray.cpp21
-rw-r--r--src/share/vm/runtime/vframeArray.hpp13
-rw-r--r--src/share/vm/runtime/vframe_hp.cpp24
-rw-r--r--src/share/vm/runtime/vframe_hp.hpp9
-rw-r--r--src/share/vm/runtime/virtualspace.cpp17
-rw-r--r--src/share/vm/runtime/virtualspace.hpp9
-rw-r--r--src/share/vm/runtime/vmStructs.cpp148
-rw-r--r--src/share/vm/runtime/vmStructs.hpp14
-rw-r--r--src/share/vm/runtime/vmThread.cpp26
-rw-r--r--src/share/vm/runtime/vmThread.hpp19
-rw-r--r--src/share/vm/runtime/vm_operations.cpp25
-rw-r--r--src/share/vm/runtime/vm_operations.hpp13
-rw-r--r--src/share/vm/runtime/vm_version.cpp15
-rw-r--r--src/share/vm/runtime/vm_version.hpp10
-rw-r--r--src/share/vm/services/attachListener.cpp17
-rw-r--r--src/share/vm/services/attachListener.hpp11
-rw-r--r--src/share/vm/services/classLoadingService.cpp13
-rw-r--r--src/share/vm/services/classLoadingService.hpp11
-rw-r--r--src/share/vm/services/dtraceAttacher.cpp11
-rw-r--r--src/share/vm/services/dtraceAttacher.hpp7
-rw-r--r--src/share/vm/services/g1MemoryPool.cpp8
-rw-r--r--src/share/vm/services/g1MemoryPool.hpp12
-rw-r--r--src/share/vm/services/heapDumper.cpp22
-rw-r--r--src/share/vm/services/heapDumper.hpp10
-rw-r--r--src/share/vm/services/jmm.h2
-rw-r--r--src/share/vm/services/lowMemoryDetector.cpp15
-rw-r--r--src/share/vm/services/lowMemoryDetector.hpp11
-rw-r--r--src/share/vm/services/management.cpp29
-rw-r--r--src/share/vm/services/management.hpp12
-rw-r--r--src/share/vm/services/memoryManager.cpp16
-rw-r--r--src/share/vm/services/memoryManager.hpp11
-rw-r--r--src/share/vm/services/memoryPool.cpp14
-rw-r--r--src/share/vm/services/memoryPool.hpp16
-rw-r--r--src/share/vm/services/memoryService.cpp38
-rw-r--r--src/share/vm/services/memoryService.hpp12
-rw-r--r--src/share/vm/services/memoryUsage.hpp9
-rw-r--r--src/share/vm/services/psMemoryPool.cpp15
-rw-r--r--src/share/vm/services/psMemoryPool.hpp18
-rw-r--r--src/share/vm/services/runtimeService.cpp9
-rw-r--r--src/share/vm/services/runtimeService.hpp10
-rw-r--r--src/share/vm/services/serviceUtil.hpp10
-rw-r--r--src/share/vm/services/threadService.cpp18
-rw-r--r--src/share/vm/services/threadService.hpp17
-rw-r--r--src/share/vm/shark/llvmHeaders.hpp7
-rw-r--r--src/share/vm/shark/llvmValue.hpp11
-rw-r--r--src/share/vm/shark/sharkBlock.cpp15
-rw-r--r--src/share/vm/shark/sharkBlock.hpp18
-rw-r--r--src/share/vm/shark/sharkBuilder.cpp17
-rw-r--r--src/share/vm/shark/sharkBuilder.hpp19
-rw-r--r--src/share/vm/shark/sharkCacheDecache.cpp12
-rw-r--r--src/share/vm/shark/sharkCacheDecache.hpp13
-rw-r--r--src/share/vm/shark/sharkCodeBuffer.hpp11
-rw-r--r--src/share/vm/shark/sharkCompiler.cpp24
-rw-r--r--src/share/vm/shark/sharkCompiler.hpp14
-rw-r--r--src/share/vm/shark/sharkConstant.cpp10
-rw-r--r--src/share/vm/shark/sharkConstant.hpp12
-rw-r--r--src/share/vm/shark/sharkContext.cpp10
-rw-r--r--src/share/vm/shark/sharkContext.hpp10
-rw-r--r--src/share/vm/shark/sharkEntry.hpp9
-rw-r--r--src/share/vm/shark/sharkFunction.cpp16
-rw-r--r--src/share/vm/shark/sharkFunction.hpp18
-rw-r--r--src/share/vm/shark/sharkInliner.cpp17
-rw-r--r--src/share/vm/shark/sharkInliner.hpp12
-rw-r--r--src/share/vm/shark/sharkIntrinsics.cpp11
-rw-r--r--src/share/vm/shark/sharkIntrinsics.hpp12
-rw-r--r--src/share/vm/shark/sharkInvariants.cpp6
-rw-r--r--src/share/vm/shark/sharkInvariants.hpp17
-rw-r--r--src/share/vm/shark/sharkMemoryManager.cpp8
-rw-r--r--src/share/vm/shark/sharkMemoryManager.hpp10
-rw-r--r--src/share/vm/shark/sharkNativeWrapper.cpp8
-rw-r--r--src/share/vm/shark/sharkNativeWrapper.hpp14
-rw-r--r--src/share/vm/shark/sharkRuntime.cpp14
-rw-r--r--src/share/vm/shark/sharkRuntime.hpp13
-rw-r--r--src/share/vm/shark/sharkStack.cpp10
-rw-r--r--src/share/vm/shark/sharkStack.hpp11
-rw-r--r--src/share/vm/shark/sharkState.cpp14
-rw-r--r--src/share/vm/shark/sharkState.hpp14
-rw-r--r--src/share/vm/shark/sharkStateScanner.cpp7
-rw-r--r--src/share/vm/shark/sharkStateScanner.hpp12
-rw-r--r--src/share/vm/shark/sharkTopLevelBlock.cpp25
-rw-r--r--src/share/vm/shark/sharkTopLevelBlock.hpp19
-rw-r--r--src/share/vm/shark/sharkType.hpp13
-rw-r--r--src/share/vm/shark/sharkValue.cpp10
-rw-r--r--src/share/vm/shark/sharkValue.hpp13
-rw-r--r--src/share/vm/shark/shark_globals.cpp6
-rw-r--r--src/share/vm/shark/shark_globals.hpp12
-rw-r--r--src/share/vm/utilities/accessFlags.cpp16
-rw-r--r--src/share/vm/utilities/accessFlags.hpp8
-rw-r--r--src/share/vm/utilities/array.cpp16
-rw-r--r--src/share/vm/utilities/array.hpp10
-rw-r--r--src/share/vm/utilities/bitMap.cpp17
-rw-r--r--src/share/vm/utilities/bitMap.hpp10
-rw-r--r--src/share/vm/utilities/bitMap.inline.hpp10
-rw-r--r--src/share/vm/utilities/constantTag.cpp6
-rw-r--r--src/share/vm/utilities/constantTag.hpp8
-rw-r--r--src/share/vm/utilities/copy.cpp7
-rw-r--r--src/share/vm/utilities/copy.hpp20
-rw-r--r--src/share/vm/utilities/debug.cpp42
-rw-r--r--src/share/vm/utilities/debug.hpp9
-rw-r--r--src/share/vm/utilities/defaultStream.hpp9
-rw-r--r--src/share/vm/utilities/dtrace.hpp7
-rw-r--r--src/share/vm/utilities/events.cpp20
-rw-r--r--src/share/vm/utilities/events.hpp10
-rw-r--r--src/share/vm/utilities/exceptions.cpp24
-rw-r--r--src/share/vm/utilities/exceptions.hpp11
-rw-r--r--src/share/vm/utilities/globalDefinitions.cpp9
-rw-r--r--src/share/vm/utilities/globalDefinitions.hpp28
-rw-r--r--src/share/vm/utilities/globalDefinitions_gcc.hpp9
-rw-r--r--src/share/vm/utilities/globalDefinitions_sparcWorks.hpp9
-rw-r--r--src/share/vm/utilities/globalDefinitions_visCPP.hpp9
-rw-r--r--src/share/vm/utilities/growableArray.cpp16
-rw-r--r--src/share/vm/utilities/growableArray.hpp13
-rw-r--r--src/share/vm/utilities/hashtable.cpp12
-rw-r--r--src/share/vm/utilities/hashtable.hpp12
-rw-r--r--src/share/vm/utilities/hashtable.inline.hpp10
-rw-r--r--src/share/vm/utilities/histogram.cpp7
-rw-r--r--src/share/vm/utilities/histogram.hpp20
-rw-r--r--src/share/vm/utilities/intHisto.cpp6
-rw-r--r--src/share/vm/utilities/intHisto.hpp10
-rw-r--r--src/share/vm/utilities/macros.hpp5
-rw-r--r--src/share/vm/utilities/numberSeq.cpp9
-rw-r--r--src/share/vm/utilities/numberSeq.hpp7
-rw-r--r--src/share/vm/utilities/ostream.cpp25
-rw-r--r--src/share/vm/utilities/ostream.hpp10
-rw-r--r--src/share/vm/utilities/preserveException.cpp7
-rw-r--r--src/share/vm/utilities/preserveException.hpp18
-rw-r--r--src/share/vm/utilities/sizes.cpp7
-rw-r--r--src/share/vm/utilities/sizes.hpp10
-rw-r--r--src/share/vm/utilities/stack.hpp15
-rw-r--r--src/share/vm/utilities/stack.inline.hpp15
-rw-r--r--src/share/vm/utilities/taskqueue.cpp17
-rw-r--r--src/share/vm/utilities/taskqueue.hpp28
-rw-r--r--src/share/vm/utilities/top.hpp25
-rw-r--r--src/share/vm/utilities/utf8.cpp6
-rw-r--r--src/share/vm/utilities/utf8.hpp10
-rw-r--r--src/share/vm/utilities/vmError.cpp16
-rw-r--r--src/share/vm/utilities/vmError.hpp7
-rw-r--r--src/share/vm/utilities/workgroup.cpp7
-rw-r--r--src/share/vm/utilities/workgroup.hpp16
-rw-r--r--src/share/vm/utilities/xmlstream.cpp14
-rw-r--r--src/share/vm/utilities/xmlstream.hpp10
-rw-r--r--src/share/vm/utilities/yieldingWorkgroup.cpp6
-rw-r--r--src/share/vm/utilities/yieldingWorkgroup.hpp9
1115 files changed, 14093 insertions, 12802 deletions
diff --git a/src/share/tools/MakeDeps/Database.java b/src/share/tools/MakeDeps/Database.java
deleted file mode 100644
index 2a19c29f0..000000000
--- a/src/share/tools/MakeDeps/Database.java
+++ /dev/null
@@ -1,552 +0,0 @@
-/*
- * Copyright (c) 1999, 2009, 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.
- *
- */
-
-import java.io.*;
-import java.util.*;
-
-public class Database {
- private MacroDefinitions macros;
- // allFiles is kept in lexicographically sorted order. See get().
- private FileList allFiles;
- // files that have implicit dependency on platform files
- // e.g. os.hpp: os_<os_family>.hpp os_<os_arch>.hpp but only
- // recorded if the platform file was seen.
- private FileList platformFiles;
- private FileList outerFiles;
- private FileList indivIncludes;
- private FileList grandInclude; // the results for the grand include file
- private HashMap<String,String> platformDepFiles;
- private long threshold;
- private int nOuterFiles;
- private boolean missingOk;
- private Platform plat;
- /** These allow you to specify files not in the include database
- which are prepended and appended to the file list, allowing
- you to have well-known functions at the start and end of the
- text segment (allows us to find out in a portable fashion
- whether the current PC is in VM code or not upon a crash) */
- private String firstFile;
- private String lastFile;
-
- public Database(Platform plat, long t) {
- this.plat = plat;
- macros = new MacroDefinitions();
- allFiles = new FileList("allFiles", plat);
- platformFiles = new FileList("platformFiles", plat);
- outerFiles = new FileList("outerFiles", plat);
- indivIncludes = new FileList("IndivIncludes", plat);
- grandInclude = new FileList(plat.getGIFileTemplate().nameOfList(), plat);
- platformDepFiles = new HashMap<String,String>();
-
- threshold = t;
- nOuterFiles = 0;
- missingOk = false;
- firstFile = null;
- lastFile = null;
- };
-
- public FileList getAllFiles() {
- return allFiles;
- }
-
- public Iterator getMacros() {
- return macros.getMacros();
- }
-
- public void canBeMissing() {
- missingOk = true;
- }
-
- public boolean hfileIsInGrandInclude(FileList hfile, FileList cfile) {
- return ((hfile.getCount() >= threshold) && (cfile.getUseGrandInclude()));
- }
-
- /** These allow you to specify files not in the include database
- which are prepended and appended to the file list, allowing
- you to have well-known functions at the start and end of the
- text segment (allows us to find out in a portable fashion
- whether the current PC is in VM code or not upon a crash) */
- public void setFirstFile(String fileName) {
- firstFile = fileName;
- }
-
- public void setLastFile(String fileName) {
- lastFile = fileName;
- }
-
- public void get(String platFileName, String dbFileName)
- throws FileFormatException, IOException, FileNotFoundException {
- macros.readFrom(platFileName, missingOk);
-
- BufferedReader reader = null;
- try {
- reader = new BufferedReader(new FileReader(dbFileName));
- } catch (FileNotFoundException e) {
- if (missingOk) {
- return;
- } else {
- throw(e);
- }
- }
- System.out.println("\treading database: " + dbFileName);
- String line;
- int lineNo = 0;
- do {
- line = reader.readLine();
- lineNo++;
- if (line != null) {
- StreamTokenizer tokenizer =
- new StreamTokenizer(new StringReader(line));
- tokenizer.slashSlashComments(true);
- tokenizer.wordChars('_', '_');
- tokenizer.wordChars('<', '>');
- // NOTE: if we didn't have to do this line by line,
- // we could trivially recognize C-style comments as
- // well.
- // tokenizer.slashStarComments(true);
- int numTok = 0;
- int res;
- String unexpandedIncluder = null;
- String unexpandedIncludee = null;
- do {
- res = tokenizer.nextToken();
- if (res != StreamTokenizer.TT_EOF) {
- if (numTok == 0) {
- unexpandedIncluder = tokenizer.sval;
- } else if (numTok == 1) {
- unexpandedIncludee = tokenizer.sval;
- } else {
- throw new FileFormatException(
- "invalid line: \"" + line +
- "\". Error position: line " + lineNo
- );
- }
- numTok++;
- }
- } while (res != StreamTokenizer.TT_EOF);
-
- if ((numTok != 0) && (numTok != 2)) {
- throw new FileFormatException(
- "invalid line: \"" + line +
- "\". Error position: line " + lineNo
- );
- }
-
- if (numTok == 2) {
- // Non-empty line
- String includer = macros.expand(unexpandedIncluder);
- String includee = macros.expand(unexpandedIncludee);
-
- if (includee.equals(plat.generatePlatformDependentInclude())) {
- MacroDefinitions localExpander = macros.copy();
- MacroDefinitions localExpander2 = macros.copy();
- localExpander.setAllMacroBodiesTo("pd");
- localExpander2.setAllMacroBodiesTo("");
-
- // unexpanded_includer e.g. thread_<os_arch>.hpp
- // thread_solaris_i486.hpp -> _thread_pd.hpp.incl
-
- FileName pdName =
- plat.getInclFileTemplate().copyStem(
- localExpander.expand(unexpandedIncluder)
- );
-
- // derive generic name from platform specific name
- // e.g. os_<arch_os>.hpp => os.hpp. We enforce the
- // restriction (imperfectly) noted in includeDB_core
- // that platform specific files will have an underscore
- // preceding the macro invocation.
-
- // First expand macro as null string.
-
- String newIncluder_temp =
- localExpander2.expand(unexpandedIncluder);
-
- // Now find "_." and remove the underscore.
-
- String newIncluder = "";
-
- int len = newIncluder_temp.length();
- int count = 0;
-
- for ( int i = 0; i < len - 1 ; i++ ) {
- if (newIncluder_temp.charAt(i) == '_' && newIncluder_temp.charAt(i+1) == '.') {
- count++;
- } else {
- newIncluder += newIncluder_temp.charAt(i);
- }
- }
- newIncluder += newIncluder_temp.charAt(len-1);
-
- if (count != 1) {
- throw new FileFormatException(
- "Unexpected filename format for platform dependent file.\nline: \"" + line +
- "\".\nError position: line " + lineNo
- );
- }
-
- FileList p = allFiles.listForFile(includer);
- p.setPlatformDependentInclude(pdName.dirPreStemSuff());
-
- // Record the implicit include of this file so that the
- // dependencies for precompiled headers can mention it.
- platformDepFiles.put(newIncluder, includer);
-
- // Add an implicit dependency on platform
- // specific file for the generic file
-
- p = platformFiles.listForFile(newIncluder);
-
- // if this list is empty then this is 1st
- // occurance of a platform dependent file and
- // we need a new version of the include file.
- // Otherwise we just append to the current
- // file.
-
- PrintWriter pdFile =
- new PrintWriter(
- new FileWriter(pdName.dirPreStemSuff(),
- !p.isEmpty())
- );
- pdFile.println("# include \"" + includer + "\"");
- pdFile.close();
-
- // Add the platform specific file to the list
- // for this generic file.
-
- FileList q = allFiles.listForFile(includer);
- p.addIfAbsent(q);
- } else {
- FileList p = allFiles.listForFile(includer);
- if (isOuterFile(includer))
- outerFiles.addIfAbsent(p);
-
- if (includee.equals(plat.noGrandInclude())) {
- p.setUseGrandInclude(false);
- } else {
- FileList q = allFiles.listForFile(includee);
- p.addIfAbsent(q);
- }
- }
- }
- }
- } while (line != null);
- reader.close();
-
- // Keep allFiles in well-known order so we can easily determine
- // whether the known files are the same
- allFiles.sortByName();
-
- // Add first and last files differently to prevent a mistake
- // in ordering in the include databases from breaking the
- // error reporting in the VM.
- if (firstFile != null) {
- FileList p = allFiles.listForFile(firstFile);
- allFiles.setFirstFile(p);
- outerFiles.setFirstFile(p);
- }
-
- if (lastFile != null) {
- FileList p = allFiles.listForFile(lastFile);
- allFiles.setLastFile(p);
- outerFiles.setLastFile(p);
- }
- }
-
- public void compute() {
- System.out.println("\tcomputing closures\n");
- // build both indiv and grand results
- for (Iterator iter = outerFiles.iterator(); iter.hasNext(); ) {
- indivIncludes.add(((FileList) iter.next()).doCFile());
- ++nOuterFiles;
- }
-
- if (!plat.haveGrandInclude())
- return; // nothing in grand include
-
- // count how many times each include is included & add em to grand
- for (Iterator iter = indivIncludes.iterator(); iter.hasNext(); ) {
- FileList indivInclude = (FileList) iter.next();
- if (!indivInclude.getUseGrandInclude()) {
- continue; // do not bump count if my files cannot be
- // in grand include
- }
- indivInclude.doFiles(grandInclude); // put em on
- // grand_include list
- for (Iterator incListIter = indivInclude.iterator();
- incListIter.hasNext(); ) {
- ((FileList) incListIter.next()).incrementCount();
- }
- }
- }
-
- // Not sure this is necessary in Java
- public void verify() {
- for (Iterator iter = indivIncludes.iterator(); iter.hasNext(); ) {
- if (iter.next() == null) {
- plat.abort();
- }
- }
- }
-
- public void put() throws IOException {
- writeIndividualIncludes();
-
- if (plat.haveGrandInclude())
- writeGrandInclude();
-
- writeGrandUnixMakefile();
- }
-
- private void writeIndividualIncludes() throws IOException {
- System.out.println("\twriting individual include files\n");
-
- for (Iterator iter = indivIncludes.iterator(); iter.hasNext(); ) {
- FileList list = (FileList) iter.next();
- System.out.println("\tcreating " + list.getName());
- list.putInclFile(this);
- }
- }
-
- private void writeGrandInclude() throws IOException {
- System.out.println("\twriting grand include file\n");
- PrintWriter inclFile =
- new PrintWriter(new FileWriter(plat.getGIFileTemplate().dirPreStemSuff()));
- plat.writeGIPragma(inclFile);
- for (Iterator iter = grandInclude.iterator(); iter.hasNext(); ) {
- FileList list = (FileList) iter.next();
- if (list.getCount() >= threshold) {
- inclFile.println("# include \"" +
- plat.getGIFileTemplate().getInvDir() +
- list.getName() +
- "\"");
- }
- }
- inclFile.println();
- inclFile.close();
- }
-
- private void writeGrandUnixMakefile() throws IOException {
- if (!plat.writeDeps())
- return;
-
- System.out.println("\twriting dependencies file\n");
- PrintWriter gd =
- new PrintWriter(new FileWriter(
- plat.getGDFileTemplate().dirPreStemSuff())
- );
- gd.println("# generated by makeDeps");
- gd.println();
-
-
- // HACK ALERT. The compilation of ad_<arch> files is very slow.
- // We want to start compiling them as early as possible. The compilation
- // order on unix is dependent on the order we emit files here.
- // By sorting the output before emitting it, we expect
- // that ad_<arch> will be compiled early.
- boolean shouldSortObjFiles = true;
-
- if (shouldSortObjFiles) {
- ArrayList sortList = new ArrayList();
-
- // We need to preserve the ordering of the first and last items
- // in outerFiles.
- int size = outerFiles.size() - 1;
- String firstName = removeSuffixFrom(((FileList)outerFiles.get(0)).getName());
- String lastName = removeSuffixFrom(((FileList)outerFiles.get(size)).getName());
-
- for (int i=1; i<size; i++) {
- FileList anOuterFile = (FileList)outerFiles.get(i);
- String stemName = removeSuffixFrom(anOuterFile.getName());
- sortList.add(stemName);
- }
- Collections.sort(sortList);
-
- // write Obj_Files = ...
- gd.println("Obj_Files = \\");
- gd.println(firstName + plat.objFileSuffix() + " \\");
- for (Iterator iter = sortList.iterator(); iter.hasNext(); ) {
- gd.println(iter.next() + plat.objFileSuffix() + " \\");
- }
- gd.println(lastName + plat.objFileSuffix() + " \\");
- gd.println();
- gd.println();
- } else {
- // write Obj_Files = ...
- gd.println("Obj_Files = \\");
- for (Iterator iter = outerFiles.iterator(); iter.hasNext(); ) {
- FileList anOuterFile = (FileList) iter.next();
-
- String stemName = removeSuffixFrom(anOuterFile.getName());
- gd.println(stemName + plat.objFileSuffix() + " \\");
- }
- gd.println();
- gd.println();
- }
-
- // write Precompiled_Files = ...
- gd.println("Precompiled_Files = \\");
- for (Iterator iter = grandInclude.iterator(); iter.hasNext(); ) {
- FileList list = (FileList) iter.next();
- if (list.getCount() >= threshold) {
- gd.println(list.getName() + " \\");
- String platformDep = platformDepFiles.get(list.getName());
- if (platformDep != null) {
- // make sure changes to the platform dependent file will
- // cause regeneration of the pch file.
- gd.println(platformDep + " \\");
- }
- }
- }
- gd.println();
- gd.println();
-
- gd.println("DTraced_Files = \\");
- for (Iterator iter = outerFiles.iterator(); iter.hasNext(); ) {
- FileList anOuterFile = (FileList) iter.next();
-
- if (anOuterFile.hasListForFile("dtrace.hpp")) {
- String stemName = removeSuffixFrom(anOuterFile.getName());
- gd.println(stemName + plat.objFileSuffix() + " \\");
- }
- }
- gd.println();
- gd.println();
-
- {
- // write each dependency
-
- for (Iterator iter = indivIncludes.iterator(); iter.hasNext(); ) {
-
- FileList anII = (FileList) iter.next();
-
- String stemName = removeSuffixFrom(anII.getName());
- String inclFileName =
- plat.getInclFileTemplate().copyStem(anII.getName()).
- preStemSuff();
-
- gd.println(stemName + plat.objFileSuffix() + " " +
- stemName + plat.asmFileSuffix() + ": \\");
-
- printDependentOn(gd, anII.getName());
- // this gets the include file that includes all that
- // this file needs (first level) since nested includes
- // are skipped to avoid cycles.
- printDependentOn(gd, inclFileName);
-
- if ( plat.haveGrandInclude() ) {
- printDependentOn(gd,
- plat.getGIFileTemplate().preStemSuff());
- }
-
- for (Iterator iiIter = anII.iterator(); iiIter.hasNext(); ) {
- FileList hfile = (FileList) iiIter.next();
- if (!hfileIsInGrandInclude(hfile, anII) ||
- plat.writeDependenciesOnHFilesFromGI()) {
- printDependentOn(gd, hfile.getName());
- }
- if (platformFiles.hasListForFile(hfile.getName())) {
- FileList p =
- platformFiles.listForFile(hfile.getName());;
- for (Iterator hiIter = p.iterator();
- hiIter.hasNext(); ) {
- FileList hi2 = (FileList) hiIter.next();
- if (!hfileIsInGrandInclude(hi2, p)) {
- printDependentOn(gd, hi2.getName());
- }
- }
- }
- }
-
- if (plat.includeGIDependencies()
- && anII.getUseGrandInclude()) {
- gd.println(" $(Precompiled_Files) \\");
- }
- gd.println();
- gd.println();
- }
- }
-
- gd.close();
- }
-
- public void putDiffs(Database previous) throws IOException {
- System.out.println("\tupdating output files\n");
-
- if (!indivIncludes.compareLists(previous.indivIncludes)
- || !grandInclude.compareLists(previous.grandInclude)) {
- System.out.println("The order of .c or .s has changed, or " +
- "the grand include file has changed.");
- put();
- return;
- }
-
- Iterator curIter = indivIncludes.iterator();
- Iterator prevIter = previous.indivIncludes.iterator();
-
- try {
- while (curIter.hasNext()) {
- FileList newCFileList = (FileList) curIter.next();
- FileList prevCFileList = (FileList) prevIter.next();
- if (!newCFileList.compareLists(prevCFileList)) {
- System.out.println("\tupdating " + newCFileList.getName());
- newCFileList.putInclFile(this);
- }
- }
- }
- catch (Exception e) {
- throw new InternalError("assertion failure: cur and prev " +
- "database lists changed unexpectedly.");
- }
-
- writeGrandUnixMakefile();
- }
-
- private void printDependentOn(PrintWriter gd, String name) {
- gd.print(" ");
- gd.print(plat.dependentPrefix() + name);
- }
-
- private boolean isOuterFile(String s) {
- int len = s.length();
- String[] suffixes = plat.outerSuffixes();
- for (int i = 0; i < suffixes.length; i++) {
- String suffix = suffixes[i];
- int suffLen = suffix.length();
- if ((len >= suffLen) &&
- (plat.fileNameStringEquality(s.substring(len - suffLen),
- suffix))) {
- return true;
- }
- }
- return false;
- }
-
- private String removeSuffixFrom(String s) {
- int idx = s.lastIndexOf('.');
- if (idx <= 0)
- plat.abort();
- return s.substring(0, idx);
- }
-}
diff --git a/src/share/tools/MakeDeps/FileList.java b/src/share/tools/MakeDeps/FileList.java
deleted file mode 100644
index 633d9bf18..000000000
--- a/src/share/tools/MakeDeps/FileList.java
+++ /dev/null
@@ -1,263 +0,0 @@
-/*
- * Copyright (c) 1999, 2000, 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.
- *
- */
-
-import java.io.*;
-import java.util.*;
-
-/** This class implements the java.util.List interface as well as
- providing functionality specific to keeping track of lists of
- files. See the documentation for the Database class to see how
- these are used. Each FileList must only contain other FileLists
- (although that is not currently enforced in the mutators). */
-
-public class FileList extends Vector {
- private String name; // (also the file name)
- private boolean beenHere;
- private boolean mayBeCycle;
- private boolean isCycle;
- /** Put in list because a file can refuse to */
- private boolean useGrandInclude;
- private String platformDependentInclude;
- private int count;
- private Platform plat;
-
- public FileList(String n, Platform plat) {
- super();
- this.plat = plat;
- beenHere = mayBeCycle = isCycle = false;
- platformDependentInclude = null;
- name = n;
- count = 0;
- useGrandInclude = plat.haveGrandInclude();
- }
-
- // Change definition of equality from AbstractList so remove() works properly
- public boolean equals(Object o) {
- return ((Object) this) == o;
- }
-
- // Necessary accessors
- public String getName() {
- return name;
- }
-
- public void setPlatformDependentInclude(String arg) {
- platformDependentInclude = arg;
- }
-
- public String getPlatformDependentInclude() {
- return platformDependentInclude;
- }
-
- public boolean getUseGrandInclude() {
- return useGrandInclude;
- }
-
- public void setUseGrandInclude(boolean arg) {
- useGrandInclude = arg;
- }
-
- public void incrementCount() {
- count++;
- }
-
- public int getCount() {
- return count;
- }
-
- public FileList listForFile(String fileName) {
- for (Iterator iter = iterator(); iter.hasNext(); ) {
- FileList fl = (FileList) iter.next();
- if (plat.fileNameStringEquality(fl.name, fileName)) {
- plat.fileNamePortabilityCheck(fl.name, fileName);
- return fl;
- }
- }
- plat.fileNamePortabilityCheck(fileName);
- FileList newList = new FileList(fileName, plat);
- add(newList);
- return newList;
- }
-
- public boolean hasListForFile(String fileName) {
- for (Iterator iter = iterator(); iter.hasNext(); ) {
- FileList fl = (FileList) iter.next();
- if (plat.fileNameStringEquality(fl.name, fileName)) {
- plat.fileNamePortabilityCheck(fl.name, fileName);
- return true;
- }
- }
- return false;
- }
-
- public boolean compareLists(FileList s) {
- Iterator myIter = iterator();
- Iterator hisIter = s.iterator();
-
- while (myIter.hasNext() &&
- hisIter.hasNext()) {
- // crude: order dependent
- FileList myElement = (FileList) myIter.next();
- FileList hisElement = (FileList) hisIter.next();
- if (!plat.fileNameStringEquality(myElement.name,
- hisElement.name)) {
- return false;
- }
- }
-
- if (myIter.hasNext() != hisIter.hasNext()) {
- // One ended earlier
- return false;
- }
-
- return true;
- }
-
- public void addIfAbsent(FileList s) {
- for (Iterator iter = iterator(); iter.hasNext(); ) {
- if (iter.next() == s) {
- return;
- }
- }
- add(s);
- }
-
- public void sortByName() {
- Collections.sort(this, new Comparator() {
- public int compare(Object o1, Object o2) {
- FileList fl1 = (FileList) o1;
- FileList fl2 = (FileList) o2;
- return fl1.getName().compareTo(fl2.getName());
- }
- });
- }
-
- public void setFirstFile(FileList s) {
- // Remove the file list if it's already here
- remove(s);
- add(0, s);
- }
-
- public void setLastFile(FileList s) {
- // Remove the file list if it's already here
- remove(s);
- add(s);
- }
-
- public boolean doFiles(FileList s) {
- boolean result = true;
- for (Iterator iter = iterator(); iter.hasNext(); ) {
- FileList h = (FileList) iter.next();
- if (h.platformDependentInclude != null) {
- System.err.println("Error: the source for " +
- h.platformDependentInclude +
- " is " + h.name + ".");
- System.err.println("\tIt shouldn't be included directly by " +
- name + ".");
- h.platformDependentInclude = null; // report once per file
- result = false;
- }
- h.doHFile(s);
- }
- return result;
- }
-
- public void traceCycle(FileList s) {
- if (isCycle) // already traced
- return;
- isCycle = true;
- System.err.println("\ttracing cycle for " + name);
- // FIXME: must return status in caller routine
- // exitCode = 1;
- for (Iterator iter = iterator(); iter.hasNext(); ) {
- FileList q = (FileList) iter.next();
- if (q.mayBeCycle) {
- if (s == q) {
- plat.fatalError("\tend of cycle for " + s.getName());
- } else {
- q.traceCycle(s);
- }
- }
- }
- }
-
- public void doHFile(FileList s) {
- if (beenHere) {
- if (mayBeCycle) {
- traceCycle(this);
- }
- return;
- }
- beenHere = true;
- mayBeCycle = true;
- doFiles(s);
- mayBeCycle = false;
- s.add(this);
- }
-
- public FileList doCFile() {
- FileList s = new FileList(name, plat);
- s.useGrandInclude = useGrandInclude; // propagate this
- doFiles(s);
- for (Iterator iter = s.iterator(); iter.hasNext(); ) {
- FileList l = (FileList) iter.next();
- l.beenHere = false;
- }
- return s;
- }
-
- /** if .h file is included thresh times, put it in the grand
- include file */
- public void putInclFile(Database db)
- throws IOException {
- boolean needline = true;
- FileName inclName = plat.getInclFileTemplate().copyStem(name);
- PrintWriter inclFile =
- new PrintWriter(new FileWriter(inclName.dirPreStemSuff()));
- if (plat.haveGrandInclude() && plat.includeGIInEachIncl()) {
- inclFile.println("# include \"" +
- plat.getGIFileTemplate().dirPreStemAltSuff() +
- "\"");
- needline = false;
- }
- for (Iterator iter = iterator(); iter.hasNext(); ) {
- FileList hfile = (FileList) iter.next();
- if (!db.hfileIsInGrandInclude(hfile, this)) {
- inclFile.println("# include \"" +
- plat.getInclFileTemplate().getInvDir() +
- hfile.name +
- "\"");
- needline = false;
- }
- }
-
- // Solaris C++ in strict mode warns about empty files
-
- if(needline) {
- inclFile.println();
- }
-
- inclFile.close();
- }
-}
diff --git a/src/share/tools/MakeDeps/FileName.java b/src/share/tools/MakeDeps/FileName.java
deleted file mode 100644
index eebda0e05..000000000
--- a/src/share/tools/MakeDeps/FileName.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*
- * Copyright (c) 1999, 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.
- *
- */
-
-public class FileName {
- private String dir;
- private String prefix;
- private String stem;
- private String suffix;
- private String inverseDir;
- private String altSuffix;
-
- private String dpss;
- private String psa;
- private String dpsa;
- private String pss;
-
- private Platform plat;
-
- /** None of the passed strings may be null. */
-
- public FileName(Platform plat, String dir, String prefix,
- String stem, String suffix,
- String inverseDir, String altSuffix) {
- if ((dir == null) ||
- (prefix == null) ||
- (stem == null) ||
- (suffix == null) ||
- (inverseDir == null) ||
- (altSuffix == null)) {
- throw new NullPointerException("All arguments must be non-null");
- }
-
- this.plat = plat;
-
- this.dir = dir;
- this.prefix = prefix;
- this.stem = stem;
- this.suffix = suffix;
- this.inverseDir = inverseDir;
- this.altSuffix = altSuffix;
-
- pss = prefix + stem + suffix;
- dpss = dir + prefix + stem + suffix;
- psa = prefix + stem + altSuffix;
- dpsa = dir + prefix + stem + altSuffix;
-
- checkLength(plat);
- }
-
- public void checkLength(Platform p) {
- int len;
- String s;
- int suffLen = suffix.length();
- int altSuffLen = altSuffix.length();
- if (suffLen >= altSuffLen) {
- len = suffLen;
- s = suffix;
- } else {
- len = altSuffLen;
- s = altSuffix;
- }
- len += prefix.length() + stem.length();
- int lim = p.fileNameLengthLimit();
- if (len > lim) {
- p.fatalError(prefix + stem + s + " is too long: " +
- len + " >= " + lim);
- }
- }
-
- public String dirPreStemSuff() {
- return dpss;
- }
-
- public String preStemSuff() {
- return pss;
- }
-
- public String dirPreStemAltSuff() {
- return dpsa;
- }
-
- public String preStemAltSuff() {
- return psa;
- }
-
- public FileName copyStem(String newStem) {
- return new FileName(plat, dir, prefix, newStem,
- suffix, inverseDir, altSuffix);
- }
-
- String nameOfList() {
- return stem;
- }
-
- String getInvDir() {
- return inverseDir;
- }
-}
diff --git a/src/share/tools/MakeDeps/MakeDeps.java b/src/share/tools/MakeDeps/MakeDeps.java
deleted file mode 100644
index c18edcf14..000000000
--- a/src/share/tools/MakeDeps/MakeDeps.java
+++ /dev/null
@@ -1,236 +0,0 @@
-/*
- * Copyright (c) 1999, 2001, 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.
- *
- */
-
-// This program reads an include file database.
-// The database should cover each self .c and .h file,
-// but not files in /usr/include
-// The database consists of pairs of nonblank words, where the first word is
-// the filename that needs to include the file named by the second word.
-// For each .c file, this program generates a fooIncludes.h file that
-// the .c file may include to include all the needed files in the right order.
-// It also generates a foo.dep file to include in the makefile.
-// Finally it detects cycles, and can work with two files, an old and a new one.
-// To incrementally write out only needed files after a small change.
-//
-// Based on a suggestion by Roland Conybeare, algorithm suggested by Craig
-// Chambers, written by David Ungar, 3/1/89.
-// Added PREFIX, {DEP/INC}_DIR, smaller dep output 10/92 -Urs
-
-// Add something for precompiled headers
-
-// To handle different platforms, I am introducing a platform file.
-// The platform file contains lines like:
-// os = svr4
-//
-// Then, when processing the includeDB file, a token such as <os>
-// gets replaced by svr4. -- dmu 3/25/97
-
-// Modified to centralize Dependencies to speed up make -- dmu 5/97
-
-public class MakeDeps {
-
- public static void usage() {
- System.out.println("usage:");
- System.out.println("\tmakeDeps platform-name platform-file database-file [MakeDeps args] [platform args]");
- System.out.println("\tmakeDeps diffs platform-name old-platform-file old-database-file new-platform-file new-database-file [MakeDeps args] [platform args]");
- System.out.println("where platform-name is the name of a platform MakeDeps supports");
- System.out.println("(currently \"WinGammaPlatform\" or \"UnixPlatform\")");
- System.out.println("MakeDeps options:");
- System.out.println(" -firstFile [filename]: Specify the first file in link order (i.e.,");
- System.out.println(" to have a well-known function at the start of the output file)");
- System.out.println(" -lastFile [filename]: Specify the last file in link order (i.e.,");
- System.out.println(" to have a well-known function at the end of the output file)");
- System.err.println("WinGammaPlatform platform-specific options:");
- System.err.println(" -sourceBase <path to directory (workspace) " +
- "containing source files; no trailing slash>");
- System.err.println(" -dspFileName <full pathname to which .dsp file " +
- "will be written; all parent directories must " +
- "already exist>");
- System.err.println(" -envVar <environment variable to be inserted " +
- "into .dsp file, substituting for path given in " +
- "-sourceBase. Example: HotSpotWorkSpace>");
- System.err.println(" -dllLoc <path to directory in which to put " +
- "jvm.dll and jvm_g.dll; no trailing slash>");
- System.err.println(" If any of the above are specified, "+
- "they must all be.");
- System.err.println(" Additional, optional arguments, which can be " +
- "specified multiple times:");
- System.err.println(" -absoluteInclude <string containing absolute " +
- "path to include directory>");
- System.err.println(" -relativeInclude <string containing include " +
- "directory relative to -envVar>");
- System.err.println(" -define <preprocessor flag to be #defined " +
- "(note: doesn't yet support " +
- "#define (flag) (value))>");
- System.err.println(" -perFileLine <file> <line>");
- System.err.println(" -conditionalPerFileLine <file> <line for " +
- "release build> <line for debug build>");
- System.err.println(" (NOTE: To work around a bug in nmake, where " +
- "you can't have a '#' character in a quoted " +
- "string, all of the lines outputted have \"#\"" +
- "prepended)");
- System.err.println(" -startAt <subdir of sourceBase>");
- System.err.println(" -ignoreFile <file which won't be able to be " +
- "found in the sourceBase because it's generated " +
- "later>");
- System.err.println(" -additionalFile <file not in database but " +
- "which should show up in .dsp file, like " +
- "includeDB_core>");
- System.err.println(" -additionalGeneratedFile <environment variable of " +
- "generated file's location> <relative path to " +
- "directory containing file; no trailing slash> " +
- "<name of file generated later in the build process>");
- System.err.println(" -prelink <build> <desc> <cmds>:");
- System.err.println(" Generate a set of prelink commands for the given BUILD");
- System.err.println(" (\"Debug\" or \"Release\"). The prelink description and commands");
- System.err.println(" are both quoted strings.");
- System.err.println(" Default includes: \".\"");
- System.err.println(" Default defines: WIN32, _WINDOWS, \"HOTSPOT_BUILD_USER=$(USERNAME)\"");
- }
-
- public static void main(String[] args) {
- try {
- if (args.length < 3) {
- usage();
- System.exit(1);
- }
-
- int argc = 0;
- boolean diffMode = false;
- if (args[argc].equals("diffs")) {
- diffMode = true;
- ++argc;
- }
-
- String platformName = args[argc++];
- Class platformClass = Class.forName(platformName);
-
- String plat1 = null;
- String db1 = null;
- String plat2 = null;
- String db2 = null;
-
- String firstFile = null;
- String lastFile = null;
-
- int numOptionalArgs =
- (diffMode ? (args.length - 6) : (args.length - 3));
- if (numOptionalArgs < 0) {
- usage();
- System.exit(1);
- }
-
- plat1 = args[argc++];
- db1 = args[argc++];
-
- if (diffMode) {
- plat2 = args[argc++];
- db2 = args[argc++];
- }
-
- // argc now points at start of optional arguments, if any
-
- try {
- boolean gotOne = true;
- while (gotOne && (argc < args.length - 1)) {
- gotOne = false;
- String arg = args[argc];
- if (arg.equals("-firstFile")) {
- firstFile = args[argc + 1];
- argc += 2;
- gotOne = true;
- } else if (arg.equals("-lastFile")) {
- lastFile = args[argc + 1];
- argc += 2;
- gotOne = true;
- }
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- usage();
- System.exit(1);
- }
-
- Platform platform = (Platform) platformClass.newInstance();
- platform.setupFileTemplates();
- long t = platform.defaultGrandIncludeThreshold();
-
- String[] platformArgs = null;
- int numPlatformArgs = args.length - argc;
- if (numPlatformArgs > 0) {
- platformArgs = new String[numPlatformArgs];
- int offset = argc;
- while (argc < args.length) {
- platformArgs[argc - offset] = args[argc];
- ++argc;
- }
- }
-
- // If you want to change the threshold, change the default
- // "grand include" threshold in Platform.java, or override
- // it in the platform-specific file like UnixPlatform.java
-
- Database previous = new Database(platform, t);
- Database current = new Database(platform, t);
-
- previous.canBeMissing();
-
- if (firstFile != null) {
- previous.setFirstFile(firstFile);
- current.setFirstFile(firstFile);
- }
- if (lastFile != null) {
- previous.setLastFile(lastFile);
- current.setLastFile(lastFile);
- }
-
- if (diffMode) {
- System.out.println("Old database:");
- previous.get(plat1, db1);
- previous.compute();
- System.out.println("New database:");
- current.get(plat2, db2);
- current.compute();
- System.out.println("Deltas:");
- current.putDiffs(previous);
- } else {
- System.out.println("New database:");
- current.get(plat1, db1);
- current.compute();
- current.put();
- }
-
- if (platformArgs != null) {
- // Allow the platform to write platform-specific files
- platform.writePlatformSpecificFiles(previous, current,
- platformArgs);
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- System.exit(1);
- }
- }
-}
diff --git a/src/share/tools/MakeDeps/MetroWerksMacPlatform.java b/src/share/tools/MakeDeps/MetroWerksMacPlatform.java
deleted file mode 100644
index 72e1dd0de..000000000
--- a/src/share/tools/MakeDeps/MetroWerksMacPlatform.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright (c) 1999, 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.
- *
- */
-
-import java.io.*;
-
-public class MetroWerksMacPlatform extends Platform {
- public void setupFileTemplates() {
- inclFileTemplate = new FileName(this,
- ":incls:", "_", "", ".incl", "", ""
- );
- giFileTemplate = new FileName(this,
- "", "", "precompiledHeader", ".pch", "", ""
- );
- gdFileTemplate = dummyFileTemplate;
- }
-
- private static String[] suffixes = { ".cpp", ".c", ".s" };
-
- public String[] outerSuffixes() {
- return suffixes;
- }
-
- public boolean includeGIInEachIncl() {
- return true;
- }
-
- public int defaultGrandIncludeThreshold() {
- return 150;
- }
-
- public void writeGIPragma(PrintWriter out) {
- out.println("#pragma precompile_target \"" +
- giFileTemplate.preStemAltSuff() +
- "\"");
- out.println();
- }
-
- public String objFileSuffix() {
- throw new RuntimeException("Unimplemented in original makeDeps");
- }
-
- public String asmFileSuffix() {
- throw new RuntimeException("Unimplemented in original makeDeps");
- }
-
- public String dependentPrefix() {
- throw new RuntimeException("Unimplemented in original makeDeps");
- }
-}
diff --git a/src/share/tools/MakeDeps/Platform.java b/src/share/tools/MakeDeps/Platform.java
deleted file mode 100644
index dce85a766..000000000
--- a/src/share/tools/MakeDeps/Platform.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/*
- * Copyright (c) 1999, 2005, 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.
- *
- */
-
-/** Defines what must be specified for each platform. This class must
- have a no-arg constructor. */
-
-import java.io.*;
-
-public abstract class Platform {
- /** file name templates capture naming conventions */
- protected FileName dummyFileTemplate =
- new FileName(this, "", "", "", "", "", "");
-
- // The next three must be instantiated in subclasses' constructors
-
- /** An incl file is produced per .c file and contains all the
- includes it needs */
- protected FileName inclFileTemplate;
-
- /** A GI (grand-include) file has any file used more than N times
- for precompiled headers */
- protected FileName giFileTemplate;
-
- /** A GD (grand-dependencies) file that tells Unix make all the
- .o's needed for linking and the include dependencies */
- protected FileName gdFileTemplate;
-
- // Accessors
- public FileName getInclFileTemplate() {
- return inclFileTemplate;
- }
-
- public FileName getGIFileTemplate() {
- return giFileTemplate;
- }
-
- public FileName getGDFileTemplate() {
- return gdFileTemplate;
- }
-
- // an incl file is the file included by each.c file that includes
- // all needed header files
-
- public abstract void setupFileTemplates();
- public abstract String[] outerSuffixes();
-
- /** empty file name -> no grand include file */
- public boolean haveGrandInclude() {
- return (giFileTemplate.nameOfList().length() > 0);
- }
-
- public boolean writeDeps() {
- return (gdFileTemplate.nameOfList().length() > 0);
- }
-
- /** <p> A gi file is the grand-include file. It includes in one
- file any file that is included more than a certain number of
- times. </p>
-
- <p> It is used for precompiled header files. </p>
-
- <p> It has a source name, that is the file that this program
- generates, and a compiled name; that is the file that is
- included by other files. </p>
-
- <p> Some platforms have this program actually explictly
- include the preprocessed gi file-- see includeGIInEachIncl().
- </p>
-
- <p> Also, some platforms need a pragma in the GI file. </p> */
- public boolean includeGIInEachIncl() {
- return false;
- }
-
- /** For some platforms, e.g. Solaris, include the grand-include
- dependencies in the makefile. For others, e.g. Windows, do
- not. */
- public boolean includeGIDependencies() {
- return false;
- }
-
- /** Should C/C++ source file be dependent on a file included
- into the grand-include file. */
- public boolean writeDependenciesOnHFilesFromGI() {
- return false;
- }
-
- /** Default implementation does nothing */
- public void writeGIPragma(PrintWriter out) {
- }
-
- /** A line with a filename and the noGrandInclude string means
- that this file cannot use the precompiled header. */
- public String noGrandInclude() {
- return "no_precompiled_headers";
- }
-
- /** A line with a filename and the
- generatePlatformDependentInclude means that an include file
- for the header file must be generated. This file generated include
- file is directly included by the non-platform dependent include file
- (e.g os.hpp includes _os_pd.hpp.incl. So while we notice files that
- are directly dependent on non-platform dependent files from the database
- we must infer the dependence on platform specific files to generate correct
- dependences on the platform specific files. */
- public String generatePlatformDependentInclude() {
- return "generate_platform_dependent_include";
- }
-
- /** Prefix and suffix strings for emitting Makefile rules */
- public abstract String objFileSuffix();
- public abstract String asmFileSuffix();
- public abstract String dependentPrefix();
-
- // Exit routines:
-
- /** Abort means an internal error */
- public void abort() {
- throw new RuntimeException("Internal error");
- }
-
- /** fatalError is used by clients to stop the system */
- public void fatalError(String msg) {
- System.err.println(msg);
- System.exit(1);
- }
-
- /** Default implementation performs case-sensitive comparison */
- public boolean fileNameStringEquality(String s1, String s2) {
- return s1.equals(s2);
- }
-
- public void fileNamePortabilityCheck(String name) {
- if (Character.isUpperCase(name.charAt(0))) {
- fatalError("Error: for the sake of portability we have chosen\n" +
- "to avoid files starting with an uppercase letter.\n" +
- "Please rename " + name + ".");
- }
- }
-
- public void fileNamePortabilityCheck(String name, String matchingName) {
- if (!name.equals(matchingName)) {
- fatalError("Error: file " + name + " also appears as " +
- matchingName + ". Case must be consistent for " +
- "portability.");
- }
- }
-
- /** max is 31 on mac, so warn */
- public int fileNameLengthLimit() {
- return 45;
- }
-
- public int defaultGrandIncludeThreshold() {
- return 30;
- }
-
- /** Not very general, but this is a way to get platform-specific
- files to be written. Default implementation does nothing. */
- public void writePlatformSpecificFiles(Database previousDB,
- Database currentDB, String[] args)
- throws IllegalArgumentException, IOException {
- }
-}
diff --git a/src/share/tools/MakeDeps/UnixPlatform.java b/src/share/tools/MakeDeps/UnixPlatform.java
deleted file mode 100644
index 3b449cc0b..000000000
--- a/src/share/tools/MakeDeps/UnixPlatform.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright (c) 1999, 2005, 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.
- *
- */
-
-public class UnixPlatform extends Platform {
- public void setupFileTemplates() {
- inclFileTemplate = new FileName(this,
- "incls/", "_", "", ".incl", "", ""
- );
- giFileTemplate = new FileName(this,
- "incls/", "", "_precompiled", ".incl", "", ""
- );
- gdFileTemplate = new FileName(this,
- "", "", "Dependencies", "", "", ""
- );
- }
-
- private static String[] suffixes = { ".cpp", ".c", ".s" };
-
- public String[] outerSuffixes() {
- return suffixes;
- }
-
- public String objFileSuffix() {
- return ".o";
- }
-
- public String asmFileSuffix() {
- return ".i";
- }
-
- public String dependentPrefix() {
- return "";
- }
-
- /** Do not change this; unless you fix things so precompiled
- header files get translated into make dependencies. - Ungar */
- public int defaultGrandIncludeThreshold() {
- if (System.getProperty("USE_PRECOMPILED_HEADER") != null)
- return 30;
- else
- return 1 << 30;
- }
-
- /** For Unix make, include the dependencies for precompiled header
- files. */
- public boolean includeGIDependencies() {
- return false;
- }
-
- /** Should C/C++ source file be dependent on a file included
- into the grand-include file.
- On Unix with precompiled headers we don't want each file to be
- dependent on grand-include file. Instead each C/C++ source file
- is depended on each own set of files, and recompiled only when
- files from this set are changed. */
- public boolean writeDependenciesOnHFilesFromGI() {
- return System.getProperty("USE_PRECOMPILED_HEADER") != null;
- }
-}
diff --git a/src/share/tools/MakeDeps/ArgsParser.java b/src/share/tools/ProjectCreator/ArgsParser.java
index 167a6cacc..ca5d0a337 100644
--- a/src/share/tools/MakeDeps/ArgsParser.java
+++ b/src/share/tools/ProjectCreator/ArgsParser.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
diff --git a/src/share/tools/MakeDeps/BuildConfig.java b/src/share/tools/ProjectCreator/BuildConfig.java
index b68d41030..7a2a03c78 100644
--- a/src/share/tools/MakeDeps/BuildConfig.java
+++ b/src/share/tools/ProjectCreator/BuildConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -48,6 +48,9 @@ class BuildConfig {
if (vars == null) vars = new Hashtable();
String flavourBuild = flavour + "_" + build;
+ System.out.println();
+ System.out.println(flavourBuild);
+
put("Name", getCI().makeCfgName(flavourBuild));
put("Flavour", flavour);
put("Build", build);
@@ -71,7 +74,7 @@ class BuildConfig {
initDefaultDefines(defines);
initDefaultCompilerFlags(includes);
initDefaultLinkerFlags();
- handleDB((String)getFieldInContext("IncludeDB"));
+ handleDB();
}
@@ -110,12 +113,12 @@ class BuildConfig {
}
- Vector getPreferredPaths(Database currentDB) {
+ Vector getPreferredPaths(MacroDefinitions macros) {
Vector preferredPaths = new Vector();
// In the case of multiple files with the same name in
// different subdirectories, prefer the versions specified in
// the platform file as the "os_family" and "arch" macros.
- for (Iterator iter = currentDB.getMacros(); iter.hasNext(); ) {
+ for (Iterator iter = macros.getMacros(); iter.hasNext(); ) {
Macro macro = (Macro) iter.next();
if (macro.name.equals("os_family") ||
macro.name.equals("arch")) {
@@ -129,39 +132,36 @@ class BuildConfig {
}
- void handleDB(String dbFile) {
+ void handleDB() {
WinGammaPlatform platform = (WinGammaPlatform)getField(null, "PlatformObject");
- Database db = new Database(platform, platform.defaultGrandIncludeThreshold());
-
- try {
- File incls = new File(get("OutputDir")+Util.sep+"incls");
- FileName oldInclTempl = platform.getInclFileTemplate();
- FileName oldGITempl = platform.getGIFileTemplate();
- FileName oldGDTempl = platform.getGDFileTemplate();
- platform.setInclFileTemplate(new FileName(platform, incls.getPath()+Util.sep,
- "_", "", ".incl", "", ""));
- platform.setGIFileTemplate(new FileName(platform, incls.getPath()+Util.sep,
- "", "_precompiled", ".incl", "", ""));
+ File incls = new File(get("OutputDir")+Util.sep+"incls");
- incls.mkdirs();
+ incls.mkdirs();
- db.get(getFieldString(null, "Platform"), dbFile);
- db.compute();
-
- db.put();
-
- //platform.setInclFileTemplate(oldInclTempl);
- //platform.setGIFileTemplate(oldInclTempl);
+ MacroDefinitions macros = new MacroDefinitions();
+ try {
+ macros.readFrom(getFieldString(null, "Platform"), false);
} catch (Exception e) {
- e.printStackTrace();
- throw new RuntimeException("cannot do db: "+e);
+ throw new RuntimeException(e);
}
- putSpecificField("AllFilesHash", computeAllFiles(platform, db));
+ putSpecificField("AllFilesHash", computeAllFiles(platform, macros));
}
+ private boolean matchesIgnoredPath(String prefixedName) {
+ Vector rv = new Vector();
+ collectRelevantVectors(rv, "IgnorePath");
+ for (Iterator i = rv.iterator(); i.hasNext(); ) {
+ String pathPart = (String) i.next();
+ if (prefixedName.contains(Util.normalize(pathPart))) {
+ return true;
+ }
+ }
+ return false;
+ }
+
void addAll(Iterator i, Hashtable hash,
WinGammaPlatform platform, DirectoryTree tree,
Vector preferredPaths, Vector filesNotFound, Vector filesDuplicate) {
@@ -175,7 +175,10 @@ class BuildConfig {
filesNotFound,
filesDuplicate);
if (prefixedName != null) {
- addTo(hash, Util.normalize(prefixedName), fileName);
+ prefixedName = Util.normalize(prefixedName);
+ if (!matchesIgnoredPath(prefixedName)) {
+ addTo(hash, prefixedName, fileName);
+ }
}
}
}
@@ -185,23 +188,28 @@ class BuildConfig {
ht.put(expandFormat(key), expandFormat(value));
}
- Hashtable computeAllFiles(WinGammaPlatform platform, Database db) {
+ Hashtable computeAllFiles(WinGammaPlatform platform, MacroDefinitions macros) {
Hashtable rv = new Hashtable();
DirectoryTree tree = getSourceTree(get("SourceBase"), getFieldString(null, "StartAt"));
- Vector preferredPaths = getPreferredPaths(db);
+ Vector preferredPaths = getPreferredPaths(macros);
// Hold errors until end
Vector filesNotFound = new Vector();
Vector filesDuplicate = new Vector();
+ Vector includedFiles = new Vector();
// find all files
- Vector dbFiles = new Vector();
- for (Iterator i=db.getAllFiles().iterator(); i.hasNext(); ) {
- FileList fl = (FileList) i.next();
- dbFiles.add(fl.getName());
+ Vector dirs = getSourceIncludes();
+ for (Iterator i = dirs.iterator(); i.hasNext(); ) {
+ String dir = (String)i.next();
+ DirectoryTree subtree = getSourceTree(dir, null);
+ for (Iterator fi = subtree.getFileIterator(); fi.hasNext(); ) {
+ String name = ((File)fi.next()).getName();
+ includedFiles.add(name);
+ }
}
- addAll(dbFiles.iterator(), rv,
+ addAll(includedFiles.iterator(), rv,
platform, tree,
preferredPaths, filesNotFound, filesDuplicate);
@@ -356,11 +364,15 @@ class BuildConfig {
Vector getIncludes() {
Vector rv = new Vector();
- // for generated includes
- rv.add(get("OutputDir"));
-
collectRelevantVectors(rv, "AbsoluteInclude");
+ rv.addAll(getSourceIncludes());
+
+ return rv;
+ }
+
+ private Vector getSourceIncludes() {
+ Vector rv = new Vector();
Vector ri = new Vector();
String sourceBase = getFieldString(null, "SourceBase");
collectRelevantVectors(ri, "RelativeInclude");
@@ -368,7 +380,6 @@ class BuildConfig {
String f = (String)i.next();
rv.add(sourceBase + Util.sep + f);
}
-
return rv;
}
@@ -381,12 +392,10 @@ class BuildConfig {
cfg.startsWith("compiler2")));
}
- // Filters out the IncludeDB statement, which is the only command-
- // line argument we explicitly specialize for the tiered build
+ // Filters out the IgnoreFile and IgnorePaths since they are
+ // handled specially for tiered builds.
static boolean appliesToTieredBuild(String cfg, String key) {
- return (appliesToTieredBuild(cfg) &&
- (key != null &&
- !key.equals("IncludeDB")));
+ return (appliesToTieredBuild(cfg))&& (key != null && !key.startsWith("Ignore"));
}
static String getTieredBuildCfg(String cfg) {
@@ -441,7 +450,7 @@ class BuildConfig {
static void putFieldHash(String cfg, String field, String name, Object val) {
putFieldHashImpl(cfg, field, name, val);
- if (appliesToTieredBuild(cfg)) {
+ if (appliesToTieredBuild(cfg, field)) {
putFieldHashImpl(getTieredBuildCfg(cfg), field, name, val);
}
}
@@ -459,7 +468,7 @@ class BuildConfig {
static void addFieldVector(String cfg, String field, String element) {
addFieldVectorImpl(cfg, field, element);
- if (appliesToTieredBuild(cfg)) {
+ if (appliesToTieredBuild(cfg, field)) {
addFieldVectorImpl(getTieredBuildCfg(cfg), field, element);
}
}
diff --git a/src/share/tools/MakeDeps/DirectoryTree.java b/src/share/tools/ProjectCreator/DirectoryTree.java
index acdc08da7..7bfbc6a8e 100644
--- a/src/share/tools/MakeDeps/DirectoryTree.java
+++ b/src/share/tools/ProjectCreator/DirectoryTree.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -47,17 +47,47 @@ public class DirectoryTree {
verbose = false;
}
- /** Takes an absolute path to the root directory of this
- DirectoryTree. Throws IllegalArgumentException if the given
- string represents a plain file or nonexistent directory. */
+ public void addSubdirToIgnore(String subdir) {
+ subdirsToIgnore.add(subdir);
+ }
+
+ private class FileIterator implements Iterator {
+ private Vector nodes = new Vector();
- public DirectoryTree(String baseDirectory) {
- this();
- readDirectory(baseDirectory);
+ public FileIterator(Node rootNode) {
+ nodes.add(rootNode);
+ prune();
+ }
+ public boolean hasNext() {
+ return nodes.size() > 0;
+ }
+ public Object next() {
+ Node last = (Node)nodes.remove(nodes.size() - 1);
+ prune();
+ return new File(last.getName());
+ }
+
+ public void remove() {
+ throw new RuntimeException();
+ }
+
+ private void prune() {
+ while (nodes.size() > 0) {
+ Node last = (Node)nodes.get(nodes.size() - 1);
+
+ if (last.isDirectory()) {
+ nodes.remove(nodes.size() - 1);
+ nodes.addAll(last.children);
+ } else {
+ // Is at file
+ return;
+ }
+ }
+ }
}
- public void addSubdirToIgnore(String subdir) {
- subdirsToIgnore.add(subdir);
+ public Iterator getFileIterator() {
+ return new FileIterator(rootNode);
}
/** Output "."'s to System.out as directories are read. Defaults
@@ -80,7 +110,7 @@ public class DirectoryTree {
public void readDirectory(String baseDirectory)
throws IllegalArgumentException {
- File root = new File(baseDirectory);
+ File root = new File(Util.normalize(baseDirectory));
if (!root.isDirectory()) {
throw new IllegalArgumentException("baseDirectory \"" +
baseDirectory +
diff --git a/src/share/tools/MakeDeps/DirectoryTreeNode.java b/src/share/tools/ProjectCreator/DirectoryTreeNode.java
index f540e1287..f198dc24b 100644
--- a/src/share/tools/MakeDeps/DirectoryTreeNode.java
+++ b/src/share/tools/ProjectCreator/DirectoryTreeNode.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
diff --git a/src/share/tools/MakeDeps/FileFormatException.java b/src/share/tools/ProjectCreator/FileFormatException.java
index 1ce8b9e6d..f16f0b2ad 100644
--- a/src/share/tools/MakeDeps/FileFormatException.java
+++ b/src/share/tools/ProjectCreator/FileFormatException.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
diff --git a/src/share/tools/MakeDeps/Macro.java b/src/share/tools/ProjectCreator/Macro.java
index 2b9ed67c7..43309ab24 100644
--- a/src/share/tools/MakeDeps/Macro.java
+++ b/src/share/tools/ProjectCreator/Macro.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
diff --git a/src/share/tools/MakeDeps/MacroDefinitions.java b/src/share/tools/ProjectCreator/MacroDefinitions.java
index 727a0c4a9..9ed801ac9 100644
--- a/src/share/tools/MakeDeps/MacroDefinitions.java
+++ b/src/share/tools/ProjectCreator/MacroDefinitions.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -32,16 +32,6 @@ public class MacroDefinitions {
macros = new Vector();
}
- private String lookup(String name) throws NoSuchElementException {
- for (Iterator iter = macros.iterator(); iter.hasNext(); ) {
- Macro macro = (Macro) iter.next();
- if (macro.name.equals(name)) {
- return macro.contents;
- }
- }
- throw new NoSuchElementException(name);
- }
-
public void addMacro(String name, String contents) {
Macro macro = new Macro();
macro.name = name;
@@ -155,102 +145,10 @@ public class MacroDefinitions {
reader.close();
}
- /** Throws IllegalArgumentException if passed token is illegally
- formatted */
- public String expand(String token)
- throws IllegalArgumentException {
- // the token may contain one or more <macroName>'s
-
- String out = "";
-
- // emacs lingo
- int mark = 0;
- int point = 0;
-
- int len = token.length();
-
- if (len == 0)
- return out;
-
- do {
- // Scan "point" forward until hitting either the end of
- // the string or the beginning of a macro
- if (token.charAt(point) == '<') {
- // Append (point - mark) to out
- if ((point - mark) != 0) {
- out += token.substring(mark, point);
- }
- mark = point + 1;
- // Scan forward from point for right bracket
- point++;
- while ((point < len) &&
- (token.charAt(point) != '>')) {
- point++;
- }
- if (point == len) {
- throw new IllegalArgumentException(
- "Could not find right angle-bracket in token " + token
- );
- }
- String name = token.substring(mark, point);
- if (name == null) {
- throw new IllegalArgumentException(
- "Empty macro in token " + token
- );
- }
- try {
- String contents = lookup(name);
- out += contents;
- point++;
- mark = point;
- } catch (NoSuchElementException e) {
- throw new IllegalArgumentException(
- "Unknown macro " + name + " in token " + token
- );
- }
- } else {
- point++;
- }
- } while (point != len);
-
- if (mark != point) {
- out += token.substring(mark, point);
- }
-
- return out;
- }
-
- public MacroDefinitions copy() {
- MacroDefinitions ret = new MacroDefinitions();
- for (Iterator iter = macros.iterator();
- iter.hasNext(); ) {
- Macro orig = (Macro) iter.next();
- Macro macro = new Macro();
- macro.name = orig.name;
- macro.contents = orig.contents;
- ret.macros.add(macro);
- }
- return ret;
- }
-
- public void setAllMacroBodiesTo(String s) {
- for (Iterator iter = macros.iterator();
- iter.hasNext(); ) {
- Macro macro = (Macro) iter.next();
- macro.contents = s;
- }
- }
-
/** This returns an Iterator of Macros. You should not mutate the
returned Macro objects or use the Iterator to remove
macros. */
public Iterator getMacros() {
return macros.iterator();
}
-
- private void error(String text) throws FileFormatException {
- throw new FileFormatException(
- "Expected \"macroname = value\", but found: " + text
- );
- }
}
diff --git a/src/share/tools/ProjectCreator/ProjectCreator.java b/src/share/tools/ProjectCreator/ProjectCreator.java
new file mode 100644
index 000000000..5203c5a36
--- /dev/null
+++ b/src/share/tools/ProjectCreator/ProjectCreator.java
@@ -0,0 +1,98 @@
+/*
+ * Copyright (c) 1999, 2010, 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.
+ *
+ */
+
+public class ProjectCreator {
+
+ public static void usage() {
+ System.out.println("ProjectCreator options:");
+ System.err.println("WinGammaPlatform platform-specific options:");
+ System.err.println(" -sourceBase <path to directory (workspace) " +
+ "containing source files; no trailing slash>");
+ System.err.println(" -dspFileName <full pathname to which .dsp file " +
+ "will be written; all parent directories must " +
+ "already exist>");
+ System.err.println(" -envVar <environment variable to be inserted " +
+ "into .dsp file, substituting for path given in " +
+ "-sourceBase. Example: HotSpotWorkSpace>");
+ System.err.println(" -dllLoc <path to directory in which to put " +
+ "jvm.dll and jvm_g.dll; no trailing slash>");
+ System.err.println(" If any of the above are specified, "+
+ "they must all be.");
+ System.err.println(" Additional, optional arguments, which can be " +
+ "specified multiple times:");
+ System.err.println(" -absoluteInclude <string containing absolute " +
+ "path to include directory>");
+ System.err.println(" -relativeInclude <string containing include " +
+ "directory relative to -envVar>");
+ System.err.println(" -define <preprocessor flag to be #defined " +
+ "(note: doesn't yet support " +
+ "#define (flag) (value))>");
+ System.err.println(" -perFileLine <file> <line>");
+ System.err.println(" -conditionalPerFileLine <file> <line for " +
+ "release build> <line for debug build>");
+ System.err.println(" (NOTE: To work around a bug in nmake, where " +
+ "you can't have a '#' character in a quoted " +
+ "string, all of the lines outputted have \"#\"" +
+ "prepended)");
+ System.err.println(" -startAt <subdir of sourceBase>");
+ System.err.println(" -ignoreFile <file which won't be able to be " +
+ "found in the sourceBase because it's generated " +
+ "later>");
+ System.err.println(" -additionalFile <file not in database but " +
+ "which should show up in .dsp file>");
+ System.err.println(" -additionalGeneratedFile <environment variable of " +
+ "generated file's location> <relative path to " +
+ "directory containing file; no trailing slash> " +
+ "<name of file generated later in the build process>");
+ System.err.println(" -prelink <build> <desc> <cmds>:");
+ System.err.println(" Generate a set of prelink commands for the given BUILD");
+ System.err.println(" (\"Debug\" or \"Release\"). The prelink description and commands");
+ System.err.println(" are both quoted strings.");
+ System.err.println(" Default includes: \".\"");
+ System.err.println(" Default defines: WIN32, _WINDOWS, \"HOTSPOT_BUILD_USER=$(USERNAME)\"");
+ }
+
+ public static void main(String[] args) {
+ try {
+ if (args.length < 3) {
+ usage();
+ System.exit(1);
+ }
+
+ String platformName = args[0];
+ Class platformClass = Class.forName(platformName);
+ WinGammaPlatform platform = (WinGammaPlatform) platformClass.newInstance();
+
+ String[] platformArgs = new String[args.length - 1];
+ System.arraycopy(args, 1, platformArgs, 0, platformArgs.length);
+
+ // Allow the platform to write platform-specific files
+ platform.createVcproj(platformArgs);
+ }
+ catch (Exception e) {
+ e.printStackTrace();
+ System.exit(1);
+ }
+ }
+}
diff --git a/src/share/tools/MakeDeps/Util.java b/src/share/tools/ProjectCreator/Util.java
index e9a44d8d3..e44b4f09c 100644
--- a/src/share/tools/MakeDeps/Util.java
+++ b/src/share/tools/ProjectCreator/Util.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
diff --git a/src/share/tools/MakeDeps/WinGammaPlatform.java b/src/share/tools/ProjectCreator/WinGammaPlatform.java
index 1c136bdbf..ece6b1252 100644
--- a/src/share/tools/MakeDeps/WinGammaPlatform.java
+++ b/src/share/tools/ProjectCreator/WinGammaPlatform.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -117,40 +117,7 @@ class HsArgRule extends ArgRuleSpecific {
}
-public abstract class WinGammaPlatform extends Platform {
- public void setupFileTemplates() {
- inclFileTemplate = new FileName(this,
- "incls\\", "_", "", ".incl", "", ""
- );
- giFileTemplate = new FileName(this,
- "incls\\", "", "_precompiled", ".incl", "", ""
- );
- gdFileTemplate = new FileName(this,
- "", "", "Dependencies", "", "", ""
- );
- }
-
- private static String[] suffixes = { ".cpp", ".c" };
-
- public String[] outerSuffixes() {
- return suffixes;
- }
-
- public String objFileSuffix() {
- return ".obj";
- }
-
- public String asmFileSuffix() {
- return ".i";
- }
-
- public String dependentPrefix() {
- return "$(VM_PATH)";
- }
-
- public boolean includeGIInEachIncl() {
- return false;
- }
+public abstract class WinGammaPlatform {
public boolean fileNameStringEquality(String s1, String s2) {
return s1.equalsIgnoreCase(s2);
@@ -176,8 +143,7 @@ public abstract class WinGammaPlatform extends Platform {
"#define (flag) (value))>");
System.err.println(" -startAt <subdir of sourceBase>");
System.err.println(" -additionalFile <file not in database but " +
- "which should show up in project file, like " +
- "includeDB_core>");
+ "which should show up in project file>");
System.err.println(" -additionalGeneratedFile <absolute path to " +
"directory containing file; no trailing slash> " +
"<name of file generated later in the build process>");
@@ -301,27 +267,6 @@ public abstract class WinGammaPlatform extends Platform {
return name;
}
- protected boolean databaseAllFilesEqual(Database previousDB,
- Database currentDB) {
- Iterator i1 = previousDB.getAllFiles().iterator();
- Iterator i2 = currentDB.getAllFiles().iterator();
-
- while (i1.hasNext() && i2.hasNext()) {
- FileList fl1 = (FileList) i1.next();
- FileList fl2 = (FileList) i2.next();
- if (!fl1.getName().equals(fl2.getName())) {
- return false;
- }
- }
-
- if (i1.hasNext() != i2.hasNext()) {
- // Different lengths
- return false;
- }
-
- return true;
- }
-
protected String envVarPrefixedFileName(String fileName,
int sourceBaseLen,
DirectoryTree tree,
@@ -374,8 +319,7 @@ public abstract class WinGammaPlatform extends Platform {
protected abstract String getProjectExt();
- public void writePlatformSpecificFiles(Database previousDB,
- Database currentDB, String[] args)
+ public void createVcproj(String[] args)
throws IllegalArgumentException, IOException {
parseArguments(args);
@@ -383,16 +327,6 @@ public abstract class WinGammaPlatform extends Platform {
String projectFileName = BuildConfig.getFieldString(null, "ProjectFileName");
String ext = getProjectExt();
- // Compare contents of allFiles of previousDB and includeDB.
- // If these haven't changed, then skip writing the .vcproj file.
- if (false && databaseAllFilesEqual(previousDB, currentDB) &&
- new File(projectFileName).exists()) {
- System.out.println(
- " Databases unchanged; skipping overwrite of "+ext+" file."
- );
- return;
- }
-
String projectName = getProjectName(projectFileName, ext);
writeProjectFile(projectFileName, projectName, createAllConfigs());
@@ -407,15 +341,6 @@ public abstract class WinGammaPlatform extends Platform {
}
- void setInclFileTemplate(FileName val) {
- this.inclFileTemplate = val;
- }
-
- void setGIFileTemplate(FileName val) {
- this.giFileTemplate = val;
- }
-
-
void parseArguments(String[] args) {
new ArgsParser(args,
new ArgRule[]
@@ -551,6 +476,12 @@ public abstract class WinGammaPlatform extends Platform {
HsArgHandler.HASH
),
+ new HsArgRule("-ignorePath",
+ "IgnorePath",
+ null,
+ HsArgHandler.VECTOR
+ ),
+
new HsArgRule("-additionalFile",
"AdditionalFile",
null,
@@ -565,9 +496,6 @@ public abstract class WinGammaPlatform extends Platform {
String dir = it.get();
if (nextNotKey(it)) {
String fileName = it.get();
- // we ignore files that we know are generated, so we coudn't
- // find them in sources
- BuildConfig.putFieldHash(cfg, "IgnoreFile", fileName, "1");
BuildConfig.putFieldHash(cfg, "AdditionalGeneratedFile",
Util.normalize(dir + Util.sep + fileName),
fileName);
@@ -580,12 +508,6 @@ public abstract class WinGammaPlatform extends Platform {
}
),
- new HsArgRule("-includeDB",
- "IncludeDB",
- null,
- HsArgHandler.STRING
- ),
-
new ArgRule("-prelink",
new HsArgHandler() {
public void handle(ArgIterator it) {
diff --git a/src/share/tools/MakeDeps/WinGammaPlatformVC6.java b/src/share/tools/ProjectCreator/WinGammaPlatformVC6.java
index f394b3c50..fb64f7b92 100644
--- a/src/share/tools/MakeDeps/WinGammaPlatformVC6.java
+++ b/src/share/tools/ProjectCreator/WinGammaPlatformVC6.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
diff --git a/src/share/tools/MakeDeps/WinGammaPlatformVC7.java b/src/share/tools/ProjectCreator/WinGammaPlatformVC7.java
index fffff8bd9..e0545228f 100644
--- a/src/share/tools/MakeDeps/WinGammaPlatformVC7.java
+++ b/src/share/tools/ProjectCreator/WinGammaPlatformVC7.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -160,6 +160,25 @@ public class WinGammaPlatformVC7 extends WinGammaPlatform {
}
+ class SpecificPathFilter extends NameFilter {
+ String pats[];
+
+ SpecificPathFilter(String fname, String[] pats) {
+ this.fname = fname;
+ this.pats = pats;
+ }
+
+ boolean match(FileInfo fi) {
+ for (int i=0; i<pats.length; i++) {
+ if (fi.full.matches(pats[i])) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ }
+
class ContainerFilter extends NameFilter {
Vector children;
@@ -232,11 +251,7 @@ public class WinGammaPlatformVC7 extends WinGammaPlatform {
rv.add(new DirectoryFilter("C1", "share/vm/c1", sbase));
- ContainerFilter c2 = new ContainerFilter("C2");
- //c2.add(new DirectoryFilter("share/vm/adlc", sbase));
- c2.add(new DirectoryFilter("share/vm/opto", sbase));
- c2.add(new SpecificNameFilter("Generated", new String[] {"^ad_.+", "^dfa_.+", "^adGlobals.+"}));
- rv.add(c2);
+ rv.add(new DirectoryFilter("C2", "share/vm/opto", sbase));
ContainerFilter comp = new ContainerFilter("Compiler Common");
comp.add(new DirectoryFilter("share/vm/asm", sbase));
@@ -250,10 +265,10 @@ public class WinGammaPlatformVC7 extends WinGammaPlatform {
sbase));
ContainerFilter misc = new ContainerFilter("Misc");
- //misc.add(new DirectoryFilter("share/vm/launch", sbase));
misc.add(new DirectoryFilter("share/vm/libadt", sbase));
misc.add(new DirectoryFilter("share/vm/services", sbase));
misc.add(new DirectoryFilter("share/vm/utilities", sbase));
+ misc.add(new DirectoryFilter("share/vm/classfile", sbase));
rv.add(misc);
rv.add(new DirectoryFilter("os_cpu", sbase));
@@ -262,11 +277,32 @@ public class WinGammaPlatformVC7 extends WinGammaPlatform {
rv.add(new DirectoryFilter("os", sbase));
- rv.add(new SpecificNameFilter("JVMTI Generated", new String[] {"^jvmti.+"}));
-
- rv.add(new SpecificNameFilter("C++ Interpreter Generated", new String[] {"^bytecodeInterpreterWithChecks.+"}));
-
- rv.add(new SpecificNameFilter("Include DBs", new String[] {"^includeDB_.+"}));
+ ContainerFilter generated = new ContainerFilter("Generated");
+ ContainerFilter c1Generated = new ContainerFilter("C1");
+ c1Generated.add(new SpecificPathFilter("C++ Interpreter Generated", new String[] {".*compiler1/generated/jvmtifiles/bytecodeInterpreterWithChecks.+"}));
+ c1Generated.add(new SpecificPathFilter("jvmtifiles", new String[] {".*compiler1/generated/jvmtifiles/.*"}));
+ generated.add(c1Generated);
+ ContainerFilter c2Generated = new ContainerFilter("C2");
+ c2Generated.add(new SpecificPathFilter("C++ Interpreter Generated", new String[] {".*compiler2/generated/jvmtifiles/bytecodeInterpreterWithChecks.+"}));
+ c2Generated.add(new SpecificPathFilter("adfiles", new String[] {".*compiler2/generated/adfiles/.*"}));
+ c2Generated.add(new SpecificPathFilter("jvmtifiles", new String[] {".*compiler2/generated/jvmtifiles/.*"}));
+ generated.add(c2Generated);
+ ContainerFilter coreGenerated = new ContainerFilter("Core");
+ coreGenerated.add(new SpecificPathFilter("C++ Interpreter Generated", new String[] {".*core/generated/jvmtifiles/bytecodeInterpreterWithChecks.+"}));
+ coreGenerated.add(new SpecificPathFilter("jvmtifiles", new String[] {".*core/generated/jvmtifiles/.*"}));
+ generated.add(coreGenerated);
+ ContainerFilter tieredGenerated = new ContainerFilter("Tiered");
+ tieredGenerated.add(new SpecificPathFilter("C++ Interpreter Generated", new String[] {".*tiered/generated/jvmtifiles/bytecodeInterpreterWithChecks.+"}));
+ tieredGenerated.add(new SpecificPathFilter("adfiles", new String[] {".*tiered/generated/adfiles/.*"}));
+ tieredGenerated.add(new SpecificPathFilter("jvmtifiles", new String[] {".*tiered/generated/jvmtifiles/.*"}));
+ generated.add(tieredGenerated);
+ ContainerFilter kernelGenerated = new ContainerFilter("Kernel");
+ kernelGenerated.add(new SpecificPathFilter("C++ Interpreter Generated", new String[] {".*kernel/generated/jvmtifiles/bytecodeInterpreterWithChecks.+"}));
+ kernelGenerated.add(new SpecificPathFilter("jvmtifiles", new String[] {".*kernel/generated/jvmtifiles/.*"}));
+ generated.add(kernelGenerated);
+ rv.add(generated);
+
+ rv.add(new SpecificNameFilter("Precompiled Header", new String[] {"precompiled.hpp"}));
// this one is to catch files not caught by other filters
//rv.add(new TypeFilter("Header Files", new String[] {"h", "hpp", "hxx", "hm", "inl", "fi", "fd"}));
@@ -489,7 +525,10 @@ public class WinGammaPlatformVC7 extends WinGammaPlatform {
printWriter.println();
for (int i=0; i<attrs.length; i+=2) {
doIndent();
- printWriter.println(" " + attrs[i]+"=\""+attrs[i+1]+"\"");
+ printWriter.print(" " + attrs[i]+"=\""+attrs[i+1]+"\"");
+ if (i < attrs.length - 2) {
+ printWriter.println();
+ }
}
}
@@ -554,8 +593,7 @@ class CompilerInterfaceVC7 extends CompilerInterface {
addAttr(rv, "AdditionalIncludeDirectories", Util.join(",", includes));
addAttr(rv, "PreprocessorDefinitions",
Util.join(";", defines).replace("\"","&quot;"));
- addAttr(rv, "PrecompiledHeaderThrough",
- "incls"+Util.sep+"_precompiled.incl");
+ addAttr(rv, "PrecompiledHeaderThrough", "precompiled.hpp");
addAttr(rv, "PrecompiledHeaderFile", outDir+Util.sep+"vm.pch");
addAttr(rv, "AssemblerListingLocation", outDir);
addAttr(rv, "ObjectFile", outDir+Util.sep);
diff --git a/src/share/tools/MakeDeps/WinGammaPlatformVC8.java b/src/share/tools/ProjectCreator/WinGammaPlatformVC8.java
index d83edb959..21926357a 100644
--- a/src/share/tools/MakeDeps/WinGammaPlatformVC8.java
+++ b/src/share/tools/ProjectCreator/WinGammaPlatformVC8.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,7 +22,6 @@
*
*/
-import java.io.*;
import java.util.*;
public class WinGammaPlatformVC8 extends WinGammaPlatformVC7 {
diff --git a/src/share/tools/MakeDeps/WinGammaPlatformVC9.java b/src/share/tools/ProjectCreator/WinGammaPlatformVC9.java
index 0f1420992..273ea7ace 100644
--- a/src/share/tools/MakeDeps/WinGammaPlatformVC9.java
+++ b/src/share/tools/ProjectCreator/WinGammaPlatformVC9.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,9 +22,6 @@
*
*/
-import java.io.*;
-import java.util.*;
-
public class WinGammaPlatformVC9 extends WinGammaPlatformVC8 {
String projectVersion() {return "9.00";};
diff --git a/src/share/tools/hsdis/hsdis-demo.c b/src/share/tools/hsdis/hsdis-demo.c
index 782bd1cfa..a86ea66f3 100644
--- a/src/share/tools/hsdis/hsdis-demo.c
+++ b/src/share/tools/hsdis/hsdis-demo.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2010, 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
@@ -22,6 +22,8 @@
*
*/
+#include "precompiled.hpp"
+
/* hsdis-demo.c -- dump a range of addresses as native instructions
This demonstrates the protocol required by the HotSpot PrintAssembly option.
*/
diff --git a/src/share/tools/hsdis/hsdis.c b/src/share/tools/hsdis/hsdis.c
index f4ec99d70..7736a8057 100644
--- a/src/share/tools/hsdis/hsdis.c
+++ b/src/share/tools/hsdis/hsdis.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2010, 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
@@ -22,6 +22,8 @@
*
*/
+#include "precompiled.hpp"
+
/* hsdis.c -- dump a range of addresses as native instructions
This implements the plugin protocol required by the
HotSpot PrintAssembly option.
diff --git a/src/share/tools/hsdis/hsdis.h b/src/share/tools/hsdis/hsdis.h
index cee8102f6..d1b2dd964 100644
--- a/src/share/tools/hsdis/hsdis.h
+++ b/src/share/tools/hsdis/hsdis.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2010, 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
diff --git a/src/share/vm/adlc/adlc.hpp b/src/share/vm/adlc/adlc.hpp
index cbc735d27..3e00570f1 100644
--- a/src/share/vm/adlc/adlc.hpp
+++ b/src/share/vm/adlc/adlc.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_ADLC_ADLC_HPP
+#define SHARE_VM_ADLC_ADLC_HPP
+
//
// Standard include file for ADLC parser
//
@@ -77,18 +80,19 @@ typedef unsigned int uintptr_t;
#define uint32 unsigned int
#define uint unsigned int
+// VM components
+#include "opto/opcodes.hpp"
+
// Macros
// Debugging note: Put a breakpoint on "abort".
#undef assert
#define assert(cond, msg) { if (!(cond)) { fprintf(stderr, "assert fails %s %d: %s\n", __FILE__, __LINE__, msg); abort(); }}
+#undef max
#define max(a, b) (((a)>(b)) ? (a) : (b))
-// VM components
-#include "opcodes.hpp"
-
// ADLC components
#include "arena.hpp"
-#include "adlcVMDeps.hpp"
+#include "opto/adlcVMDeps.hpp"
#include "filebuff.hpp"
#include "dict2.hpp"
#include "forms.hpp"
@@ -101,3 +105,5 @@ typedef unsigned int uintptr_t;
// could have a backpointer to the AD but it's too complicated to pass
// it everywhere it needs to be available.
extern ArchDesc* globalAD;
+
+#endif // SHARE_VM_ADLC_ADLC_HPP
diff --git a/src/share/vm/adlc/adlparse.cpp b/src/share/vm/adlc/adlparse.cpp
index 429447156..bd37af19a 100644
--- a/src/share/vm/adlc/adlparse.cpp
+++ b/src/share/vm/adlc/adlparse.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
diff --git a/src/share/vm/adlc/adlparse.hpp b/src/share/vm/adlc/adlparse.hpp
index ffeb336d0..1ebb3e325 100644
--- a/src/share/vm/adlc/adlparse.hpp
+++ b/src/share/vm/adlc/adlparse.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_ADLC_ADLPARSE_HPP
+#define SHARE_VM_ADLC_ADLPARSE_HPP
+
// ADLPARSE.HPP - Definitions for Architecture Description Language Parser
// Authors: Chris Vick and Mike Paleczny
@@ -277,3 +280,5 @@ public:
static bool equivalent_expressions(const char* str1, const char* str2);
static void trim(char* &token); // trim leading & trailing spaces
};
+
+#endif // SHARE_VM_ADLC_ADLPARSE_HPP
diff --git a/src/share/vm/adlc/archDesc.cpp b/src/share/vm/adlc/archDesc.cpp
index 263f9e6e3..e751b54db 100644
--- a/src/share/vm/adlc/archDesc.cpp
+++ b/src/share/vm/adlc/archDesc.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+// Copyright (c) 1997, 2010, 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
@@ -1038,22 +1038,38 @@ void ArchDesc::addSunCopyright(char* legal, int size, FILE *fp) {
fprintf(fp,"\n");
}
-//---------------------------machineDependentIncludes--------------------------
-// output #include declarations for machine specific files
-void ArchDesc::machineDependentIncludes(ADLFILE &adlfile) {
- const char *basename = adlfile._name;
- const char *cp;
- for (cp = basename; *cp; cp++)
- if (*cp == '/') basename = cp+1;
+//---------------------------addIncludeGuardStart--------------------------
+// output the start of an include guard.
+void ArchDesc::addIncludeGuardStart(ADLFILE &adlfile, const char* guardString) {
// Build #include lines
fprintf(adlfile._fp, "\n");
- fprintf(adlfile._fp, "#include \"incls/_precompiled.incl\"\n");
- fprintf(adlfile._fp, "#include \"incls/_%s.incl\"\n",basename);
+ fprintf(adlfile._fp, "#ifndef %s\n", guardString);
+ fprintf(adlfile._fp, "#define %s\n", guardString);
fprintf(adlfile._fp, "\n");
}
+//---------------------------addIncludeGuardEnd--------------------------
+// output the end of an include guard.
+void ArchDesc::addIncludeGuardEnd(ADLFILE &adlfile, const char* guardString) {
+ // Build #include lines
+ fprintf(adlfile._fp, "\n");
+ fprintf(adlfile._fp, "#endif // %s\n", guardString);
+
+}
+
+//---------------------------addInclude--------------------------
+// output the #include line for this file.
+void ArchDesc::addInclude(ADLFILE &adlfile, const char* fileName) {
+ fprintf(adlfile._fp, "#include \"%s\"\n", fileName);
+
+}
+
+void ArchDesc::addInclude(ADLFILE &adlfile, const char* includeDir, const char* fileName) {
+ fprintf(adlfile._fp, "#include \"%s/%s\"\n", includeDir, fileName);
+
+}
//---------------------------addPreprocessorChecks-----------------------------
// Output C preprocessor code to verify the backend compilation environment.
diff --git a/src/share/vm/adlc/archDesc.hpp b/src/share/vm/adlc/archDesc.hpp
index 1904d1d36..7a2ff93af 100644
--- a/src/share/vm/adlc/archDesc.hpp
+++ b/src/share/vm/adlc/archDesc.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_ADLC_ARCHDESC_HPP
+#define SHARE_VM_ADLC_ARCHDESC_HPP
+
// Definitions for Error Flags
#define WARN 0
#define SYNERR 1
@@ -274,8 +277,13 @@ public:
// output SUN copyright info
void addSunCopyright(char* legal, int size, FILE *fp);
- // output #include declarations for machine specific files
- void machineDependentIncludes(ADLFILE &adlfile);
+ // output the start of an include guard.
+ void addIncludeGuardStart(ADLFILE &adlfile, const char* guardString);
+ // output the end of an include guard.
+ void addIncludeGuardEnd(ADLFILE &adlfile, const char* guardString);
+ // output the #include line for this file.
+ void addInclude(ADLFILE &adlfile, const char* fileName);
+ void addInclude(ADLFILE &adlfile, const char* includeDir, const char* fileName);
// Output C preprocessor code to verify the backend compilation environment.
void addPreprocessorChecks(FILE *fp);
// Output C source and header (source_hpp) blocks.
@@ -387,3 +395,5 @@ public:
// Allow derived class to output name and position specific info
virtual void record_position(OutputMap::position place, int index) {}
};
+
+#endif // SHARE_VM_ADLC_ARCHDESC_HPP
diff --git a/src/share/vm/adlc/arena.cpp b/src/share/vm/adlc/arena.cpp
index d8330fe8c..b8bb1a0bd 100644
--- a/src/share/vm/adlc/arena.cpp
+++ b/src/share/vm/adlc/arena.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
diff --git a/src/share/vm/adlc/arena.hpp b/src/share/vm/adlc/arena.hpp
index 2975165dc..a92857e13 100644
--- a/src/share/vm/adlc/arena.hpp
+++ b/src/share/vm/adlc/arena.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_ADLC_ARENA_HPP
+#define SHARE_VM_ADLC_ARENA_HPP
+
// All classes in the virtual machine must be subclassed
// by one of the following allocation classes:
//
@@ -155,3 +158,5 @@ public:
size_t size_in_bytes() const { return _size_in_bytes; }
void set_size_in_bytes(size_t size) { _size_in_bytes = size; }
};
+
+#endif // SHARE_VM_ADLC_ARENA_HPP
diff --git a/src/share/vm/adlc/dfa.cpp b/src/share/vm/adlc/dfa.cpp
index 4f65a8fe0..5333c152c 100644
--- a/src/share/vm/adlc/dfa.cpp
+++ b/src/share/vm/adlc/dfa.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
diff --git a/src/share/vm/adlc/dict2.cpp b/src/share/vm/adlc/dict2.cpp
index 3d0b783db..c9423df2e 100644
--- a/src/share/vm/adlc/dict2.cpp
+++ b/src/share/vm/adlc/dict2.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
diff --git a/src/share/vm/adlc/dict2.hpp b/src/share/vm/adlc/dict2.hpp
index 08b1695d1..1d0d22aa0 100644
--- a/src/share/vm/adlc/dict2.hpp
+++ b/src/share/vm/adlc/dict2.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#ifndef _DICT_
-#define _DICT_
+#ifndef SHARE_VM_ADLC_DICT2_HPP
+#define SHARE_VM_ADLC_DICT2_HPP
+
// Dictionaries - An Abstract Data Type
@@ -117,4 +118,4 @@ class DictI {
int test(void) { return _i<_d->_size;} // Test for end of iteration
};
-#endif // _DICT_
+#endif // SHARE_VM_ADLC_DICT2_HPP
diff --git a/src/share/vm/adlc/filebuff.cpp b/src/share/vm/adlc/filebuff.cpp
index 6c86c5634..5f54d7246 100644
--- a/src/share/vm/adlc/filebuff.cpp
+++ b/src/share/vm/adlc/filebuff.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
diff --git a/src/share/vm/adlc/filebuff.hpp b/src/share/vm/adlc/filebuff.hpp
index e5b1747f3..3d8bdad8f 100644
--- a/src/share/vm/adlc/filebuff.hpp
+++ b/src/share/vm/adlc/filebuff.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_ADLC_FILEBUFF_HPP
+#define SHARE_VM_ADLC_FILEBUFF_HPP
+
// FILEBUFF.HPP - Definitions for parser file buffering routines
#include <iostream>
@@ -99,3 +102,5 @@ class FileBuffRegion {
void print(ostream&);
friend ostream& operator<< (ostream&, FileBuffRegion&);
};
+
+#endif // SHARE_VM_ADLC_FILEBUFF_HPP
diff --git a/src/share/vm/adlc/forms.cpp b/src/share/vm/adlc/forms.cpp
index bdd35fd2a..5e05a841e 100644
--- a/src/share/vm/adlc/forms.cpp
+++ b/src/share/vm/adlc/forms.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
diff --git a/src/share/vm/adlc/forms.hpp b/src/share/vm/adlc/forms.hpp
index 03e4eb172..3132c6a3f 100644
--- a/src/share/vm/adlc/forms.hpp
+++ b/src/share/vm/adlc/forms.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_ADLC_FORMS_HPP
+#define SHARE_VM_ADLC_FORMS_HPP
+
// FORMS.HPP - ADL Parser Generic and Utility Forms Classes
#define TRUE 1
@@ -588,3 +591,5 @@ public:
void print_asserts(FILE *fp);
void dump();
};
+
+#endif // SHARE_VM_ADLC_FORMS_HPP
diff --git a/src/share/vm/adlc/formsopt.cpp b/src/share/vm/adlc/formsopt.cpp
index 7aa405219..e92875385 100644
--- a/src/share/vm/adlc/formsopt.cpp
+++ b/src/share/vm/adlc/formsopt.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
diff --git a/src/share/vm/adlc/formsopt.hpp b/src/share/vm/adlc/formsopt.hpp
index 9bf2af650..2c0cad506 100644
--- a/src/share/vm/adlc/formsopt.hpp
+++ b/src/share/vm/adlc/formsopt.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_ADLC_FORMSOPT_HPP
+#define SHARE_VM_ADLC_FORMSOPT_HPP
+
// FORMSOPT.HPP - ADL Parser Target Specific Optimization Forms Classes
// Class List
@@ -546,3 +549,5 @@ public:
void dump();
void output(FILE *fp);
};
+
+#endif // SHARE_VM_ADLC_FORMSOPT_HPP
diff --git a/src/share/vm/adlc/formssel.hpp b/src/share/vm/adlc/formssel.hpp
index 4c05285a8..285eacd0a 100644
--- a/src/share/vm/adlc/formssel.hpp
+++ b/src/share/vm/adlc/formssel.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_ADLC_FORMSSEL_HPP
+#define SHARE_VM_ADLC_FORMSSEL_HPP
+
// FORMSSEL.HPP - ADL Parser Instruction Selection Forms Classes
// Class List
@@ -1062,3 +1065,5 @@ public:
void dump();
void output(FILE *fp);
};
+
+#endif // SHARE_VM_ADLC_FORMSSEL_HPP
diff --git a/src/share/vm/adlc/main.cpp b/src/share/vm/adlc/main.cpp
index 4aaa5e393..3d74a4f02 100644
--- a/src/share/vm/adlc/main.cpp
+++ b/src/share/vm/adlc/main.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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,17 @@ static int get_legal_text(FileBuff &fbuf, char **legal_text); // Get pointer to
ArchDesc* globalAD = NULL; // global reference to Architecture Description object
+const char* get_basename(const char* filename) {
+ const char *basename = filename;
+ const char *cp;
+ for (cp = basename; *cp; cp++) {
+ if (*cp == '/') {
+ basename = cp+1;
+ }
+ }
+ return basename;
+}
+
//------------------------------main-------------------------------------------
int main(int argc, char *argv[])
{
@@ -193,16 +204,69 @@ int main(int argc, char *argv[])
AD.addSunCopyright(legal_text, legal_sz, AD._CPP_PIPELINE_file._fp); // .cpp
AD.addSunCopyright(legal_text, legal_sz, AD._VM_file._fp); // .hpp
AD.addSunCopyright(legal_text, legal_sz, AD._DFA_file._fp); // .cpp
+ // Add include guards for all .hpp files
+ AD.addIncludeGuardStart(AD._HPP_file, "GENERATED_ADFILES_AD_HPP"); // .hpp
+ AD.addIncludeGuardStart(AD._VM_file, "GENERATED_ADFILES_ADGLOBALS_HPP"); // .hpp
+ // Add includes
+ AD.addInclude(AD._CPP_file, "precompiled.hpp");
+ 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, "asm/assembler.hpp");
+ AD.addInclude(AD._CPP_file, "code/vmreg.hpp");
+ AD.addInclude(AD._CPP_file, "gc_interface/collectedHeap.inline.hpp");
+ AD.addInclude(AD._CPP_file, "oops/compiledICHolderOop.hpp");
+ AD.addInclude(AD._CPP_file, "oops/markOop.hpp");
+ AD.addInclude(AD._CPP_file, "oops/methodOop.hpp");
+ AD.addInclude(AD._CPP_file, "oops/oop.inline.hpp");
+ AD.addInclude(AD._CPP_file, "oops/oop.inline2.hpp");
+ AD.addInclude(AD._CPP_file, "opto/cfgnode.hpp");
+ AD.addInclude(AD._CPP_file, "opto/locknode.hpp");
+ AD.addInclude(AD._CPP_file, "opto/opcodes.hpp");
+ AD.addInclude(AD._CPP_file, "opto/regalloc.hpp");
+ AD.addInclude(AD._CPP_file, "opto/regmask.hpp");
+ AD.addInclude(AD._CPP_file, "opto/runtime.hpp");
+ AD.addInclude(AD._CPP_file, "runtime/biasedLocking.hpp");
+ AD.addInclude(AD._CPP_file, "runtime/sharedRuntime.hpp");
+ AD.addInclude(AD._CPP_file, "runtime/stubRoutines.hpp");
+ AD.addInclude(AD._CPP_file, "utilities/growableArray.hpp");
+#ifdef TARGET_ARCH_x86
+ AD.addInclude(AD._CPP_file, "assembler_x86.inline.hpp");
+ AD.addInclude(AD._CPP_file, "nativeInst_x86.hpp");
+ AD.addInclude(AD._CPP_file, "vmreg_x86.inline.hpp");
+#endif
+#ifdef TARGET_ARCH_sparc
+ AD.addInclude(AD._CPP_file, "assembler_sparc.inline.hpp");
+ AD.addInclude(AD._CPP_file, "nativeInst_sparc.hpp");
+ AD.addInclude(AD._CPP_file, "vmreg_sparc.inline.hpp");
+#endif
+ AD.addInclude(AD._HPP_file, "memory/allocation.hpp");
+ AD.addInclude(AD._HPP_file, "opto/machnode.hpp");
+ AD.addInclude(AD._HPP_file, "opto/node.hpp");
+ AD.addInclude(AD._HPP_file, "opto/regalloc.hpp");
+ AD.addInclude(AD._HPP_file, "opto/subnode.hpp");
+ AD.addInclude(AD._CPP_CLONE_file, "precompiled.hpp");
+ AD.addInclude(AD._CPP_CLONE_file, "adfiles", get_basename(AD._HPP_file._name));
+ AD.addInclude(AD._CPP_EXPAND_file, "precompiled.hpp");
+ AD.addInclude(AD._CPP_EXPAND_file, "adfiles", get_basename(AD._HPP_file._name));
+ AD.addInclude(AD._CPP_FORMAT_file, "precompiled.hpp");
+ AD.addInclude(AD._CPP_FORMAT_file, "adfiles", get_basename(AD._HPP_file._name));
+ AD.addInclude(AD._CPP_GEN_file, "precompiled.hpp");
+ AD.addInclude(AD._CPP_GEN_file, "adfiles", get_basename(AD._HPP_file._name));
+ AD.addInclude(AD._CPP_GEN_file, "opto/cfgnode.hpp");
+ AD.addInclude(AD._CPP_GEN_file, "opto/locknode.hpp");
+ AD.addInclude(AD._CPP_MISC_file, "precompiled.hpp");
+ AD.addInclude(AD._CPP_MISC_file, "adfiles", get_basename(AD._HPP_file._name));
+ AD.addInclude(AD._CPP_PEEPHOLE_file, "precompiled.hpp");
+ AD.addInclude(AD._CPP_PEEPHOLE_file, "adfiles", get_basename(AD._HPP_file._name));
+ AD.addInclude(AD._CPP_PIPELINE_file, "precompiled.hpp");
+ AD.addInclude(AD._CPP_PIPELINE_file, "adfiles", get_basename(AD._HPP_file._name));
+ AD.addInclude(AD._DFA_file, "precompiled.hpp");
+ AD.addInclude(AD._DFA_file, "adfiles", get_basename(AD._HPP_file._name));
+ AD.addInclude(AD._DFA_file, "opto/matcher.hpp");
+ AD.addInclude(AD._DFA_file, "opto/opcodes.hpp");
// Make sure each .cpp file starts with include lines:
// files declaring and defining generators for Mach* Objects (hpp,cpp)
- AD.machineDependentIncludes(AD._CPP_file); // .cpp
- AD.machineDependentIncludes(AD._CPP_CLONE_file); // .cpp
- AD.machineDependentIncludes(AD._CPP_EXPAND_file); // .cpp
- AD.machineDependentIncludes(AD._CPP_FORMAT_file); // .cpp
- AD.machineDependentIncludes(AD._CPP_GEN_file); // .cpp
- AD.machineDependentIncludes(AD._CPP_MISC_file); // .cpp
- AD.machineDependentIncludes(AD._CPP_PEEPHOLE_file); // .cpp
- AD.machineDependentIncludes(AD._CPP_PIPELINE_file); // .cpp
// Generate the result files:
// enumerations, class definitions, object generators, and the DFA
// file containing enumeration of machine operands & instructions (hpp)
@@ -244,8 +308,10 @@ int main(int argc, char *argv[])
AD.addPreprocessorChecks(AD._CPP_PIPELINE_file._fp); // .cpp
// define the finite automata that selects lowest cost production
- AD.machineDependentIncludes(AD._DFA_file); // .cpp
AD.buildDFA(AD._DFA_file._fp);
+ // Add include guards for all .hpp files
+ AD.addIncludeGuardEnd(AD._HPP_file, "GENERATED_ADFILES_AD_HPP"); // .hpp
+ AD.addIncludeGuardEnd(AD._VM_file, "GENERATED_ADFILES_ADGLOBALS_HPP"); // .hpp
AD.close_files(0); // Close all input/output files
diff --git a/src/share/vm/asm/assembler.cpp b/src/share/vm/asm/assembler.cpp
index 4eaa7fc36..e4e890931 100644
--- a/src/share/vm/asm/assembler.cpp
+++ b/src/share/vm/asm/assembler.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,21 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_assembler.cpp.incl"
+#include "precompiled.hpp"
+#include "asm/assembler.hpp"
+#include "asm/assembler.inline.hpp"
+#include "asm/codeBuffer.hpp"
+#include "runtime/icache.hpp"
+#include "runtime/os.hpp"
+#ifdef TARGET_ARCH_x86
+# include "assembler_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "assembler_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "assembler_zero.inline.hpp"
+#endif
// Implementation of AbstractAssembler
diff --git a/src/share/vm/asm/assembler.hpp b/src/share/vm/asm/assembler.hpp
index d6a31e2e5..04d84c437 100644
--- a/src/share/vm/asm/assembler.hpp
+++ b/src/share/vm/asm/assembler.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,28 @@
*
*/
+#ifndef SHARE_VM_ASM_ASSEMBLER_HPP
+#define SHARE_VM_ASM_ASSEMBLER_HPP
+
+#include "code/oopRecorder.hpp"
+#include "code/relocInfo.hpp"
+#include "memory/allocation.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/growableArray.hpp"
+#include "utilities/top.hpp"
+#ifdef TARGET_ARCH_x86
+# include "register_x86.hpp"
+# include "vm_version_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "register_sparc.hpp"
+# include "vm_version_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "register_zero.hpp"
+# include "vm_version_zero.hpp"
+#endif
+
// This file contains platform-independent assembler declarations.
class CodeBuffer;
@@ -348,4 +370,15 @@ class AbstractAssembler : public ResourceObj {
#endif // PRODUCT
};
-#include "incls/_assembler_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "assembler_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "assembler_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "assembler_zero.hpp"
+#endif
+
+
+#endif // SHARE_VM_ASM_ASSEMBLER_HPP
diff --git a/src/share/vm/asm/assembler.inline.hpp b/src/share/vm/asm/assembler.inline.hpp
index 043e49ad7..a42b6d3ab 100644
--- a/src/share/vm/asm/assembler.inline.hpp
+++ b/src/share/vm/asm/assembler.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_ASM_ASSEMBLER_INLINE_HPP
+#define SHARE_VM_ASM_ASSEMBLER_INLINE_HPP
+
+#include "asm/assembler.hpp"
+#include "asm/codeBuffer.hpp"
+#include "compiler/disassembler.hpp"
+#include "runtime/threadLocalStorage.hpp"
+
inline void AbstractAssembler::sync() {
CodeSection* cs = code_section();
guarantee(cs->start() == _code_begin, "must not shift code buffer");
@@ -133,3 +141,5 @@ address AbstractAssembler::address_table_constant(GrowableArray<Label*> labels)
}
return ptr;
}
+
+#endif // SHARE_VM_ASM_ASSEMBLER_INLINE_HPP
diff --git a/src/share/vm/asm/codeBuffer.cpp b/src/share/vm/asm/codeBuffer.cpp
index d7e4bb54d..e0978a78e 100644
--- a/src/share/vm/asm/codeBuffer.cpp
+++ b/src/share/vm/asm/codeBuffer.cpp
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_codeBuffer.cpp.incl"
+#include "precompiled.hpp"
+#include "asm/codeBuffer.hpp"
+#include "compiler/disassembler.hpp"
+#include "utilities/copy.hpp"
// The structure of a CodeSection:
//
diff --git a/src/share/vm/asm/codeBuffer.hpp b/src/share/vm/asm/codeBuffer.hpp
index da38c19e4..8ab664d49 100644
--- a/src/share/vm/asm/codeBuffer.hpp
+++ b/src/share/vm/asm/codeBuffer.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_ASM_CODEBUFFER_HPP
+#define SHARE_VM_ASM_CODEBUFFER_HPP
+
+#include "asm/assembler.hpp"
+#include "code/oopRecorder.hpp"
+#include "code/relocInfo.hpp"
+
class CodeComments;
class AbstractAssembler;
class MacroAssembler;
@@ -550,7 +557,16 @@ class CodeBuffer: public StackObj {
// The following header contains architecture-specific implementations
- #include "incls/_codeBuffer_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "codeBuffer_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "codeBuffer_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "codeBuffer_zero.hpp"
+#endif
+
};
@@ -562,3 +578,5 @@ inline bool CodeSection::maybe_expand_to_ensure_remaining(csize_t amount) {
if (remaining() < amount) { _outer->expand(this, amount); return true; }
return false;
}
+
+#endif // SHARE_VM_ASM_CODEBUFFER_HPP
diff --git a/src/share/vm/asm/register.cpp b/src/share/vm/asm/register.cpp
index f491150e7..85da369ca 100644
--- a/src/share/vm/asm/register.cpp
+++ b/src/share/vm/asm/register.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_register.cpp.incl"
+#include "precompiled.hpp"
+#include "asm/register.hpp"
// Intentionally left blank
diff --git a/src/share/vm/asm/register.hpp b/src/share/vm/asm/register.hpp
index a142d0575..48179211f 100644
--- a/src/share/vm/asm/register.hpp
+++ b/src/share/vm/asm/register.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_ASM_REGISTER_HPP
+#define SHARE_VM_ASM_REGISTER_HPP
+
+#include "utilities/top.hpp"
+
// Use AbstractRegister as shortcut
class AbstractRegisterImpl;
typedef AbstractRegisterImpl* AbstractRegister;
@@ -209,3 +214,5 @@ inline void assert_different_registers(
"registers must be different"
);
}
+
+#endif // SHARE_VM_ASM_REGISTER_HPP
diff --git a/src/share/vm/c1/c1_CFGPrinter.cpp b/src/share/vm/c1/c1_CFGPrinter.cpp
index fa1e08ff0..4964ebd68 100644
--- a/src/share/vm/c1/c1_CFGPrinter.cpp
+++ b/src/share/vm/c1/c1_CFGPrinter.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_CFGPrinter.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_CFGPrinter.hpp"
+#include "c1/c1_IR.hpp"
+#include "c1/c1_InstructionPrinter.hpp"
+#include "c1/c1_LIR.hpp"
+#include "c1/c1_LinearScan.hpp"
+#include "c1/c1_ValueStack.hpp"
#ifndef PRODUCT
diff --git a/src/share/vm/c1/c1_CFGPrinter.hpp b/src/share/vm/c1/c1_CFGPrinter.hpp
index a8bf09420..1cdde1186 100644
--- a/src/share/vm/c1/c1_CFGPrinter.hpp
+++ b/src/share/vm/c1/c1_CFGPrinter.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_C1_C1_CFGPRINTER_HPP
+#define SHARE_VM_C1_C1_CFGPRINTER_HPP
+
+#include "c1/c1_Compilation.hpp"
+#include "c1/c1_Instruction.hpp"
+
#ifndef PRODUCT
// This is a utility class used for recording the results of a
@@ -44,3 +50,5 @@ public:
};
#endif
+
+#endif // SHARE_VM_C1_C1_CFGPRINTER_HPP
diff --git a/src/share/vm/c1/c1_Canonicalizer.cpp b/src/share/vm/c1/c1_Canonicalizer.cpp
index 024e1ed36..56a254c77 100644
--- a/src/share/vm/c1/c1_Canonicalizer.cpp
+++ b/src/share/vm/c1/c1_Canonicalizer.cpp
@@ -22,8 +22,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_Canonicalizer.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_Canonicalizer.hpp"
+#include "c1/c1_InstructionPrinter.hpp"
+#include "c1/c1_ValueStack.hpp"
+#include "ci/ciArray.hpp"
+#include "runtime/sharedRuntime.hpp"
class PrintValueVisitor: public ValueVisitor {
diff --git a/src/share/vm/c1/c1_Canonicalizer.hpp b/src/share/vm/c1/c1_Canonicalizer.hpp
index a25a4bd23..e784fc953 100644
--- a/src/share/vm/c1/c1_Canonicalizer.hpp
+++ b/src/share/vm/c1/c1_Canonicalizer.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_C1_C1_CANONICALIZER_HPP
+#define SHARE_VM_C1_C1_CANONICALIZER_HPP
+
+#include "c1/c1_Instruction.hpp"
+
class Canonicalizer: InstructionVisitor {
private:
Compilation *_compilation;
@@ -98,3 +103,5 @@ class Canonicalizer: InstructionVisitor {
virtual void do_ProfileCall (ProfileCall* x);
virtual void do_ProfileInvoke (ProfileInvoke* x);
};
+
+#endif // SHARE_VM_C1_C1_CANONICALIZER_HPP
diff --git a/src/share/vm/c1/c1_CodeStubs.hpp b/src/share/vm/c1/c1_CodeStubs.hpp
index d8a8ed6bc..7579b0cfe 100644
--- a/src/share/vm/c1/c1_CodeStubs.hpp
+++ b/src/share/vm/c1/c1_CodeStubs.hpp
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_C1_C1_CODESTUBS_HPP
+#define SHARE_VM_C1_C1_CODESTUBS_HPP
+
+#include "c1/c1_FrameMap.hpp"
+#include "c1/c1_IR.hpp"
+#include "c1/c1_Instruction.hpp"
+#include "c1/c1_LIR.hpp"
+#include "c1/c1_Runtime1.hpp"
+#include "utilities/array.hpp"
+
class CodeEmitInfo;
class LIR_Assembler;
class LIR_OpVisitState;
@@ -586,3 +596,5 @@ class G1PostBarrierStub: public CodeStub {
#endif // SERIALGC
//////////////////////////////////////////////////////////////////////////////////////////
+
+#endif // SHARE_VM_C1_C1_CODESTUBS_HPP
diff --git a/src/share/vm/c1/c1_Compilation.cpp b/src/share/vm/c1/c1_Compilation.cpp
index 57e1623d9..f4c353f45 100644
--- a/src/share/vm/c1/c1_Compilation.cpp
+++ b/src/share/vm/c1/c1_Compilation.cpp
@@ -22,8 +22,16 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_Compilation.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_CFGPrinter.hpp"
+#include "c1/c1_Compilation.hpp"
+#include "c1/c1_IR.hpp"
+#include "c1/c1_LIRAssembler.hpp"
+#include "c1/c1_LinearScan.hpp"
+#include "c1/c1_MacroAssembler.hpp"
+#include "c1/c1_ValueMap.hpp"
+#include "c1/c1_ValueStack.hpp"
+#include "code/debugInfoRec.hpp"
typedef enum {
diff --git a/src/share/vm/c1/c1_Compilation.hpp b/src/share/vm/c1/c1_Compilation.hpp
index 0e217614f..1ded2b84a 100644
--- a/src/share/vm/c1/c1_Compilation.hpp
+++ b/src/share/vm/c1/c1_Compilation.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_C1_C1_COMPILATION_HPP
+#define SHARE_VM_C1_C1_COMPILATION_HPP
+
+#include "ci/ciEnv.hpp"
+#include "code/exceptionHandlerTable.hpp"
+#include "memory/resourceArea.hpp"
+
class CompilationResourceObj;
class XHandlers;
class ExceptionInfo;
@@ -285,3 +292,5 @@ class ExceptionInfo: public CompilationResourceObj {
int pco() { return _pco; }
XHandlers* exception_handlers() { return _exception_handlers; }
};
+
+#endif // SHARE_VM_C1_C1_COMPILATION_HPP
diff --git a/src/share/vm/c1/c1_Compiler.cpp b/src/share/vm/c1/c1_Compiler.cpp
index 958a080c8..41b5eb572 100644
--- a/src/share/vm/c1/c1_Compiler.cpp
+++ b/src/share/vm/c1/c1_Compiler.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,25 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_Compiler.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_Compilation.hpp"
+#include "c1/c1_Compiler.hpp"
+#include "c1/c1_FrameMap.hpp"
+#include "c1/c1_GraphBuilder.hpp"
+#include "c1/c1_LinearScan.hpp"
+#include "c1/c1_MacroAssembler.hpp"
+#include "c1/c1_Runtime1.hpp"
+#include "c1/c1_ValueType.hpp"
+#include "compiler/compileBroker.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "prims/nativeLookup.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/sharedRuntime.hpp"
volatile int Compiler::_runtimes = uninitialized;
diff --git a/src/share/vm/c1/c1_Compiler.hpp b/src/share/vm/c1/c1_Compiler.hpp
index 43eb204f7..9702a15ee 100644
--- a/src/share/vm/c1/c1_Compiler.hpp
+++ b/src/share/vm/c1/c1_Compiler.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_C1_C1_COMPILER_HPP
+#define SHARE_VM_C1_C1_COMPILER_HPP
+
+#include "compiler/abstractCompiler.hpp"
+
// There is one instance of the Compiler per CompilerThread.
class Compiler: public AbstractCompiler {
@@ -61,3 +66,5 @@ class Compiler: public AbstractCompiler {
// Print compilation timers and statistics
virtual void print_timers();
};
+
+#endif // SHARE_VM_C1_C1_COMPILER_HPP
diff --git a/src/share/vm/c1/c1_Defs.cpp b/src/share/vm/c1/c1_Defs.cpp
index 6b3277e7e..db581c9a9 100644
--- a/src/share/vm/c1/c1_Defs.cpp
+++ b/src/share/vm/c1/c1_Defs.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,5 +22,6 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_Defs.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_Defs.hpp"
+
diff --git a/src/share/vm/c1/c1_Defs.hpp b/src/share/vm/c1/c1_Defs.hpp
index a2295a6da..7f964c09a 100644
--- a/src/share/vm/c1/c1_Defs.hpp
+++ b/src/share/vm/c1/c1_Defs.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_C1_C1_DEFS_HPP
+#define SHARE_VM_C1_C1_DEFS_HPP
+
+#include "utilities/globalDefinitions.hpp"
+#ifdef TARGET_ARCH_x86
+# include "register_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "register_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "register_zero.hpp"
+#endif
+
// set frame size and return address offset to these values in blobs
// (if the compiled frame uses ebp as link pointer on IA; otherwise,
// the frame size must be fixed)
@@ -30,7 +44,13 @@ enum {
};
-# include "incls/_c1_Defs_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "c1_Defs_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "c1_Defs_sparc.hpp"
+#endif
+
// native word offsets from memory address
enum {
@@ -49,3 +69,5 @@ enum {
enum {
float_saved_as_double = pd_float_saved_as_double
};
+
+#endif // SHARE_VM_C1_C1_DEFS_HPP
diff --git a/src/share/vm/c1/c1_FpuStackSim.hpp b/src/share/vm/c1/c1_FpuStackSim.hpp
index 223c747ee..a84d8a152 100644
--- a/src/share/vm/c1/c1_FpuStackSim.hpp
+++ b/src/share/vm/c1/c1_FpuStackSim.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,22 @@
*
*/
+#ifndef SHARE_VM_C1_C1_FPUSTACKSIM_HPP
+#define SHARE_VM_C1_C1_FPUSTACKSIM_HPP
+
+#include "c1/c1_FrameMap.hpp"
+#include "memory/allocation.hpp"
+
// Provides location for forward declaration of this class, which is
// only implemented on Intel
class FpuStackSim;
-# include "incls/_c1_FpuStackSim_pd.hpp.incl" // platform dependent declarations
+#ifdef TARGET_ARCH_x86
+# include "c1_FpuStackSim_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "c1_FpuStackSim_sparc.hpp"
+#endif
+
+
+#endif // SHARE_VM_C1_C1_FPUSTACKSIM_HPP
diff --git a/src/share/vm/c1/c1_FrameMap.cpp b/src/share/vm/c1/c1_FrameMap.cpp
index 139572dd1..75975bb2b 100644
--- a/src/share/vm/c1/c1_FrameMap.cpp
+++ b/src/share/vm/c1/c1_FrameMap.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_c1_FrameMap.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_FrameMap.hpp"
+#include "c1/c1_LIR.hpp"
+#include "runtime/sharedRuntime.hpp"
+#ifdef TARGET_ARCH_x86
+# include "vmreg_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "vmreg_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "vmreg_zero.inline.hpp"
+#endif
diff --git a/src/share/vm/c1/c1_FrameMap.hpp b/src/share/vm/c1/c1_FrameMap.hpp
index 4a229d6bf..91ee545e7 100644
--- a/src/share/vm/c1/c1_FrameMap.hpp
+++ b/src/share/vm/c1/c1_FrameMap.hpp
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_C1_C1_FRAMEMAP_HPP
+#define SHARE_VM_C1_C1_FRAMEMAP_HPP
+
+#include "asm/assembler.hpp"
+#include "c1/c1_Defs.hpp"
+#include "c1/c1_LIR.hpp"
+#include "code/vmreg.hpp"
+#include "memory/allocation.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/synchronizer.hpp"
+#include "utilities/globalDefinitions.hpp"
+
class ciMethod;
class CallingConvention;
class BasicTypeArray;
@@ -70,7 +82,13 @@ class FrameMap : public CompilationResourceObj {
spill_slot_size_in_bytes = 4
};
-# include "incls/_c1_FrameMap_pd.hpp.incl" // platform dependent declarations
+#ifdef TARGET_ARCH_x86
+# include "c1_FrameMap_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "c1_FrameMap_sparc.hpp"
+#endif
+
friend class LIR_OprDesc;
@@ -266,3 +284,5 @@ class CallingConvention: public ResourceObj {
}
#endif // PRODUCT
};
+
+#endif // SHARE_VM_C1_C1_FRAMEMAP_HPP
diff --git a/src/share/vm/c1/c1_GraphBuilder.cpp b/src/share/vm/c1/c1_GraphBuilder.cpp
index d41930644..81239201c 100644
--- a/src/share/vm/c1/c1_GraphBuilder.cpp
+++ b/src/share/vm/c1/c1_GraphBuilder.cpp
@@ -22,8 +22,17 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_GraphBuilder.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_CFGPrinter.hpp"
+#include "c1/c1_Canonicalizer.hpp"
+#include "c1/c1_Compilation.hpp"
+#include "c1/c1_GraphBuilder.hpp"
+#include "c1/c1_InstructionPrinter.hpp"
+#include "ci/ciField.hpp"
+#include "ci/ciKlass.hpp"
+#include "interpreter/bytecode.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "utilities/bitMap.inline.hpp"
class BlockListBuilder VALUE_OBJ_CLASS_SPEC {
private:
diff --git a/src/share/vm/c1/c1_GraphBuilder.hpp b/src/share/vm/c1/c1_GraphBuilder.hpp
index 26c1b96a0..b41d94721 100644
--- a/src/share/vm/c1/c1_GraphBuilder.hpp
+++ b/src/share/vm/c1/c1_GraphBuilder.hpp
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_C1_C1_GRAPHBUILDER_HPP
+#define SHARE_VM_C1_C1_GRAPHBUILDER_HPP
+
+#include "c1/c1_IR.hpp"
+#include "c1/c1_Instruction.hpp"
+#include "c1/c1_ValueMap.hpp"
+#include "c1/c1_ValueStack.hpp"
+#include "ci/ciMethodData.hpp"
+#include "ci/ciStreams.hpp"
+
class MemoryBuffer;
class GraphBuilder VALUE_OBJ_CLASS_SPEC {
@@ -378,3 +388,5 @@ class GraphBuilder VALUE_OBJ_CLASS_SPEC {
BlockBegin* start() const { return _start; }
};
+
+#endif // SHARE_VM_C1_C1_GRAPHBUILDER_HPP
diff --git a/src/share/vm/c1/c1_IR.cpp b/src/share/vm/c1/c1_IR.cpp
index 8bdc076af..662b9ed06 100644
--- a/src/share/vm/c1/c1_IR.cpp
+++ b/src/share/vm/c1/c1_IR.cpp
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_c1_IR.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_Compilation.hpp"
+#include "c1/c1_FrameMap.hpp"
+#include "c1/c1_GraphBuilder.hpp"
+#include "c1/c1_IR.hpp"
+#include "c1/c1_InstructionPrinter.hpp"
+#include "c1/c1_Optimizer.hpp"
+#include "utilities/bitMap.inline.hpp"
// Implementation of XHandlers
diff --git a/src/share/vm/c1/c1_IR.hpp b/src/share/vm/c1/c1_IR.hpp
index 35204c21f..217774f57 100644
--- a/src/share/vm/c1/c1_IR.hpp
+++ b/src/share/vm/c1/c1_IR.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_C1_C1_IR_HPP
+#define SHARE_VM_C1_C1_IR_HPP
+
+#include "c1/c1_Instruction.hpp"
+#include "ci/ciExceptionHandler.hpp"
+#include "ci/ciMethod.hpp"
+#include "ci/ciStreams.hpp"
+#include "memory/allocation.hpp"
+
// An XHandler is a C1 internal description for an exception handler
class XHandler: public CompilationResourceObj {
@@ -337,3 +346,5 @@ class SubstitutionResolver: public BlockClosure, ValueVisitor {
virtual void block_do(BlockBegin* block);
};
+
+#endif // SHARE_VM_C1_C1_IR_HPP
diff --git a/src/share/vm/c1/c1_Instruction.cpp b/src/share/vm/c1/c1_Instruction.cpp
index 50553ec1f..7f578cb05 100644
--- a/src/share/vm/c1/c1_Instruction.cpp
+++ b/src/share/vm/c1/c1_Instruction.cpp
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_Instruction.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_IR.hpp"
+#include "c1/c1_Instruction.hpp"
+#include "c1/c1_InstructionPrinter.hpp"
+#include "c1/c1_ValueStack.hpp"
+#include "ci/ciObjArrayKlass.hpp"
+#include "ci/ciTypeArrayKlass.hpp"
// Implementation of Instruction
diff --git a/src/share/vm/c1/c1_Instruction.hpp b/src/share/vm/c1/c1_Instruction.hpp
index 5c42ee883..43e8f87e7 100644
--- a/src/share/vm/c1/c1_Instruction.hpp
+++ b/src/share/vm/c1/c1_Instruction.hpp
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_C1_C1_INSTRUCTION_HPP
+#define SHARE_VM_C1_C1_INSTRUCTION_HPP
+
+#include "c1/c1_Compilation.hpp"
+#include "c1/c1_LIR.hpp"
+#include "c1/c1_ValueType.hpp"
+#include "ci/ciField.hpp"
+
// Predefined classes
class ciField;
class ValueStack;
@@ -2303,3 +2311,5 @@ inline BlockBegin* BlockBegin::sux_at(int i) const { assert(_end ==
inline void BlockBegin::add_successor(BlockBegin* sux) { assert(_end == NULL, "Would create mismatch with successors of BlockEnd"); _successors.append(sux); }
#undef ASSERT_VALUES
+
+#endif // SHARE_VM_C1_C1_INSTRUCTION_HPP
diff --git a/src/share/vm/c1/c1_InstructionPrinter.cpp b/src/share/vm/c1/c1_InstructionPrinter.cpp
index c88a9a60a..1b9930cb2 100644
--- a/src/share/vm/c1/c1_InstructionPrinter.cpp
+++ b/src/share/vm/c1/c1_InstructionPrinter.cpp
@@ -22,8 +22,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_InstructionPrinter.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_InstructionPrinter.hpp"
+#include "c1/c1_ValueStack.hpp"
+#include "ci/ciArray.hpp"
+#include "ci/ciInstance.hpp"
+#include "ci/ciObject.hpp"
#ifndef PRODUCT
diff --git a/src/share/vm/c1/c1_InstructionPrinter.hpp b/src/share/vm/c1/c1_InstructionPrinter.hpp
index 340c16237..3f3921e31 100644
--- a/src/share/vm/c1/c1_InstructionPrinter.hpp
+++ b/src/share/vm/c1/c1_InstructionPrinter.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_C1_C1_INSTRUCTIONPRINTER_HPP
+#define SHARE_VM_C1_C1_INSTRUCTIONPRINTER_HPP
+
+#include "c1/c1_IR.hpp"
+#include "c1/c1_Instruction.hpp"
+#include "c1/c1_Runtime1.hpp"
+
#ifndef PRODUCT
class InstructionPrinter: public InstructionVisitor {
private:
@@ -126,3 +133,5 @@ class InstructionPrinter: public InstructionVisitor {
virtual void do_ProfileInvoke (ProfileInvoke* x);
};
#endif // PRODUCT
+
+#endif // SHARE_VM_C1_C1_INSTRUCTIONPRINTER_HPP
diff --git a/src/share/vm/c1/c1_LIR.cpp b/src/share/vm/c1/c1_LIR.cpp
index 62a3a81c9..e26a176d8 100644
--- a/src/share/vm/c1/c1_LIR.cpp
+++ b/src/share/vm/c1/c1_LIR.cpp
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_c1_LIR.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_InstructionPrinter.hpp"
+#include "c1/c1_LIR.hpp"
+#include "c1/c1_LIRAssembler.hpp"
+#include "c1/c1_ValueStack.hpp"
+#include "ci/ciInstance.hpp"
+#include "runtime/sharedRuntime.hpp"
Register LIR_OprDesc::as_register() const {
return FrameMap::cpu_rnr2reg(cpu_regnr());
diff --git a/src/share/vm/c1/c1_LIR.hpp b/src/share/vm/c1/c1_LIR.hpp
index b6076e842..2b8fb7110 100644
--- a/src/share/vm/c1/c1_LIR.hpp
+++ b/src/share/vm/c1/c1_LIR.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_C1_C1_LIR_HPP
+#define SHARE_VM_C1_C1_LIR_HPP
+
+#include "c1/c1_ValueType.hpp"
+
class BlockBegin;
class BlockList;
class LIR_Assembler;
@@ -2282,3 +2287,5 @@ class LIR_OpVisitState: public StackObj {
inline LIR_Opr LIR_OprDesc::illegalOpr() { return LIR_OprFact::illegalOpr; };
+
+#endif // SHARE_VM_C1_C1_LIR_HPP
diff --git a/src/share/vm/c1/c1_LIRAssembler.cpp b/src/share/vm/c1/c1_LIRAssembler.cpp
index 95127d8ab..153ff3f86 100644
--- a/src/share/vm/c1/c1_LIRAssembler.cpp
+++ b/src/share/vm/c1/c1_LIRAssembler.cpp
@@ -22,8 +22,26 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_c1_LIRAssembler.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_Compilation.hpp"
+#include "c1/c1_Instruction.hpp"
+#include "c1/c1_InstructionPrinter.hpp"
+#include "c1/c1_LIRAssembler.hpp"
+#include "c1/c1_MacroAssembler.hpp"
+#include "c1/c1_ValueStack.hpp"
+#include "ci/ciInstance.hpp"
+#ifdef TARGET_ARCH_x86
+# include "nativeInst_x86.hpp"
+# include "vmreg_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "nativeInst_sparc.hpp"
+# include "vmreg_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "nativeInst_zero.hpp"
+# include "vmreg_zero.inline.hpp"
+#endif
void LIR_Assembler::patching_epilog(PatchingStub* patch, LIR_PatchCode patch_code, Register obj, CodeEmitInfo* info) {
diff --git a/src/share/vm/c1/c1_LIRAssembler.hpp b/src/share/vm/c1/c1_LIRAssembler.hpp
index a195cd135..5ddc52c52 100644
--- a/src/share/vm/c1/c1_LIRAssembler.hpp
+++ b/src/share/vm/c1/c1_LIRAssembler.hpp
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_C1_C1_LIRASSEMBLER_HPP
+#define SHARE_VM_C1_C1_LIRASSEMBLER_HPP
+
+#include "c1/c1_CodeStubs.hpp"
+#include "ci/ciMethodData.hpp"
+#include "oops/methodDataOop.hpp"
+#include "utilities/top.hpp"
+
class Compilation;
class ScopeValue;
class BarrierSet;
@@ -236,5 +244,13 @@ class LIR_Assembler: public CompilationResourceObj {
void verify_oop_map(CodeEmitInfo* info);
- #include "incls/_c1_LIRAssembler_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "c1_LIRAssembler_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "c1_LIRAssembler_sparc.hpp"
+#endif
+
};
+
+#endif // SHARE_VM_C1_C1_LIRASSEMBLER_HPP
diff --git a/src/share/vm/c1/c1_LIRGenerator.cpp b/src/share/vm/c1/c1_LIRGenerator.cpp
index 332f193e2..41bd2c5dd 100644
--- a/src/share/vm/c1/c1_LIRGenerator.cpp
+++ b/src/share/vm/c1/c1_LIRGenerator.cpp
@@ -22,8 +22,22 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_c1_LIRGenerator.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_Compilation.hpp"
+#include "c1/c1_FrameMap.hpp"
+#include "c1/c1_Instruction.hpp"
+#include "c1/c1_LIRAssembler.hpp"
+#include "c1/c1_LIRGenerator.hpp"
+#include "c1/c1_ValueStack.hpp"
+#include "ci/ciArrayKlass.hpp"
+#include "ci/ciCPCache.hpp"
+#include "ci/ciInstance.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "utilities/bitMap.inline.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/g1/heapRegion.hpp"
+#endif
#ifdef ASSERT
#define __ gen()->lir(__FILE__, __LINE__)->
diff --git a/src/share/vm/c1/c1_LIRGenerator.hpp b/src/share/vm/c1/c1_LIRGenerator.hpp
index f1c53941a..96b6b1c19 100644
--- a/src/share/vm/c1/c1_LIRGenerator.hpp
+++ b/src/share/vm/c1/c1_LIRGenerator.hpp
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_C1_C1_LIRGENERATOR_HPP
+#define SHARE_VM_C1_C1_LIRGENERATOR_HPP
+
+#include "c1/c1_Instruction.hpp"
+#include "c1/c1_LIR.hpp"
+#include "ci/ciMethodData.hpp"
+#include "utilities/sizes.hpp"
+
// The classes responsible for code emission and register allocation
@@ -596,3 +604,5 @@ class LIRItem: public CompilationResourceObj {
jdouble get_jdouble_constant() const;
jint get_address_constant() const;
};
+
+#endif // SHARE_VM_C1_C1_LIRGENERATOR_HPP
diff --git a/src/share/vm/c1/c1_LinearScan.cpp b/src/share/vm/c1/c1_LinearScan.cpp
index 166c9fd84..c77b3d19c 100644
--- a/src/share/vm/c1/c1_LinearScan.cpp
+++ b/src/share/vm/c1/c1_LinearScan.cpp
@@ -22,8 +22,25 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_LinearScan.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_CFGPrinter.hpp"
+#include "c1/c1_CodeStubs.hpp"
+#include "c1/c1_Compilation.hpp"
+#include "c1/c1_FrameMap.hpp"
+#include "c1/c1_IR.hpp"
+#include "c1/c1_LIRGenerator.hpp"
+#include "c1/c1_LinearScan.hpp"
+#include "c1/c1_ValueStack.hpp"
+#include "utilities/bitMap.inline.hpp"
+#ifdef TARGET_ARCH_x86
+# include "vmreg_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "vmreg_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "vmreg_zero.inline.hpp"
+#endif
#ifndef PRODUCT
diff --git a/src/share/vm/c1/c1_LinearScan.hpp b/src/share/vm/c1/c1_LinearScan.hpp
index a161c6799..97f4043c1 100644
--- a/src/share/vm/c1/c1_LinearScan.hpp
+++ b/src/share/vm/c1/c1_LinearScan.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_C1_C1_LINEARSCAN_HPP
+#define SHARE_VM_C1_C1_LINEARSCAN_HPP
+
+#include "c1/c1_FpuStackSim.hpp"
+#include "c1/c1_FrameMap.hpp"
+#include "c1/c1_IR.hpp"
+#include "c1/c1_Instruction.hpp"
+#include "c1/c1_LIR.hpp"
+#include "c1/c1_LIRGenerator.hpp"
+
class DebugInfoCache;
class FpuStackAllocator;
class IRScopeDebugInfo;
@@ -955,4 +965,12 @@ class LinearScanTimers : public StackObj {
// Pick up platform-dependent implementation details
-# include "incls/_c1_LinearScan_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "c1_LinearScan_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "c1_LinearScan_sparc.hpp"
+#endif
+
+
+#endif // SHARE_VM_C1_C1_LINEARSCAN_HPP
diff --git a/src/share/vm/c1/c1_MacroAssembler.hpp b/src/share/vm/c1/c1_MacroAssembler.hpp
index d0a93795c..41ee33634 100644
--- a/src/share/vm/c1/c1_MacroAssembler.hpp
+++ b/src/share/vm/c1/c1_MacroAssembler.hpp
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_C1_C1_MACROASSEMBLER_HPP
+#define SHARE_VM_C1_C1_MACROASSEMBLER_HPP
+
+#include "asm/assembler.hpp"
+#ifdef TARGET_ARCH_x86
+# include "assembler_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "assembler_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "assembler_zero.inline.hpp"
+#endif
+
class CodeEmitInfo;
class C1_MacroAssembler: public MacroAssembler {
@@ -41,7 +55,13 @@ class C1_MacroAssembler: public MacroAssembler {
void verify_stack_oop(int offset) PRODUCT_RETURN;
void verify_not_null_oop(Register r) PRODUCT_RETURN;
-#include "incls/_c1_MacroAssembler_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "c1_MacroAssembler_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "c1_MacroAssembler_sparc.hpp"
+#endif
+
};
@@ -80,3 +100,5 @@ class StubAssembler: public C1_MacroAssembler {
int call_RT(Register oop_result1, Register oop_result2, address entry, Register arg1, Register arg2);
int call_RT(Register oop_result1, Register oop_result2, address entry, Register arg1, Register arg2, Register arg3);
};
+
+#endif // SHARE_VM_C1_C1_MACROASSEMBLER_HPP
diff --git a/src/share/vm/c1/c1_Optimizer.cpp b/src/share/vm/c1/c1_Optimizer.cpp
index 12b8a4748..b4da85cc4 100644
--- a/src/share/vm/c1/c1_Optimizer.cpp
+++ b/src/share/vm/c1/c1_Optimizer.cpp
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_Optimizer.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_Canonicalizer.hpp"
+#include "c1/c1_Optimizer.hpp"
+#include "c1/c1_ValueMap.hpp"
+#include "c1/c1_ValueSet.hpp"
+#include "c1/c1_ValueStack.hpp"
+#include "utilities/bitMap.inline.hpp"
define_array(ValueSetArray, ValueSet*);
define_stack(ValueSetList, ValueSetArray);
diff --git a/src/share/vm/c1/c1_Optimizer.hpp b/src/share/vm/c1/c1_Optimizer.hpp
index 49e7aa598..f98415810 100644
--- a/src/share/vm/c1/c1_Optimizer.hpp
+++ b/src/share/vm/c1/c1_Optimizer.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_C1_C1_OPTIMIZER_HPP
+#define SHARE_VM_C1_C1_OPTIMIZER_HPP
+
+#include "c1/c1_IR.hpp"
+#include "c1/c1_Instruction.hpp"
+#include "memory/allocation.hpp"
+
class Optimizer VALUE_OBJ_CLASS_SPEC {
private:
IR* _ir;
@@ -35,3 +42,5 @@ class Optimizer VALUE_OBJ_CLASS_SPEC {
void eliminate_blocks();
void eliminate_null_checks();
};
+
+#endif // SHARE_VM_C1_C1_OPTIMIZER_HPP
diff --git a/src/share/vm/c1/c1_Runtime1.cpp b/src/share/vm/c1/c1_Runtime1.cpp
index c8b3a7d83..fe754ab78 100644
--- a/src/share/vm/c1/c1_Runtime1.cpp
+++ b/src/share/vm/c1/c1_Runtime1.cpp
@@ -22,8 +22,41 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_Runtime1.cpp.incl"
+#include "precompiled.hpp"
+#include "asm/codeBuffer.hpp"
+#include "c1/c1_CodeStubs.hpp"
+#include "c1/c1_Defs.hpp"
+#include "c1/c1_FrameMap.hpp"
+#include "c1/c1_LIRAssembler.hpp"
+#include "c1/c1_MacroAssembler.hpp"
+#include "c1/c1_Runtime1.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/codeBlob.hpp"
+#include "code/compiledIC.hpp"
+#include "code/pcDesc.hpp"
+#include "code/scopeDesc.hpp"
+#include "code/vtableStubs.hpp"
+#include "compiler/disassembler.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "interpreter/bytecode.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/barrierSet.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/threadCritical.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframeArray.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/events.hpp"
// Implementation of StubAssembler
diff --git a/src/share/vm/c1/c1_Runtime1.hpp b/src/share/vm/c1/c1_Runtime1.hpp
index 38571439c..c6ef0d516 100644
--- a/src/share/vm/c1/c1_Runtime1.hpp
+++ b/src/share/vm/c1/c1_Runtime1.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_C1_C1_RUNTIME1_HPP
+#define SHARE_VM_C1_C1_RUNTIME1_HPP
+
+#include "c1/c1_FrameMap.hpp"
+#include "code/stubs.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/allocation.hpp"
+#include "runtime/deoptimization.hpp"
+
class StubAssembler;
// The Runtime1 holds all assembly stubs and VM
@@ -174,3 +183,5 @@ class Runtime1: public AllStatic {
static void print_statistics() PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_C1_C1_RUNTIME1_HPP
diff --git a/src/share/vm/c1/c1_ValueMap.cpp b/src/share/vm/c1/c1_ValueMap.cpp
index 90530bcd1..aa2bf5af5 100644
--- a/src/share/vm/c1/c1_ValueMap.cpp
+++ b/src/share/vm/c1/c1_ValueMap.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_ValueMap.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_Canonicalizer.hpp"
+#include "c1/c1_IR.hpp"
+#include "c1/c1_ValueMap.hpp"
+#include "utilities/bitMap.inline.hpp"
#ifndef PRODUCT
diff --git a/src/share/vm/c1/c1_ValueMap.hpp b/src/share/vm/c1/c1_ValueMap.hpp
index 0bf25f031..9359abda1 100644
--- a/src/share/vm/c1/c1_ValueMap.hpp
+++ b/src/share/vm/c1/c1_ValueMap.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_C1_C1_VALUEMAP_HPP
+#define SHARE_VM_C1_C1_VALUEMAP_HPP
+
+#include "c1/c1_Instruction.hpp"
+#include "c1/c1_ValueSet.hpp"
+#include "memory/allocation.hpp"
+
class ValueMapEntry: public CompilationResourceObj {
private:
intx _hash;
@@ -226,3 +233,5 @@ class GlobalValueNumbering: public ValueNumberingVisitor {
// main entry point that performs global value numbering
GlobalValueNumbering(IR* ir);
};
+
+#endif // SHARE_VM_C1_C1_VALUEMAP_HPP
diff --git a/src/share/vm/c1/c1_ValueSet.cpp b/src/share/vm/c1/c1_ValueSet.cpp
index 730960164..6cb1c31d0 100644
--- a/src/share/vm/c1/c1_ValueSet.cpp
+++ b/src/share/vm/c1/c1_ValueSet.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,5 +22,6 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_ValueSet.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_ValueSet.hpp"
+
diff --git a/src/share/vm/c1/c1_ValueSet.hpp b/src/share/vm/c1/c1_ValueSet.hpp
index 48f27fa65..2e8dd095d 100644
--- a/src/share/vm/c1/c1_ValueSet.hpp
+++ b/src/share/vm/c1/c1_ValueSet.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_C1_C1_VALUESET_HPP
+#define SHARE_VM_C1_C1_VALUESET_HPP
+
+#include "c1/c1_Instruction.hpp"
+#include "memory/allocation.hpp"
+#include "utilities/bitMap.inline.hpp"
+
// A ValueSet is a simple abstraction on top of a BitMap representing
// a set of Instructions. Currently it assumes that the number of
// instructions is fixed during its lifetime; should make it
@@ -93,3 +100,5 @@ inline void ValueSet::set_from(ValueSet* other) {
inline bool ValueSet::equals(ValueSet* other) {
return _map.is_same(other->_map);
}
+
+#endif // SHARE_VM_C1_C1_VALUESET_HPP
diff --git a/src/share/vm/c1/c1_ValueStack.cpp b/src/share/vm/c1/c1_ValueStack.cpp
index 40dfadbff..1ffad1de8 100644
--- a/src/share/vm/c1/c1_ValueStack.cpp
+++ b/src/share/vm/c1/c1_ValueStack.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c1_ValueStack.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_IR.hpp"
+#include "c1/c1_InstructionPrinter.hpp"
+#include "c1/c1_ValueStack.hpp"
// Implementation of ValueStack
diff --git a/src/share/vm/c1/c1_ValueStack.hpp b/src/share/vm/c1/c1_ValueStack.hpp
index 0108131fd..a775eba7e 100644
--- a/src/share/vm/c1/c1_ValueStack.hpp
+++ b/src/share/vm/c1/c1_ValueStack.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_C1_C1_VALUESTACK_HPP
+#define SHARE_VM_C1_C1_VALUESTACK_HPP
+
+#include "c1/c1_Instruction.hpp"
+
class ValueStack: public CompilationResourceObj {
public:
enum Kind {
@@ -322,3 +327,5 @@ class ValueStack: public CompilationResourceObj {
} \
} \
}
+
+#endif // SHARE_VM_C1_C1_VALUESTACK_HPP
diff --git a/src/share/vm/c1/c1_ValueType.cpp b/src/share/vm/c1/c1_ValueType.cpp
index 24a2083d0..c0c2ca663 100644
--- a/src/share/vm/c1/c1_ValueType.cpp
+++ b/src/share/vm/c1/c1_ValueType.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_c1_ValueType.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_ValueType.hpp"
+#include "ci/ciArray.hpp"
+#include "ci/ciInstance.hpp"
+#include "ci/ciNullObject.hpp"
// predefined types
diff --git a/src/share/vm/c1/c1_ValueType.hpp b/src/share/vm/c1/c1_ValueType.hpp
index 3098114cf..d82eae607 100644
--- a/src/share/vm/c1/c1_ValueType.hpp
+++ b/src/share/vm/c1/c1_ValueType.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_C1_C1_VALUETYPE_HPP
+#define SHARE_VM_C1_C1_VALUETYPE_HPP
+
+#include "c1/c1_Compilation.hpp"
+#include "ci/ciConstant.hpp"
+
// type hierarchy
class ValueType;
class VoidType;
@@ -419,3 +425,5 @@ ValueType* as_ValueType(ciConstant value);
BasicType as_BasicType(ValueType* type);
inline ValueType* as_ValueType(ciType* type) { return as_ValueType(type->basic_type()); }
+
+#endif // SHARE_VM_C1_C1_VALUETYPE_HPP
diff --git a/src/share/vm/c1/c1_globals.cpp b/src/share/vm/c1/c1_globals.cpp
index 20b574698..a611f033e 100644
--- a/src/share/vm/c1/c1_globals.cpp
+++ b/src/share/vm/c1/c1_globals.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,7 +22,7 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_c1_globals.cpp.incl"
+#include "precompiled.hpp"
+#include "c1/c1_globals.hpp"
C1_FLAGS(MATERIALIZE_DEVELOPER_FLAG, MATERIALIZE_PD_DEVELOPER_FLAG, MATERIALIZE_PRODUCT_FLAG, MATERIALIZE_PD_PRODUCT_FLAG, MATERIALIZE_NOTPRODUCT_FLAG)
diff --git a/src/share/vm/c1/c1_globals.hpp b/src/share/vm/c1/c1_globals.hpp
index 52ff15933..9b4db1c0f 100644
--- a/src/share/vm/c1/c1_globals.hpp
+++ b/src/share/vm/c1/c1_globals.hpp
@@ -22,6 +22,26 @@
*
*/
+#ifndef SHARE_VM_C1_C1_GLOBALS_HPP
+#define SHARE_VM_C1_C1_GLOBALS_HPP
+
+#include "runtime/globals.hpp"
+#ifdef TARGET_ARCH_x86
+# include "c1_globals_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "c1_globals_sparc.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "c1_globals_linux.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "c1_globals_solaris.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "c1_globals_windows.hpp"
+#endif
+
//
// Defines all global flags used by the client compiler.
//
@@ -303,6 +323,7 @@
// Read default values for c1 globals
-// #include "incls/_c1_globals_pd.hpp.incl"
C1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_NOTPRODUCT_FLAG)
+
+#endif // SHARE_VM_C1_C1_GLOBALS_HPP
diff --git a/src/share/vm/ci/bcEscapeAnalyzer.cpp b/src/share/vm/ci/bcEscapeAnalyzer.cpp
index 143101dae..acf3bfaad 100644
--- a/src/share/vm/ci/bcEscapeAnalyzer.cpp
+++ b/src/share/vm/ci/bcEscapeAnalyzer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,9 +22,15 @@
*
*/
+#include "precompiled.hpp"
+#include "ci/bcEscapeAnalyzer.hpp"
+#include "ci/ciConstant.hpp"
+#include "ci/ciField.hpp"
+#include "ci/ciMethodBlocks.hpp"
+#include "ci/ciStreams.hpp"
+#include "interpreter/bytecode.hpp"
+#include "utilities/bitMap.inline.hpp"
-#include "incls/_precompiled.incl"
-#include "incls/_bcEscapeAnalyzer.cpp.incl"
#ifndef PRODUCT
diff --git a/src/share/vm/ci/bcEscapeAnalyzer.hpp b/src/share/vm/ci/bcEscapeAnalyzer.hpp
index 5e61112c7..a16213d42 100644
--- a/src/share/vm/ci/bcEscapeAnalyzer.hpp
+++ b/src/share/vm/ci/bcEscapeAnalyzer.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_CI_BCESCAPEANALYZER_HPP
+#define SHARE_VM_CI_BCESCAPEANALYZER_HPP
+
+#ifdef COMPILER2
+#include "ci/ciMethod.hpp"
+#include "ci/ciMethodData.hpp"
+#include "code/dependencies.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/allocation.hpp"
+#include "utilities/growableArray.hpp"
+#endif
+
// This class implements a fast, conservative analysis of effect of methods
// on the escape state of their arguments. The analysis is at the bytecode
// level.
@@ -147,3 +159,5 @@ class BCEscapeAnalyzer : public ResourceObj {
void dump();
#endif
};
+
+#endif // SHARE_VM_CI_BCESCAPEANALYZER_HPP
diff --git a/src/share/vm/ci/ciArray.cpp b/src/share/vm/ci/ciArray.cpp
index 76ada073c..584b1aeb5 100644
--- a/src/share/vm/ci/ciArray.cpp
+++ b/src/share/vm/ci/ciArray.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciArray.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciArray.hpp"
+#include "ci/ciKlass.hpp"
+#include "ci/ciUtilities.hpp"
// ciArray
//
diff --git a/src/share/vm/ci/ciArray.hpp b/src/share/vm/ci/ciArray.hpp
index afa582817..440e407a5 100644
--- a/src/share/vm/ci/ciArray.hpp
+++ b/src/share/vm/ci/ciArray.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_CI_CIARRAY_HPP
+#define SHARE_VM_CI_CIARRAY_HPP
+
+#include "ci/ciObject.hpp"
+#include "oops/arrayOop.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/typeArrayOop.hpp"
+
// ciArray
//
// This class represents an arrayOop in the HotSpot virtual
@@ -50,3 +58,5 @@ public:
bool is_array() { return true; }
bool is_java_object() { return true; }
};
+
+#endif // SHARE_VM_CI_CIARRAY_HPP
diff --git a/src/share/vm/ci/ciArrayKlass.cpp b/src/share/vm/ci/ciArrayKlass.cpp
index 15a2a2902..ef2c7a473 100644
--- a/src/share/vm/ci/ciArrayKlass.cpp
+++ b/src/share/vm/ci/ciArrayKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciArrayKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciArrayKlass.hpp"
+#include "ci/ciObjArrayKlass.hpp"
+#include "ci/ciTypeArrayKlass.hpp"
+#include "ci/ciUtilities.hpp"
// ciArrayKlass
//
diff --git a/src/share/vm/ci/ciArrayKlass.hpp b/src/share/vm/ci/ciArrayKlass.hpp
index 5f9478517..98b005156 100644
--- a/src/share/vm/ci/ciArrayKlass.hpp
+++ b/src/share/vm/ci/ciArrayKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CI_CIARRAYKLASS_HPP
+#define SHARE_VM_CI_CIARRAYKLASS_HPP
+
+#include "ci/ciKlass.hpp"
+
// ciArrayKlass
//
// This class, and its subclasses represent klassOops in the
@@ -57,3 +62,5 @@ public:
static ciArrayKlass* make(ciType* element_type);
};
+
+#endif // SHARE_VM_CI_CIARRAYKLASS_HPP
diff --git a/src/share/vm/ci/ciArrayKlassKlass.hpp b/src/share/vm/ci/ciArrayKlassKlass.hpp
index 0e5ffb945..1c5c73408 100644
--- a/src/share/vm/ci/ciArrayKlassKlass.hpp
+++ b/src/share/vm/ci/ciArrayKlassKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CI_CIARRAYKLASSKLASS_HPP
+#define SHARE_VM_CI_CIARRAYKLASSKLASS_HPP
+
+#include "ci/ciKlassKlass.hpp"
+
// ciArrayKlassKlass
//
// This class represents a klassOop in the HotSpot virtual machine
@@ -41,3 +46,5 @@ public:
// What kind of ciObject is this?
bool is_array_klass_klass() { return true; }
};
+
+#endif // SHARE_VM_CI_CIARRAYKLASSKLASS_HPP
diff --git a/src/share/vm/ci/ciCPCache.cpp b/src/share/vm/ci/ciCPCache.cpp
index 843574320..0396c2a87 100644
--- a/src/share/vm/ci/ciCPCache.cpp
+++ b/src/share/vm/ci/ciCPCache.cpp
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciCPCache.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciCPCache.hpp"
+#include "ci/ciUtilities.hpp"
+#include "oops/cpCacheOop.hpp"
// ciCPCache
diff --git a/src/share/vm/ci/ciCPCache.hpp b/src/share/vm/ci/ciCPCache.hpp
index 89579ae48..165ce3de6 100644
--- a/src/share/vm/ci/ciCPCache.hpp
+++ b/src/share/vm/ci/ciCPCache.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_CI_CICPCACHE_HPP
+#define SHARE_VM_CI_CICPCACHE_HPP
+
+#include "ci/ciClassList.hpp"
+#include "ci/ciObject.hpp"
+#include "oops/cpCacheOop.hpp"
+
// ciCPCache
//
// This class represents a constant pool cache.
@@ -57,3 +64,5 @@ public:
void print();
};
+
+#endif // SHARE_VM_CI_CICPCACHE_HPP
diff --git a/src/share/vm/ci/ciCallProfile.hpp b/src/share/vm/ci/ciCallProfile.hpp
index 613da7e06..24062d2b5 100644
--- a/src/share/vm/ci/ciCallProfile.hpp
+++ b/src/share/vm/ci/ciCallProfile.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CI_CICALLPROFILE_HPP
+#define SHARE_VM_CI_CICALLPROFILE_HPP
+
+#include "ci/ciClassList.hpp"
+
// ciCallProfile
//
// This class is used to determine the frequently called method
@@ -73,3 +78,5 @@ public:
return _receiver[i];
}
};
+
+#endif // SHARE_VM_CI_CICALLPROFILE_HPP
diff --git a/src/share/vm/ci/ciCallSite.cpp b/src/share/vm/ci/ciCallSite.cpp
index f7755b012..849d8d585 100644
--- a/src/share/vm/ci/ciCallSite.cpp
+++ b/src/share/vm/ci/ciCallSite.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciCallSite.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciCallSite.hpp"
+#include "ci/ciUtilities.hpp"
// ciCallSite
diff --git a/src/share/vm/ci/ciCallSite.hpp b/src/share/vm/ci/ciCallSite.hpp
index 27c40c1a9..6a92e6861 100644
--- a/src/share/vm/ci/ciCallSite.hpp
+++ b/src/share/vm/ci/ciCallSite.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CI_CICALLSITE_HPP
+#define SHARE_VM_CI_CICALLSITE_HPP
+
+#include "ci/ciInstance.hpp"
+
// ciCallSite
//
// The class represents a java.dyn.CallSite object.
@@ -37,3 +42,5 @@ public:
void print();
};
+
+#endif // SHARE_VM_CI_CICALLSITE_HPP
diff --git a/src/share/vm/ci/ciClassList.hpp b/src/share/vm/ci/ciClassList.hpp
index 0354968c6..d9c3f75b2 100644
--- a/src/share/vm/ci/ciClassList.hpp
+++ b/src/share/vm/ci/ciClassList.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_CI_CICLASSLIST_HPP
+#define SHARE_VM_CI_CICLASSLIST_HPP
+
class ciEnv;
class ciObjectFactory;
class ciConstantPoolCache;
@@ -118,3 +121,5 @@ friend class ciInstanceKlassKlass; \
friend class ciArrayKlassKlass; \
friend class ciObjArrayKlassKlass; \
friend class ciTypeArrayKlassKlass;
+
+#endif // SHARE_VM_CI_CICLASSLIST_HPP
diff --git a/src/share/vm/ci/ciConstant.cpp b/src/share/vm/ci/ciConstant.cpp
index 3b828b75f..4955a088f 100644
--- a/src/share/vm/ci/ciConstant.cpp
+++ b/src/share/vm/ci/ciConstant.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciConstant.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciConstant.hpp"
+#include "ci/ciUtilities.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
// ciConstant
//
diff --git a/src/share/vm/ci/ciConstant.hpp b/src/share/vm/ci/ciConstant.hpp
index 1bc22badc..f217faa24 100644
--- a/src/share/vm/ci/ciConstant.hpp
+++ b/src/share/vm/ci/ciConstant.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CI_CICONSTANT_HPP
+#define SHARE_VM_CI_CICONSTANT_HPP
+
+#include "ci/ciClassList.hpp"
+#include "ci/ciNullObject.hpp"
+
// ciConstant
//
// This class represents a constant value.
@@ -110,3 +116,5 @@ public:
// Debugging output
void print();
};
+
+#endif // SHARE_VM_CI_CICONSTANT_HPP
diff --git a/src/share/vm/ci/ciConstantPoolCache.cpp b/src/share/vm/ci/ciConstantPoolCache.cpp
index f179bfa0c..a277e421a 100644
--- a/src/share/vm/ci/ciConstantPoolCache.cpp
+++ b/src/share/vm/ci/ciConstantPoolCache.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciConstantPoolCache.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciConstantPoolCache.hpp"
+#include "ci/ciUtilities.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
// ciConstantPoolCache
//
diff --git a/src/share/vm/ci/ciConstantPoolCache.hpp b/src/share/vm/ci/ciConstantPoolCache.hpp
index ed4e4f155..baa33eb1f 100644
--- a/src/share/vm/ci/ciConstantPoolCache.hpp
+++ b/src/share/vm/ci/ciConstantPoolCache.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CI_CICONSTANTPOOLCACHE_HPP
+#define SHARE_VM_CI_CICONSTANTPOOLCACHE_HPP
+
+#include "memory/resourceArea.hpp"
+#include "utilities/growableArray.hpp"
+
// ciConstantPoolCache
//
// The class caches indexed constant pool lookups.
@@ -45,3 +51,5 @@ public:
void print();
};
+
+#endif // SHARE_VM_CI_CICONSTANTPOOLCACHE_HPP
diff --git a/src/share/vm/ci/ciEnv.cpp b/src/share/vm/ci/ciEnv.cpp
index 516821013..eab8de767 100644
--- a/src/share/vm/ci/ciEnv.cpp
+++ b/src/share/vm/ci/ciEnv.cpp
@@ -22,8 +22,44 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciEnv.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciConstant.hpp"
+#include "ci/ciEnv.hpp"
+#include "ci/ciField.hpp"
+#include "ci/ciInstance.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciInstanceKlassKlass.hpp"
+#include "ci/ciMethod.hpp"
+#include "ci/ciNullObject.hpp"
+#include "ci/ciObjArrayKlassKlass.hpp"
+#include "ci/ciTypeArrayKlassKlass.hpp"
+#include "ci/ciUtilities.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/scopeDesc.hpp"
+#include "compiler/compileBroker.hpp"
+#include "compiler/compileLog.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/init.hpp"
+#include "runtime/reflection.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "utilities/dtrace.hpp"
+#ifdef COMPILER1
+#include "c1/c1_Runtime1.hpp"
+#endif
+#ifdef COMPILER2
+#include "opto/runtime.hpp"
+#endif
// ciEnv
//
diff --git a/src/share/vm/ci/ciEnv.hpp b/src/share/vm/ci/ciEnv.hpp
index 045dc6f60..98431e57a 100644
--- a/src/share/vm/ci/ciEnv.hpp
+++ b/src/share/vm/ci/ciEnv.hpp
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_CI_CIENV_HPP
+#define SHARE_VM_CI_CIENV_HPP
+
+#include "ci/ciClassList.hpp"
+#include "ci/ciObjectFactory.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/dependencies.hpp"
+#include "code/exceptionHandlerTable.hpp"
+#include "compiler/oopMap.hpp"
+#include "runtime/thread.hpp"
+
class CompileTask;
// ciEnv
@@ -384,3 +396,5 @@ public:
void record_method_not_compilable(const char* reason, bool all_tiers = true);
void record_out_of_memory_failure();
};
+
+#endif // SHARE_VM_CI_CIENV_HPP
diff --git a/src/share/vm/ci/ciExceptionHandler.cpp b/src/share/vm/ci/ciExceptionHandler.cpp
index 8e0966df7..16ae6a749 100644
--- a/src/share/vm/ci/ciExceptionHandler.cpp
+++ b/src/share/vm/ci/ciExceptionHandler.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciExceptionHandler.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciExceptionHandler.hpp"
+#include "ci/ciUtilities.hpp"
// ciExceptionHandler
//
diff --git a/src/share/vm/ci/ciExceptionHandler.hpp b/src/share/vm/ci/ciExceptionHandler.hpp
index c70557322..aae74e7c3 100644
--- a/src/share/vm/ci/ciExceptionHandler.hpp
+++ b/src/share/vm/ci/ciExceptionHandler.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CI_CIEXCEPTIONHANDLER_HPP
+#define SHARE_VM_CI_CIEXCEPTIONHANDLER_HPP
+
+#include "ci/ciClassList.hpp"
+#include "ci/ciInstanceKlass.hpp"
+
// ciExceptionHandler
//
// This class represents an exception handler for a method.
@@ -73,3 +79,5 @@ public:
void print();
};
+
+#endif // SHARE_VM_CI_CIEXCEPTIONHANDLER_HPP
diff --git a/src/share/vm/ci/ciField.cpp b/src/share/vm/ci/ciField.cpp
index 9851d9e25..8045b4238 100644
--- a/src/share/vm/ci/ciField.cpp
+++ b/src/share/vm/ci/ciField.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciField.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciField.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciUtilities.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "runtime/fieldDescriptor.hpp"
// ciField
//
diff --git a/src/share/vm/ci/ciField.hpp b/src/share/vm/ci/ciField.hpp
index 0df81b508..6406ddeac 100644
--- a/src/share/vm/ci/ciField.hpp
+++ b/src/share/vm/ci/ciField.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_CI_CIFIELD_HPP
+#define SHARE_VM_CI_CIFIELD_HPP
+
+#include "ci/ciClassList.hpp"
+#include "ci/ciConstant.hpp"
+#include "ci/ciFlags.hpp"
+#include "ci/ciInstance.hpp"
+
// ciField
//
// This class represents the result of a field lookup in the VM.
@@ -174,3 +182,5 @@ public:
void print();
void print_name_on(outputStream* st);
};
+
+#endif // SHARE_VM_CI_CIFIELD_HPP
diff --git a/src/share/vm/ci/ciFlags.cpp b/src/share/vm/ci/ciFlags.cpp
index 5a313ae12..bbbb69e15 100644
--- a/src/share/vm/ci/ciFlags.cpp
+++ b/src/share/vm/ci/ciFlags.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciFlags.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciFlags.hpp"
// ciFlags
//
diff --git a/src/share/vm/ci/ciFlags.hpp b/src/share/vm/ci/ciFlags.hpp
index 260e4ee74..6dc50d25a 100644
--- a/src/share/vm/ci/ciFlags.hpp
+++ b/src/share/vm/ci/ciFlags.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_CI_CIFLAGS_HPP
+#define SHARE_VM_CI_CIFLAGS_HPP
+
+#include "ci/ciClassList.hpp"
+#include "memory/allocation.hpp"
+#include "prims/jvm.h"
+#include "utilities/accessFlags.hpp"
+
// ciFlags
//
// This class represents klass or method flags.
@@ -59,3 +67,5 @@ public:
void print_member_flags(outputStream* st = tty);
void print(outputStream* st = tty);
};
+
+#endif // SHARE_VM_CI_CIFLAGS_HPP
diff --git a/src/share/vm/ci/ciInstance.cpp b/src/share/vm/ci/ciInstance.cpp
index 19e757e46..ae7b6d20e 100644
--- a/src/share/vm/ci/ciInstance.cpp
+++ b/src/share/vm/ci/ciInstance.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciInstance.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciConstant.hpp"
+#include "ci/ciField.hpp"
+#include "ci/ciInstance.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciUtilities.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "oops/oop.inline.hpp"
// ciInstance
//
diff --git a/src/share/vm/ci/ciInstance.hpp b/src/share/vm/ci/ciInstance.hpp
index aed32773b..1579402d9 100644
--- a/src/share/vm/ci/ciInstance.hpp
+++ b/src/share/vm/ci/ciInstance.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CI_CIINSTANCE_HPP
+#define SHARE_VM_CI_CIINSTANCE_HPP
+
+#include "ci/ciObject.hpp"
+#include "oops/instanceOop.hpp"
+
// ciInstance
//
// This class represents an instanceOop in the HotSpot virtual
@@ -59,3 +65,5 @@ public:
// Constant value of a field at the specified offset.
ciConstant field_value_by_offset(int field_offset);
};
+
+#endif // SHARE_VM_CI_CIINSTANCE_HPP
diff --git a/src/share/vm/ci/ciInstanceKlass.cpp b/src/share/vm/ci/ciInstanceKlass.cpp
index e5f848bff..8b9eeafd0 100644
--- a/src/share/vm/ci/ciInstanceKlass.cpp
+++ b/src/share/vm/ci/ciInstanceKlass.cpp
@@ -22,8 +22,16 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciInstanceKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciField.hpp"
+#include "ci/ciInstance.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciUtilities.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/fieldDescriptor.hpp"
// ciInstanceKlass
//
diff --git a/src/share/vm/ci/ciInstanceKlass.hpp b/src/share/vm/ci/ciInstanceKlass.hpp
index f81ca4f48..05ecf87a1 100644
--- a/src/share/vm/ci/ciInstanceKlass.hpp
+++ b/src/share/vm/ci/ciInstanceKlass.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_CI_CIINSTANCEKLASS_HPP
+#define SHARE_VM_CI_CIINSTANCEKLASS_HPP
+
+#include "ci/ciConstantPoolCache.hpp"
+#include "ci/ciFlags.hpp"
+#include "ci/ciInstanceKlassKlass.hpp"
+#include "ci/ciKlass.hpp"
+#include "ci/ciSymbol.hpp"
+
// ciInstanceKlass
//
// This class represents a klassOop in the HotSpot virtual machine
@@ -215,3 +224,5 @@ public:
bool is_instance_klass() { return true; }
bool is_java_klass() { return true; }
};
+
+#endif // SHARE_VM_CI_CIINSTANCEKLASS_HPP
diff --git a/src/share/vm/ci/ciInstanceKlassKlass.cpp b/src/share/vm/ci/ciInstanceKlassKlass.cpp
index 8e1d1a534..642b1bc6d 100644
--- a/src/share/vm/ci/ciInstanceKlassKlass.cpp
+++ b/src/share/vm/ci/ciInstanceKlassKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciInstanceKlassKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciInstanceKlassKlass.hpp"
+#include "ci/ciUtilities.hpp"
// ciInstanceKlassKlass
//
diff --git a/src/share/vm/ci/ciInstanceKlassKlass.hpp b/src/share/vm/ci/ciInstanceKlassKlass.hpp
index 22e86cb10..2ca44f927 100644
--- a/src/share/vm/ci/ciInstanceKlassKlass.hpp
+++ b/src/share/vm/ci/ciInstanceKlassKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CI_CIINSTANCEKLASSKLASS_HPP
+#define SHARE_VM_CI_CIINSTANCEKLASSKLASS_HPP
+
+#include "ci/ciKlassKlass.hpp"
+
// ciInstanceKlassKlass
//
// This class represents a klassOop in the HotSpot virtual machine
@@ -48,3 +53,5 @@ public:
// Return the distinguished ciInstanceKlassKlass instance.
static ciInstanceKlassKlass* make();
};
+
+#endif // SHARE_VM_CI_CIINSTANCEKLASSKLASS_HPP
diff --git a/src/share/vm/ci/ciKlass.cpp b/src/share/vm/ci/ciKlass.cpp
index 85989616f..1adf63fd1 100644
--- a/src/share/vm/ci/ciKlass.cpp
+++ b/src/share/vm/ci/ciKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciKlass.hpp"
+#include "ci/ciSymbol.hpp"
+#include "ci/ciUtilities.hpp"
+#include "oops/oop.inline.hpp"
// ciKlass
//
diff --git a/src/share/vm/ci/ciKlass.hpp b/src/share/vm/ci/ciKlass.hpp
index 7336f2994..a32a08eb7 100644
--- a/src/share/vm/ci/ciKlass.hpp
+++ b/src/share/vm/ci/ciKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CI_CIKLASS_HPP
+#define SHARE_VM_CI_CIKLASS_HPP
+
+#include "ci/ciType.hpp"
+#include "oops/klassOop.hpp"
+
// ciKlass
//
// This class and its subclasses represent klassOops in the
@@ -117,3 +123,5 @@ public:
void print_name_on(outputStream* st);
};
+
+#endif // SHARE_VM_CI_CIKLASS_HPP
diff --git a/src/share/vm/ci/ciKlassKlass.cpp b/src/share/vm/ci/ciKlassKlass.cpp
index a9d838497..d1f241e9c 100644
--- a/src/share/vm/ci/ciKlassKlass.cpp
+++ b/src/share/vm/ci/ciKlassKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciKlassKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciKlassKlass.hpp"
+#include "ci/ciUtilities.hpp"
// ciKlassKlass
//
diff --git a/src/share/vm/ci/ciKlassKlass.hpp b/src/share/vm/ci/ciKlassKlass.hpp
index c03ee76a1..d8bf22022 100644
--- a/src/share/vm/ci/ciKlassKlass.hpp
+++ b/src/share/vm/ci/ciKlassKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CI_CIKLASSKLASS_HPP
+#define SHARE_VM_CI_CIKLASSKLASS_HPP
+
+#include "ci/ciKlass.hpp"
+#include "ci/ciSymbol.hpp"
+
// ciKlassKlass
//
// This class represents a klassOop in the HotSpot virtual machine
@@ -49,3 +55,5 @@ public:
// Return the distinguished ciKlassKlass instance.
static ciKlassKlass* make();
};
+
+#endif // SHARE_VM_CI_CIKLASSKLASS_HPP
diff --git a/src/share/vm/ci/ciMethod.cpp b/src/share/vm/ci/ciMethod.cpp
index 9d12b27f1..9e27c07cc 100644
--- a/src/share/vm/ci/ciMethod.cpp
+++ b/src/share/vm/ci/ciMethod.cpp
@@ -22,8 +22,41 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciMethod.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciCallProfile.hpp"
+#include "ci/ciExceptionHandler.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciMethod.hpp"
+#include "ci/ciMethodBlocks.hpp"
+#include "ci/ciMethodData.hpp"
+#include "ci/ciMethodKlass.hpp"
+#include "ci/ciStreams.hpp"
+#include "ci/ciSymbol.hpp"
+#include "ci/ciUtilities.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "compiler/abstractCompiler.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "compiler/methodLiveness.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/generateOopMap.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/nativeLookup.hpp"
+#include "runtime/deoptimization.hpp"
+#include "utilities/bitMap.inline.hpp"
+#include "utilities/xmlstream.hpp"
+#ifdef COMPILER2
+#include "ci/bcEscapeAnalyzer.hpp"
+#include "ci/ciTypeFlow.hpp"
+#include "oops/methodOop.hpp"
+#endif
+#ifdef SHARK
+#include "ci/ciTypeFlow.hpp"
+#include "oops/methodOop.hpp"
+#endif
// ciMethod
//
diff --git a/src/share/vm/ci/ciMethod.hpp b/src/share/vm/ci/ciMethod.hpp
index abf53ca07..05df3ccc8 100644
--- a/src/share/vm/ci/ciMethod.hpp
+++ b/src/share/vm/ci/ciMethod.hpp
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_CI_CIMETHOD_HPP
+#define SHARE_VM_CI_CIMETHOD_HPP
+
+#include "ci/ciFlags.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciObject.hpp"
+#include "ci/ciSignature.hpp"
+#include "compiler/methodLiveness.hpp"
+#include "prims/methodHandles.hpp"
+#include "utilities/bitMap.hpp"
+
class ciMethodBlocks;
class MethodLiveness;
class BitMap;
@@ -269,3 +280,5 @@ class ciMethod : public ciObject {
return MethodHandles::decode_method(get_oop(), receiver_limit_oop, flags);
}
};
+
+#endif // SHARE_VM_CI_CIMETHOD_HPP
diff --git a/src/share/vm/ci/ciMethodBlocks.cpp b/src/share/vm/ci/ciMethodBlocks.cpp
index 36bfa813a..e54f94c72 100644
--- a/src/share/vm/ci/ciMethodBlocks.cpp
+++ b/src/share/vm/ci/ciMethodBlocks.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciMethodBlocks.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciMethodBlocks.hpp"
+#include "ci/ciStreams.hpp"
+#include "interpreter/bytecode.hpp"
+#include "utilities/copy.hpp"
// ciMethodBlocks
diff --git a/src/share/vm/ci/ciMethodBlocks.hpp b/src/share/vm/ci/ciMethodBlocks.hpp
index a1f1ebba6..784c6a726 100644
--- a/src/share/vm/ci/ciMethodBlocks.hpp
+++ b/src/share/vm/ci/ciMethodBlocks.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_CI_CIMETHODBLOCKS_HPP
+#define SHARE_VM_CI_CIMETHODBLOCKS_HPP
+
+#include "ci/ciMethod.hpp"
+#include "memory/resourceArea.hpp"
+#include "utilities/growableArray.hpp"
+
class ciBlock;
@@ -121,3 +128,5 @@ public:
void print_on(outputStream* st) const PRODUCT_RETURN;
#endif
};
+
+#endif // SHARE_VM_CI_CIMETHODBLOCKS_HPP
diff --git a/src/share/vm/ci/ciMethodData.cpp b/src/share/vm/ci/ciMethodData.cpp
index 7bc50901d..8456160b1 100644
--- a/src/share/vm/ci/ciMethodData.cpp
+++ b/src/share/vm/ci/ciMethodData.cpp
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciMethodData.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciMethodData.hpp"
+#include "ci/ciUtilities.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/deoptimization.hpp"
+#include "utilities/copy.hpp"
// ciMethodData
diff --git a/src/share/vm/ci/ciMethodData.hpp b/src/share/vm/ci/ciMethodData.hpp
index 3930e8839..d84b2c83f 100644
--- a/src/share/vm/ci/ciMethodData.hpp
+++ b/src/share/vm/ci/ciMethodData.hpp
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_CI_CIMETHODDATA_HPP
+#define SHARE_VM_CI_CIMETHODDATA_HPP
+
+#include "ci/ciClassList.hpp"
+#include "ci/ciKlass.hpp"
+#include "ci/ciObject.hpp"
+#include "ci/ciUtilities.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/oop.inline.hpp"
+
class ciBitData;
class ciCounterData;
class ciJumpData;
@@ -311,3 +321,5 @@ public:
void print_data_on(outputStream* st);
#endif
};
+
+#endif // SHARE_VM_CI_CIMETHODDATA_HPP
diff --git a/src/share/vm/ci/ciMethodHandle.cpp b/src/share/vm/ci/ciMethodHandle.cpp
index 816e25755..c8e7cf181 100644
--- a/src/share/vm/ci/ciMethodHandle.cpp
+++ b/src/share/vm/ci/ciMethodHandle.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciMethodHandle.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciClassList.hpp"
+#include "ci/ciInstance.hpp"
+#include "ci/ciMethodHandle.hpp"
+#include "ci/ciUtilities.hpp"
+#include "prims/methodHandleWalk.hpp"
+#include "prims/methodHandles.hpp"
// ciMethodHandle
diff --git a/src/share/vm/ci/ciMethodHandle.hpp b/src/share/vm/ci/ciMethodHandle.hpp
index 2128ba0bd..3b9ea6833 100644
--- a/src/share/vm/ci/ciMethodHandle.hpp
+++ b/src/share/vm/ci/ciMethodHandle.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CI_CIMETHODHANDLE_HPP
+#define SHARE_VM_CI_CIMETHODHANDLE_HPP
+
+#include "prims/methodHandles.hpp"
+
// ciMethodHandle
//
// The class represents a java.dyn.MethodHandle object.
@@ -54,3 +59,5 @@ public:
return get_adapter(true);
}
};
+
+#endif // SHARE_VM_CI_CIMETHODHANDLE_HPP
diff --git a/src/share/vm/ci/ciMethodKlass.cpp b/src/share/vm/ci/ciMethodKlass.cpp
index 5d46cdde5..b72f2ce97 100644
--- a/src/share/vm/ci/ciMethodKlass.cpp
+++ b/src/share/vm/ci/ciMethodKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciMethodKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciMethodKlass.hpp"
+#include "ci/ciUtilities.hpp"
// ciMethodKlass
//
diff --git a/src/share/vm/ci/ciMethodKlass.hpp b/src/share/vm/ci/ciMethodKlass.hpp
index 03987d045..691f2ba78 100644
--- a/src/share/vm/ci/ciMethodKlass.hpp
+++ b/src/share/vm/ci/ciMethodKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CI_CIMETHODKLASS_HPP
+#define SHARE_VM_CI_CIMETHODKLASS_HPP
+
+#include "ci/ciKlass.hpp"
+#include "ci/ciSymbol.hpp"
+
// ciMethodKlass
//
// This class represents a klassOop in the HotSpot virtual machine
@@ -46,3 +52,5 @@ public:
// Return the distinguished ciMethodKlass instance.
static ciMethodKlass* make();
};
+
+#endif // SHARE_VM_CI_CIMETHODKLASS_HPP
diff --git a/src/share/vm/ci/ciNullObject.cpp b/src/share/vm/ci/ciNullObject.cpp
index 7ed9cc66d..30e3f1e89 100644
--- a/src/share/vm/ci/ciNullObject.cpp
+++ b/src/share/vm/ci/ciNullObject.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciNullObject.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciNullObject.hpp"
// ciNullObject
//
diff --git a/src/share/vm/ci/ciNullObject.hpp b/src/share/vm/ci/ciNullObject.hpp
index 7bf5d04bf..23879a1df 100644
--- a/src/share/vm/ci/ciNullObject.hpp
+++ b/src/share/vm/ci/ciNullObject.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_CI_CINULLOBJECT_HPP
+#define SHARE_VM_CI_CINULLOBJECT_HPP
+
+#include "ci/ciClassList.hpp"
+#include "ci/ciObject.hpp"
+#include "ci/ciUtilities.hpp"
+
// ciNullObject
//
// This class represents a null reference in the VM.
@@ -47,3 +54,5 @@ public:
// Get the distinguished instance of this klass.
static ciNullObject* make();
};
+
+#endif // SHARE_VM_CI_CINULLOBJECT_HPP
diff --git a/src/share/vm/ci/ciObjArray.cpp b/src/share/vm/ci/ciObjArray.cpp
index 233848ad8..fc2b31eeb 100644
--- a/src/share/vm/ci/ciObjArray.cpp
+++ b/src/share/vm/ci/ciObjArray.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciObjArray.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciNullObject.hpp"
+#include "ci/ciObjArray.hpp"
+#include "ci/ciUtilities.hpp"
+#include "oops/objArrayOop.hpp"
// ciObjArray
//
diff --git a/src/share/vm/ci/ciObjArray.hpp b/src/share/vm/ci/ciObjArray.hpp
index 1a2d20822..6a3abc551 100644
--- a/src/share/vm/ci/ciObjArray.hpp
+++ b/src/share/vm/ci/ciObjArray.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_CI_CIOBJARRAY_HPP
+#define SHARE_VM_CI_CIOBJARRAY_HPP
+
+#include "ci/ciArray.hpp"
+#include "ci/ciClassList.hpp"
+#include "oops/objArrayOop.hpp"
+
// ciObjArray
//
// This class represents a ObjArrayOop in the HotSpot virtual
@@ -46,3 +53,5 @@ public:
ciObject* obj_at(int index);
};
+
+#endif // SHARE_VM_CI_CIOBJARRAY_HPP
diff --git a/src/share/vm/ci/ciObjArrayKlass.cpp b/src/share/vm/ci/ciObjArrayKlass.cpp
index 085e4cfaf..c04d31b4d 100644
--- a/src/share/vm/ci/ciObjArrayKlass.cpp
+++ b/src/share/vm/ci/ciObjArrayKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciObjArrayKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciObjArrayKlass.hpp"
+#include "ci/ciObjArrayKlassKlass.hpp"
+#include "ci/ciSymbol.hpp"
+#include "ci/ciUtilities.hpp"
+#include "oops/objArrayKlass.hpp"
// ciObjArrayKlass
//
diff --git a/src/share/vm/ci/ciObjArrayKlass.hpp b/src/share/vm/ci/ciObjArrayKlass.hpp
index e8c957880..2f199593e 100644
--- a/src/share/vm/ci/ciObjArrayKlass.hpp
+++ b/src/share/vm/ci/ciObjArrayKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CI_CIOBJARRAYKLASS_HPP
+#define SHARE_VM_CI_CIOBJARRAYKLASS_HPP
+
+#include "ci/ciArrayKlass.hpp"
+
// ciObjArrayKlass
//
// This class represents a klassOop in the HotSpot virtual machine
@@ -69,3 +74,5 @@ public:
static ciObjArrayKlass* make(ciKlass* element_klass);
};
+
+#endif // SHARE_VM_CI_CIOBJARRAYKLASS_HPP
diff --git a/src/share/vm/ci/ciObjArrayKlassKlass.cpp b/src/share/vm/ci/ciObjArrayKlassKlass.cpp
index 3eb1d5245..8df716555 100644
--- a/src/share/vm/ci/ciObjArrayKlassKlass.cpp
+++ b/src/share/vm/ci/ciObjArrayKlassKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciObjArrayKlassKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciObjArrayKlassKlass.hpp"
+#include "ci/ciUtilities.hpp"
// ciObjArrayKlassKlass
//
diff --git a/src/share/vm/ci/ciObjArrayKlassKlass.hpp b/src/share/vm/ci/ciObjArrayKlassKlass.hpp
index 4da72e94c..537f50af2 100644
--- a/src/share/vm/ci/ciObjArrayKlassKlass.hpp
+++ b/src/share/vm/ci/ciObjArrayKlassKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CI_CIOBJARRAYKLASSKLASS_HPP
+#define SHARE_VM_CI_CIOBJARRAYKLASSKLASS_HPP
+
+#include "ci/ciArrayKlassKlass.hpp"
+
// ciObjArrayKlassKlass
//
// This class represents a klassOop in the HotSpot virtual machine
@@ -48,3 +53,5 @@ public:
// Return the distinguished ciObjArrayKlassKlass instance.
static ciObjArrayKlassKlass* make();
};
+
+#endif // SHARE_VM_CI_CIOBJARRAYKLASSKLASS_HPP
diff --git a/src/share/vm/ci/ciObject.cpp b/src/share/vm/ci/ciObject.cpp
index 16e910197..a4eb9439e 100644
--- a/src/share/vm/ci/ciObject.cpp
+++ b/src/share/vm/ci/ciObject.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciObject.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciObject.hpp"
+#include "ci/ciUtilities.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "oops/oop.inline2.hpp"
// ciObject
//
diff --git a/src/share/vm/ci/ciObject.hpp b/src/share/vm/ci/ciObject.hpp
index 5f12c5968..e3a85a123 100644
--- a/src/share/vm/ci/ciObject.hpp
+++ b/src/share/vm/ci/ciObject.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_CI_CIOBJECT_HPP
+#define SHARE_VM_CI_CIOBJECT_HPP
+
+#include "ci/ciClassList.hpp"
+#include "memory/allocation.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/jniHandles.hpp"
+
// ciObject
//
// This class represents an oop in the HotSpot virtual machine.
@@ -291,3 +299,5 @@ public:
// Print debugging output about the oop this ciObject represents.
void print_oop(outputStream* st = tty);
};
+
+#endif // SHARE_VM_CI_CIOBJECT_HPP
diff --git a/src/share/vm/ci/ciObjectFactory.cpp b/src/share/vm/ci/ciObjectFactory.cpp
index 776fdbd88..abc5408af 100644
--- a/src/share/vm/ci/ciObjectFactory.cpp
+++ b/src/share/vm/ci/ciObjectFactory.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,33 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciObjectFactory.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciCPCache.hpp"
+#include "ci/ciCallSite.hpp"
+#include "ci/ciInstance.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciInstanceKlassKlass.hpp"
+#include "ci/ciMethod.hpp"
+#include "ci/ciMethodData.hpp"
+#include "ci/ciMethodHandle.hpp"
+#include "ci/ciMethodKlass.hpp"
+#include "ci/ciNullObject.hpp"
+#include "ci/ciObjArray.hpp"
+#include "ci/ciObjArrayKlass.hpp"
+#include "ci/ciObjArrayKlassKlass.hpp"
+#include "ci/ciObjectFactory.hpp"
+#include "ci/ciSymbol.hpp"
+#include "ci/ciSymbolKlass.hpp"
+#include "ci/ciTypeArray.hpp"
+#include "ci/ciTypeArrayKlass.hpp"
+#include "ci/ciTypeArrayKlassKlass.hpp"
+#include "ci/ciUtilities.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "runtime/fieldType.hpp"
// ciObjectFactory
//
diff --git a/src/share/vm/ci/ciObjectFactory.hpp b/src/share/vm/ci/ciObjectFactory.hpp
index 4ea01d9e1..280f72144 100644
--- a/src/share/vm/ci/ciObjectFactory.hpp
+++ b/src/share/vm/ci/ciObjectFactory.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_CI_CIOBJECTFACTORY_HPP
+#define SHARE_VM_CI_CIOBJECTFACTORY_HPP
+
+#include "ci/ciClassList.hpp"
+#include "ci/ciObject.hpp"
+#include "utilities/growableArray.hpp"
+
// ciObjectFactory
//
// This class handles requests for the creation of new instances
@@ -123,3 +130,5 @@ public:
void print_contents();
void print();
};
+
+#endif // SHARE_VM_CI_CIOBJECTFACTORY_HPP
diff --git a/src/share/vm/ci/ciSignature.cpp b/src/share/vm/ci/ciSignature.cpp
index bf73809c3..738e28d7c 100644
--- a/src/share/vm/ci/ciSignature.cpp
+++ b/src/share/vm/ci/ciSignature.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciSignature.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciSignature.hpp"
+#include "ci/ciUtilities.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/signature.hpp"
// ciSignature
//
diff --git a/src/share/vm/ci/ciSignature.hpp b/src/share/vm/ci/ciSignature.hpp
index 0be657f92..700daaad6 100644
--- a/src/share/vm/ci/ciSignature.hpp
+++ b/src/share/vm/ci/ciSignature.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_CI_CISIGNATURE_HPP
+#define SHARE_VM_CI_CISIGNATURE_HPP
+
+#include "ci/ciClassList.hpp"
+#include "ci/ciSymbol.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/growableArray.hpp"
+
// ciSignature
//
// This class represents the signature of a method.
@@ -54,3 +62,5 @@ public:
void print_signature();
void print();
};
+
+#endif // SHARE_VM_CI_CISIGNATURE_HPP
diff --git a/src/share/vm/ci/ciStreams.cpp b/src/share/vm/ci/ciStreams.cpp
index 5b0586b20..a93f40c0f 100644
--- a/src/share/vm/ci/ciStreams.cpp
+++ b/src/share/vm/ci/ciStreams.cpp
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciStreams.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciCPCache.hpp"
+#include "ci/ciCallSite.hpp"
+#include "ci/ciConstant.hpp"
+#include "ci/ciField.hpp"
+#include "ci/ciStreams.hpp"
+#include "ci/ciUtilities.hpp"
// ciExceptionHandlerStream
//
diff --git a/src/share/vm/ci/ciStreams.hpp b/src/share/vm/ci/ciStreams.hpp
index e126eddfa..78ff27981 100644
--- a/src/share/vm/ci/ciStreams.hpp
+++ b/src/share/vm/ci/ciStreams.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_CI_CISTREAMS_HPP
+#define SHARE_VM_CI_CISTREAMS_HPP
+
+#include "ci/ciClassList.hpp"
+#include "ci/ciExceptionHandler.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciMethod.hpp"
+#include "interpreter/bytecode.hpp"
+
// ciBytecodeStream
//
// The class is used to iterate over the bytecodes of a method.
@@ -397,3 +406,5 @@ public:
return _method->_exception_handlers[_pos];
}
};
+
+#endif // SHARE_VM_CI_CISTREAMS_HPP
diff --git a/src/share/vm/ci/ciSymbol.cpp b/src/share/vm/ci/ciSymbol.cpp
index b48deee27..08cc704b7 100644
--- a/src/share/vm/ci/ciSymbol.cpp
+++ b/src/share/vm/ci/ciSymbol.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciSymbol.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciSymbol.hpp"
+#include "ci/ciUtilities.hpp"
+#include "memory/oopFactory.hpp"
// ------------------------------------------------------------------
// ciSymbol::ciSymbol
diff --git a/src/share/vm/ci/ciSymbol.hpp b/src/share/vm/ci/ciSymbol.hpp
index 4c163ab6b..6664934a2 100644
--- a/src/share/vm/ci/ciSymbol.hpp
+++ b/src/share/vm/ci/ciSymbol.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_CI_CISYMBOL_HPP
+#define SHARE_VM_CI_CISYMBOL_HPP
+
+#include "ci/ciObject.hpp"
+#include "ci/ciObjectFactory.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "oops/symbolOop.hpp"
+
// ciSymbol
//
// This class represents a symbolOop in the HotSpot virtual
@@ -89,3 +97,5 @@ public:
VM_SYMBOLS_DO(CI_SYMBOL_DECLARE, CI_SYMBOL_DECLARE)
#undef CI_SYMBOL_DECLARE
};
+
+#endif // SHARE_VM_CI_CISYMBOL_HPP
diff --git a/src/share/vm/ci/ciSymbolKlass.cpp b/src/share/vm/ci/ciSymbolKlass.cpp
index f7de2d670..1fb67e1a3 100644
--- a/src/share/vm/ci/ciSymbolKlass.cpp
+++ b/src/share/vm/ci/ciSymbolKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciSymbolKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciSymbolKlass.hpp"
+#include "ci/ciUtilities.hpp"
// ciSymbolKlass
//
diff --git a/src/share/vm/ci/ciSymbolKlass.hpp b/src/share/vm/ci/ciSymbolKlass.hpp
index 995cceead..604a7be18 100644
--- a/src/share/vm/ci/ciSymbolKlass.hpp
+++ b/src/share/vm/ci/ciSymbolKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CI_CISYMBOLKLASS_HPP
+#define SHARE_VM_CI_CISYMBOLKLASS_HPP
+
+#include "ci/ciKlass.hpp"
+#include "ci/ciSymbol.hpp"
+
// ciSymbolKlass
//
// This class represents a klassOop in the HotSpot virtual machine
@@ -50,3 +56,5 @@ public:
// Return the distinguished ciSymbolKlass instance.
static ciSymbolKlass* make();
};
+
+#endif // SHARE_VM_CI_CISYMBOLKLASS_HPP
diff --git a/src/share/vm/ci/ciType.cpp b/src/share/vm/ci/ciType.cpp
index c00348cf8..4aa100ccd 100644
--- a/src/share/vm/ci/ciType.cpp
+++ b/src/share/vm/ci/ciType.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciType.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciType.hpp"
+#include "ci/ciUtilities.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "oops/oop.inline.hpp"
ciType* ciType::_basic_types[T_CONFLICT+1];
diff --git a/src/share/vm/ci/ciType.hpp b/src/share/vm/ci/ciType.hpp
index 70d9e8774..916bcf461 100644
--- a/src/share/vm/ci/ciType.hpp
+++ b/src/share/vm/ci/ciType.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CI_CITYPE_HPP
+#define SHARE_VM_CI_CITYPE_HPP
+
+#include "ci/ciObject.hpp"
+#include "oops/klassOop.hpp"
+
// ciType
//
// This class represents either a class (T_OBJECT), array (T_ARRAY),
@@ -106,3 +112,5 @@ public:
static ciReturnAddress* make(int bci);
};
+
+#endif // SHARE_VM_CI_CITYPE_HPP
diff --git a/src/share/vm/ci/ciTypeArray.cpp b/src/share/vm/ci/ciTypeArray.cpp
index fe50e0707..d4a6eff6f 100644
--- a/src/share/vm/ci/ciTypeArray.cpp
+++ b/src/share/vm/ci/ciTypeArray.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciTypeArray.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciTypeArray.hpp"
+#include "ci/ciUtilities.hpp"
// ciTypeArray
//
diff --git a/src/share/vm/ci/ciTypeArray.hpp b/src/share/vm/ci/ciTypeArray.hpp
index 101205d06..80a767d91 100644
--- a/src/share/vm/ci/ciTypeArray.hpp
+++ b/src/share/vm/ci/ciTypeArray.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_CI_CITYPEARRAY_HPP
+#define SHARE_VM_CI_CITYPEARRAY_HPP
+
+#include "ci/ciArray.hpp"
+#include "ci/ciClassList.hpp"
+#include "oops/typeArrayOop.hpp"
+
// ciTypeArray
//
// This class represents a typeArrayOop in the HotSpot virtual
@@ -50,3 +57,5 @@ public:
jchar char_at(int index);
};
+
+#endif // SHARE_VM_CI_CITYPEARRAY_HPP
diff --git a/src/share/vm/ci/ciTypeArrayKlass.cpp b/src/share/vm/ci/ciTypeArrayKlass.cpp
index 3d197602e..ca0c5cfd1 100644
--- a/src/share/vm/ci/ciTypeArrayKlass.cpp
+++ b/src/share/vm/ci/ciTypeArrayKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciTypeArrayKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciTypeArrayKlass.hpp"
+#include "ci/ciUtilities.hpp"
// ciTypeArrayKlass
//
diff --git a/src/share/vm/ci/ciTypeArrayKlass.hpp b/src/share/vm/ci/ciTypeArrayKlass.hpp
index c7c417762..22df4b975 100644
--- a/src/share/vm/ci/ciTypeArrayKlass.hpp
+++ b/src/share/vm/ci/ciTypeArrayKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CI_CITYPEARRAYKLASS_HPP
+#define SHARE_VM_CI_CITYPEARRAYKLASS_HPP
+
+#include "ci/ciArrayKlass.hpp"
+
// ciTypeArrayKlass
//
// This class represents a klassOop in the HotSpot virtual machine
@@ -53,3 +58,5 @@ public:
// Make an array klass corresponding to the specified primitive type.
static ciTypeArrayKlass* make(BasicType type);
};
+
+#endif // SHARE_VM_CI_CITYPEARRAYKLASS_HPP
diff --git a/src/share/vm/ci/ciTypeArrayKlassKlass.cpp b/src/share/vm/ci/ciTypeArrayKlassKlass.cpp
index 960e85c37..41048ce78 100644
--- a/src/share/vm/ci/ciTypeArrayKlassKlass.cpp
+++ b/src/share/vm/ci/ciTypeArrayKlassKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciTypeArrayKlassKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciTypeArrayKlassKlass.hpp"
+#include "ci/ciUtilities.hpp"
// ciTypeArrayKlassKlass
//
diff --git a/src/share/vm/ci/ciTypeArrayKlassKlass.hpp b/src/share/vm/ci/ciTypeArrayKlassKlass.hpp
index 8fdb91b3e..b99a968d6 100644
--- a/src/share/vm/ci/ciTypeArrayKlassKlass.hpp
+++ b/src/share/vm/ci/ciTypeArrayKlassKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CI_CITYPEARRAYKLASSKLASS_HPP
+#define SHARE_VM_CI_CITYPEARRAYKLASSKLASS_HPP
+
+#include "ci/ciArrayKlassKlass.hpp"
+
// ciTypeArrayKlassKlass
//
// This class represents a klassOop in the HotSpot virtual machine
@@ -49,3 +54,5 @@ public:
// Return the distinguished ciTypeArrayKlassKlass instance.
static ciTypeArrayKlassKlass* make();
};
+
+#endif // SHARE_VM_CI_CITYPEARRAYKLASSKLASS_HPP
diff --git a/src/share/vm/ci/ciTypeFlow.cpp b/src/share/vm/ci/ciTypeFlow.cpp
index 6a3390c45..d8af850f1 100644
--- a/src/share/vm/ci/ciTypeFlow.cpp
+++ b/src/share/vm/ci/ciTypeFlow.cpp
@@ -22,8 +22,21 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciTypeFlow.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciConstant.hpp"
+#include "ci/ciField.hpp"
+#include "ci/ciMethod.hpp"
+#include "ci/ciMethodData.hpp"
+#include "ci/ciObjArrayKlass.hpp"
+#include "ci/ciStreams.hpp"
+#include "ci/ciTypeArrayKlass.hpp"
+#include "ci/ciTypeFlow.hpp"
+#include "compiler/compileLog.hpp"
+#include "interpreter/bytecode.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "memory/allocation.inline.hpp"
+#include "runtime/deoptimization.hpp"
+#include "utilities/growableArray.hpp"
// ciTypeFlow::JsrSet
//
diff --git a/src/share/vm/ci/ciTypeFlow.hpp b/src/share/vm/ci/ciTypeFlow.hpp
index 26828a578..e83487d19 100644
--- a/src/share/vm/ci/ciTypeFlow.hpp
+++ b/src/share/vm/ci/ciTypeFlow.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_CI_CITYPEFLOW_HPP
+#define SHARE_VM_CI_CITYPEFLOW_HPP
+
+#ifdef COMPILER2
+#include "ci/ciEnv.hpp"
+#include "ci/ciKlass.hpp"
+#include "ci/ciMethodBlocks.hpp"
+#endif
+#ifdef SHARK
+#include "ci/ciEnv.hpp"
+#include "ci/ciKlass.hpp"
+#include "ci/ciMethodBlocks.hpp"
+#endif
+
class ciTypeFlow : public ResourceObj {
private:
@@ -924,3 +938,5 @@ public:
void rpo_print_on(outputStream* st) const PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_CI_CITYPEFLOW_HPP
diff --git a/src/share/vm/ci/ciUtilities.cpp b/src/share/vm/ci/ciUtilities.cpp
index 09ac80ecb..f64f7efb3 100644
--- a/src/share/vm/ci/ciUtilities.cpp
+++ b/src/share/vm/ci/ciUtilities.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ciUtilities.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciUtilities.hpp"
// ciUtilities
//
diff --git a/src/share/vm/ci/ciUtilities.hpp b/src/share/vm/ci/ciUtilities.hpp
index e1357500f..9788f77a7 100644
--- a/src/share/vm/ci/ciUtilities.hpp
+++ b/src/share/vm/ci/ciUtilities.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CI_CIUTILITIES_HPP
+#define SHARE_VM_CI_CIUTILITIES_HPP
+
+#include "ci/ciEnv.hpp"
+#include "runtime/interfaceSupport.hpp"
+
// The following routines and definitions are used internally in the
// compiler interface.
@@ -104,3 +110,5 @@ inline const char* bool_to_str(bool b) {
const char* basictype_to_str(BasicType t);
const char basictype_to_char(BasicType t);
+
+#endif // SHARE_VM_CI_CIUTILITIES_HPP
diff --git a/src/share/vm/ci/compilerInterface.hpp b/src/share/vm/ci/compilerInterface.hpp
index fe843d5a1..b5db53c0e 100644
--- a/src/share/vm/ci/compilerInterface.hpp
+++ b/src/share/vm/ci/compilerInterface.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,5 +22,39 @@
*
*/
+#ifndef SHARE_VM_CI_COMPILERINTERFACE_HPP
+#define SHARE_VM_CI_COMPILERINTERFACE_HPP
+
+#include "ci/ciArray.hpp"
+#include "ci/ciArrayKlass.hpp"
+#include "ci/ciArrayKlassKlass.hpp"
+#include "ci/ciCallProfile.hpp"
+#include "ci/ciConstant.hpp"
+#include "ci/ciEnv.hpp"
+#include "ci/ciExceptionHandler.hpp"
+#include "ci/ciField.hpp"
+#include "ci/ciFlags.hpp"
+#include "ci/ciInstance.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciInstanceKlassKlass.hpp"
+#include "ci/ciKlass.hpp"
+#include "ci/ciKlassKlass.hpp"
+#include "ci/ciMethod.hpp"
+#include "ci/ciMethodKlass.hpp"
+#include "ci/ciNullObject.hpp"
+#include "ci/ciObjArray.hpp"
+#include "ci/ciObjArrayKlass.hpp"
+#include "ci/ciObjArrayKlassKlass.hpp"
+#include "ci/ciObject.hpp"
+#include "ci/ciSignature.hpp"
+#include "ci/ciStreams.hpp"
+#include "ci/ciSymbol.hpp"
+#include "ci/ciSymbolKlass.hpp"
+#include "ci/ciTypeArray.hpp"
+#include "ci/ciTypeArrayKlass.hpp"
+#include "ci/ciTypeArrayKlassKlass.hpp"
+
// This is a dummy file used for including the complete
// compiler interface.
+
+#endif // SHARE_VM_CI_COMPILERINTERFACE_HPP
diff --git a/src/share/vm/classfile/classFileError.cpp b/src/share/vm/classfile/classFileError.cpp
index c5f465e76..80aa37af9 100644
--- a/src/share/vm/classfile/classFileError.cpp
+++ b/src/share/vm/classfile/classFileError.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_classFileError.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classFileParser.hpp"
+#include "classfile/stackMapTable.hpp"
+#include "classfile/verifier.hpp"
// Keep these in a separate file to prevent inlining
diff --git a/src/share/vm/classfile/classFileParser.cpp b/src/share/vm/classfile/classFileParser.cpp
index bc015b54e..ac5b0127d 100644
--- a/src/share/vm/classfile/classFileParser.cpp
+++ b/src/share/vm/classfile/classFileParser.cpp
@@ -22,8 +22,34 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_classFileParser.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classFileParser.hpp"
+#include "classfile/classLoader.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/verificationType.hpp"
+#include "classfile/verifier.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "memory/allocation.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/klass.inline.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/klassVtable.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/symbolOop.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/perfData.hpp"
+#include "runtime/reflection.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/timer.hpp"
+#include "services/classLoadingService.hpp"
+#include "services/threadService.hpp"
// We generally try to create the oops directly when parsing, rather than
// allocating temporary data structures and copying the bytes twice. A
diff --git a/src/share/vm/classfile/classFileParser.hpp b/src/share/vm/classfile/classFileParser.hpp
index d7fc92b9c..12c0ec959 100644
--- a/src/share/vm/classfile/classFileParser.hpp
+++ b/src/share/vm/classfile/classFileParser.hpp
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_CLASSFILEPARSER_HPP
+#define SHARE_VM_CLASSFILE_CLASSFILEPARSER_HPP
+
+#include "classfile/classFileStream.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/typeArrayOop.hpp"
+#include "runtime/handles.inline.hpp"
+#include "utilities/accessFlags.hpp"
+
// Parser for for .class files
//
// The bytes describing the class file structure is read from a Stream object
@@ -286,3 +296,5 @@ class ClassFileParser VALUE_OBJ_CLASS_SPEC {
static void check_final_method_override(instanceKlassHandle this_klass, TRAPS);
static void check_illegal_static_method(instanceKlassHandle this_klass, TRAPS);
};
+
+#endif // SHARE_VM_CLASSFILE_CLASSFILEPARSER_HPP
diff --git a/src/share/vm/classfile/classFileStream.cpp b/src/share/vm/classfile/classFileStream.cpp
index 9f5630495..19d3e82af 100644
--- a/src/share/vm/classfile/classFileStream.cpp
+++ b/src/share/vm/classfile/classFileStream.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_classFileStream.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classFileStream.hpp"
+#include "classfile/vmSymbols.hpp"
void ClassFileStream::truncated_file_error(TRAPS) {
THROW_MSG(vmSymbols::java_lang_ClassFormatError(), "Truncated class file");
diff --git a/src/share/vm/classfile/classFileStream.hpp b/src/share/vm/classfile/classFileStream.hpp
index d9a61f84d..dfadb7b00 100644
--- a/src/share/vm/classfile/classFileStream.hpp
+++ b/src/share/vm/classfile/classFileStream.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_CLASSFILESTREAM_HPP
+#define SHARE_VM_CLASSFILE_CLASSFILESTREAM_HPP
+
+#include "utilities/top.hpp"
+#ifdef TARGET_ARCH_x86
+# include "bytes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytes_zero.hpp"
+#endif
+
// Input stream for reading .class file
//
// The entire input stream is present in a buffer allocated by the caller.
@@ -116,3 +130,5 @@ class ClassFileStream: public ResourceObj {
// Tells whether eos is reached
bool at_eos() const { return _current == _buffer_end; }
};
+
+#endif // SHARE_VM_CLASSFILE_CLASSFILESTREAM_HPP
diff --git a/src/share/vm/classfile/classLoader.cpp b/src/share/vm/classfile/classLoader.cpp
index 1495e8772..1d646ef65 100644
--- a/src/share/vm/classfile/classLoader.cpp
+++ b/src/share/vm/classfile/classLoader.cpp
@@ -22,8 +22,56 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_classLoader.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classFileParser.hpp"
+#include "classfile/classFileStream.hpp"
+#include "classfile/classLoader.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "compiler/compileBroker.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/bytecodeStream.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/generation.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/constantPoolKlass.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/instanceRefKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "prims/jvm_misc.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/hpi.hpp"
+#include "runtime/init.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/threadCritical.hpp"
+#include "runtime/timer.hpp"
+#include "services/management.hpp"
+#include "services/threadService.hpp"
+#include "utilities/events.hpp"
+#include "utilities/hashtable.hpp"
+#include "utilities/hashtable.inline.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "hpi_linux.hpp"
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "hpi_solaris.hpp"
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "hpi_windows.hpp"
+# include "os_windows.inline.hpp"
+#endif
// Entry points in zip.dll for loading zip/jar file entries
diff --git a/src/share/vm/classfile/classLoader.hpp b/src/share/vm/classfile/classLoader.hpp
index ad4f967c6..3c6b215f9 100644
--- a/src/share/vm/classfile/classLoader.hpp
+++ b/src/share/vm/classfile/classLoader.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_CLASSLOADER_HPP
+#define SHARE_VM_CLASSFILE_CLASSLOADER_HPP
+
+#include "classfile/classFileParser.hpp"
+#include "runtime/perfData.hpp"
+
// The VM class loader.
#include <sys/stat.h>
@@ -456,3 +462,5 @@ class PerfClassTraceTime {
}
};
+
+#endif // SHARE_VM_CLASSFILE_CLASSLOADER_HPP
diff --git a/src/share/vm/classfile/dictionary.cpp b/src/share/vm/classfile/dictionary.cpp
index 155a51cb5..cff89e66a 100644
--- a/src/share/vm/classfile/dictionary.cpp
+++ b/src/share/vm/classfile/dictionary.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_dictionary.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/dictionary.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiRedefineClassesTrace.hpp"
+#include "services/classLoadingService.hpp"
+#include "utilities/hashtable.inline.hpp"
DictionaryEntry* Dictionary::_current_class_entry = NULL;
diff --git a/src/share/vm/classfile/dictionary.hpp b/src/share/vm/classfile/dictionary.hpp
index 53c4001bc..bc6a009b5 100644
--- a/src/share/vm/classfile/dictionary.hpp
+++ b/src/share/vm/classfile/dictionary.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_DICTIONARY_HPP
+#define SHARE_VM_CLASSFILE_DICTIONARY_HPP
+
+#include "classfile/systemDictionary.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/oop.hpp"
+#include "utilities/hashtable.hpp"
+
class DictionaryEntry;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -336,3 +344,5 @@ public:
void verify();
};
+
+#endif // SHARE_VM_CLASSFILE_DICTIONARY_HPP
diff --git a/src/share/vm/classfile/javaAssertions.cpp b/src/share/vm/classfile/javaAssertions.cpp
index 4315f8cc7..0c64222cb 100644
--- a/src/share/vm/classfile/javaAssertions.cpp
+++ b/src/share/vm/classfile/javaAssertions.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,8 +22,15 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_javaAssertions.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaAssertions.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
bool JavaAssertions::_userDefault = false;
bool JavaAssertions::_sysDefault = false;
diff --git a/src/share/vm/classfile/javaAssertions.hpp b/src/share/vm/classfile/javaAssertions.hpp
index a11f2e5d9..b0fb21a2d 100644
--- a/src/share/vm/classfile/javaAssertions.hpp
+++ b/src/share/vm/classfile/javaAssertions.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_JAVAASSERTIONS_HPP
+#define SHARE_VM_CLASSFILE_JAVAASSERTIONS_HPP
+
+#include "oops/objArrayOop.hpp"
+#include "oops/typeArrayOop.hpp"
+#include "utilities/exceptions.hpp"
+#include "utilities/ostream.hpp"
+
class JavaAssertions: AllStatic {
public:
static inline bool userClassDefault();
@@ -95,3 +103,5 @@ inline void JavaAssertions::setSystemClassDefault(bool enabled) {
tty->print_cr("JavaAssertions::setSystemClassDefault(%d)", enabled);
_sysDefault = enabled;
}
+
+#endif // SHARE_VM_CLASSFILE_JAVAASSERTIONS_HPP
diff --git a/src/share/vm/classfile/javaClasses.cpp b/src/share/vm/classfile/javaClasses.cpp
index fd9e42d71..72c848db7 100644
--- a/src/share/vm/classfile/javaClasses.cpp
+++ b/src/share/vm/classfile/javaClasses.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,39 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_javaClasses.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/debugInfo.hpp"
+#include "code/pcDesc.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/klass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/symbolOop.hpp"
+#include "oops/typeArrayOop.hpp"
+#include "runtime/fieldDescriptor.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/vframe.hpp"
+#include "utilities/preserveException.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
static bool find_field(instanceKlass* ik,
symbolOop name_symbol, symbolOop signature_symbol,
diff --git a/src/share/vm/classfile/javaClasses.hpp b/src/share/vm/classfile/javaClasses.hpp
index 7cd03c1d4..9051390cd 100644
--- a/src/share/vm/classfile/javaClasses.hpp
+++ b/src/share/vm/classfile/javaClasses.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_JAVACLASSES_HPP
+#define SHARE_VM_CLASSFILE_JAVACLASSES_HPP
+
+#include "classfile/systemDictionary.hpp"
+#include "jvmtifiles/jvmti.h"
+#include "oops/oop.hpp"
+#include "runtime/os.hpp"
+#include "utilities/utf8.hpp"
+
// Interface for manipulating the basic Java classes.
//
// All dependencies on layout of actual Java classes should be kept here.
@@ -1271,3 +1280,5 @@ class JavaClasses : AllStatic {
static void compute_offsets();
static void check_offsets() PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_CLASSFILE_JAVACLASSES_HPP
diff --git a/src/share/vm/classfile/loaderConstraints.cpp b/src/share/vm/classfile/loaderConstraints.cpp
index 9f03cec60..cd6081911 100644
--- a/src/share/vm/classfile/loaderConstraints.cpp
+++ b/src/share/vm/classfile/loaderConstraints.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_loaderConstraints.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/loaderConstraints.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/safepoint.hpp"
+#include "utilities/hashtable.inline.hpp"
LoaderConstraintTable::LoaderConstraintTable(int nof_buckets)
: Hashtable(nof_buckets, sizeof(LoaderConstraintEntry)) {};
diff --git a/src/share/vm/classfile/loaderConstraints.hpp b/src/share/vm/classfile/loaderConstraints.hpp
index 001469d72..c6dd29ae6 100644
--- a/src/share/vm/classfile/loaderConstraints.hpp
+++ b/src/share/vm/classfile/loaderConstraints.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_LOADERCONSTRAINTS_HPP
+#define SHARE_VM_CLASSFILE_LOADERCONSTRAINTS_HPP
+
+#include "classfile/dictionary.hpp"
+#include "classfile/placeholders.hpp"
+#include "utilities/hashtable.hpp"
+
class LoaderConstraintEntry;
class LoaderConstraintTable : public Hashtable {
@@ -130,3 +137,5 @@ public:
void set_loader(int i, oop p) { _loaders[i] = p; }
};
+
+#endif // SHARE_VM_CLASSFILE_LOADERCONSTRAINTS_HPP
diff --git a/src/share/vm/classfile/placeholders.cpp b/src/share/vm/classfile/placeholders.cpp
index beda19481..6deba4f1b 100644
--- a/src/share/vm/classfile/placeholders.cpp
+++ b/src/share/vm/classfile/placeholders.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_placeholders.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/placeholders.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/fieldType.hpp"
+#include "utilities/hashtable.inline.hpp"
// Placeholder methods
diff --git a/src/share/vm/classfile/placeholders.hpp b/src/share/vm/classfile/placeholders.hpp
index e0aa4da4f..4c77fefff 100644
--- a/src/share/vm/classfile/placeholders.hpp
+++ b/src/share/vm/classfile/placeholders.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_PLACEHOLDERS_HPP
+#define SHARE_VM_CLASSFILE_PLACEHOLDERS_HPP
+
+#include "utilities/hashtable.hpp"
+
class PlaceholderEntry;
// Placeholder objects. These represent classes currently
@@ -329,3 +334,5 @@ class PlaceholderEntry : public HashtableEntry {
void print() const PRODUCT_RETURN;
void verify() const;
};
+
+#endif // SHARE_VM_CLASSFILE_PLACEHOLDERS_HPP
diff --git a/src/share/vm/classfile/resolutionErrors.cpp b/src/share/vm/classfile/resolutionErrors.cpp
index 1ebd22e16..1de360541 100644
--- a/src/share/vm/classfile/resolutionErrors.cpp
+++ b/src/share/vm/classfile/resolutionErrors.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_resolutionErrors.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/resolutionErrors.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/safepoint.hpp"
+#include "utilities/hashtable.inline.hpp"
// add new entry to the table
void ResolutionErrorTable::add_entry(int index, unsigned int hash,
diff --git a/src/share/vm/classfile/resolutionErrors.hpp b/src/share/vm/classfile/resolutionErrors.hpp
index 846762285..03786afd5 100644
--- a/src/share/vm/classfile/resolutionErrors.hpp
+++ b/src/share/vm/classfile/resolutionErrors.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_RESOLUTIONERRORS_HPP
+#define SHARE_VM_CLASSFILE_RESOLUTIONERRORS_HPP
+
+#include "oops/constantPoolOop.hpp"
+#include "utilities/hashtable.hpp"
+
class ResolutionErrorEntry;
// ResolutionError objects are used to record errors encountered during
@@ -97,3 +103,5 @@ class ResolutionErrorEntry : public HashtableEntry {
// GC support
void oops_do(OopClosure* blk);
};
+
+#endif // SHARE_VM_CLASSFILE_RESOLUTIONERRORS_HPP
diff --git a/src/share/vm/classfile/stackMapFrame.cpp b/src/share/vm/classfile/stackMapFrame.cpp
index d473755a5..702d4f257 100644
--- a/src/share/vm/classfile/stackMapFrame.cpp
+++ b/src/share/vm/classfile/stackMapFrame.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_stackMapFrame.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/stackMapFrame.hpp"
+#include "classfile/verifier.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/handles.inline.hpp"
+#include "utilities/globalDefinitions.hpp"
StackMapFrame::StackMapFrame(u2 max_locals, u2 max_stack, ClassVerifier* v) :
_offset(0), _locals_size(0), _stack_size(0), _flags(0),
diff --git a/src/share/vm/classfile/stackMapFrame.hpp b/src/share/vm/classfile/stackMapFrame.hpp
index deb5b0164..5a21fbea5 100644
--- a/src/share/vm/classfile/stackMapFrame.hpp
+++ b/src/share/vm/classfile/stackMapFrame.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_STACKMAPFRAME_HPP
+#define SHARE_VM_CLASSFILE_STACKMAPFRAME_HPP
+
+#include "classfile/verificationType.hpp"
+#include "classfile/verifier.hpp"
+#include "oops/methodOop.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/signature.hpp"
+#include "utilities/exceptions.hpp"
+
// A StackMapFrame represents one frame in the stack map attribute.
enum {
@@ -224,3 +234,5 @@ class StackMapFrame : public ResourceObj {
// Debugging
void print() const PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_CLASSFILE_STACKMAPFRAME_HPP
diff --git a/src/share/vm/classfile/stackMapTable.cpp b/src/share/vm/classfile/stackMapTable.cpp
index e34fc5948..ae0b10f8d 100644
--- a/src/share/vm/classfile/stackMapTable.cpp
+++ b/src/share/vm/classfile/stackMapTable.cpp
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_stackMapTable.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/stackMapTable.hpp"
+#include "classfile/verifier.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/fieldType.hpp"
+#include "runtime/handles.inline.hpp"
StackMapTable::StackMapTable(StackMapReader* reader, StackMapFrame* init_frame,
u2 max_locals, u2 max_stack,
diff --git a/src/share/vm/classfile/stackMapTable.hpp b/src/share/vm/classfile/stackMapTable.hpp
index 598982331..96115b40e 100644
--- a/src/share/vm/classfile/stackMapTable.hpp
+++ b/src/share/vm/classfile/stackMapTable.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,24 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_STACKMAPTABLE_HPP
+#define SHARE_VM_CLASSFILE_STACKMAPTABLE_HPP
+
+#include "classfile/stackMapFrame.hpp"
+#include "memory/allocation.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/methodOop.hpp"
+#include "utilities/globalDefinitions.hpp"
+#ifdef TARGET_ARCH_x86
+# include "bytes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytes_zero.hpp"
+#endif
+
class StackMapReader;
// StackMapTable class is the StackMap table used by type checker
@@ -159,3 +177,5 @@ class StackMapReader : StackObj {
}
}
};
+
+#endif // SHARE_VM_CLASSFILE_STACKMAPTABLE_HPP
diff --git a/src/share/vm/classfile/stackMapTableFormat.hpp b/src/share/vm/classfile/stackMapTableFormat.hpp
index d20520abe..b8a4b4268 100644
--- a/src/share/vm/classfile/stackMapTableFormat.hpp
+++ b/src/share/vm/classfile/stackMapTableFormat.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_STACKMAPTABLEFORMAT_HPP
+#define SHARE_VM_CLASSFILE_STACKMAPTABLEFORMAT_HPP
+
+#include "classfile/verificationType.hpp"
+
// These classes represent the stack-map substructures described in the JVMS
// (hence the non-conforming naming scheme).
@@ -914,3 +919,5 @@ class stack_map_table_attribute {
Bytes::put_Java_u2(number_of_entries_addr(), num);
}
};
+
+#endif // SHARE_VM_CLASSFILE_STACKMAPTABLEFORMAT_HPP
diff --git a/src/share/vm/classfile/symbolTable.cpp b/src/share/vm/classfile/symbolTable.cpp
index 68bc4beca..fd54f4d26 100644
--- a/src/share/vm/classfile/symbolTable.cpp
+++ b/src/share/vm/classfile/symbolTable.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,18 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_symbolTable.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/filemap.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "oops/symbolKlass.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "utilities/hashtable.inline.hpp"
// --------------------------------------------------------------------------
diff --git a/src/share/vm/classfile/symbolTable.hpp b/src/share/vm/classfile/symbolTable.hpp
index 40e67c125..8444b4f9d 100644
--- a/src/share/vm/classfile/symbolTable.hpp
+++ b/src/share/vm/classfile/symbolTable.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_SYMBOLTABLE_HPP
+#define SHARE_VM_CLASSFILE_SYMBOLTABLE_HPP
+
+#include "memory/allocation.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "utilities/hashtable.hpp"
+
// The symbol table holds all symbolOops and corresponding interned strings.
// symbolOops and literal strings should be canonicalized.
//
@@ -222,3 +229,5 @@ public:
((BasicHashtable*)the_table())->reverse();
}
};
+
+#endif // SHARE_VM_CLASSFILE_SYMBOLTABLE_HPP
diff --git a/src/share/vm/classfile/systemDictionary.cpp b/src/share/vm/classfile/systemDictionary.cpp
index 45ecef8b1..b6f8481a9 100644
--- a/src/share/vm/classfile/systemDictionary.cpp
+++ b/src/share/vm/classfile/systemDictionary.cpp
@@ -22,8 +22,37 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_systemDictionary.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/dictionary.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/loaderConstraints.hpp"
+#include "classfile/placeholders.hpp"
+#include "classfile/resolutionErrors.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "interpreter/bytecodeStream.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/oopFactory.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/instanceRefKlass.hpp"
+#include "oops/klass.inline.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "oops/typeArrayKlass.hpp"
+#include "prims/jvmtiEnvBase.hpp"
+#include "prims/methodHandles.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/fieldType.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/signature.hpp"
+#include "services/classLoadingService.hpp"
+#include "services/threadService.hpp"
Dictionary* SystemDictionary::_dictionary = NULL;
diff --git a/src/share/vm/classfile/systemDictionary.hpp b/src/share/vm/classfile/systemDictionary.hpp
index 9809f77bd..d18e34192 100644
--- a/src/share/vm/classfile/systemDictionary.hpp
+++ b/src/share/vm/classfile/systemDictionary.hpp
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_SYSTEMDICTIONARY_HPP
+#define SHARE_VM_CLASSFILE_SYSTEMDICTIONARY_HPP
+
+#include "classfile/classFileStream.hpp"
+#include "classfile/classLoader.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/java.hpp"
+#include "runtime/reflectionUtils.hpp"
+#include "utilities/hashtable.hpp"
+
// The system dictionary stores all loaded classes and maps:
//
// [class name,class loader] -> class i.e. [symbolOop,oop] -> klassOop
@@ -672,3 +683,5 @@ public:
static KlassHandle box_klass(BasicType t);
};
+
+#endif // SHARE_VM_CLASSFILE_SYSTEMDICTIONARY_HPP
diff --git a/src/share/vm/classfile/verificationType.cpp b/src/share/vm/classfile/verificationType.cpp
index 4a60b7894..7a2612a12 100644
--- a/src/share/vm/classfile/verificationType.cpp
+++ b/src/share/vm/classfile/verificationType.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_verificationType.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/verificationType.hpp"
VerificationType VerificationType::from_tag(u1 tag) {
switch (tag) {
diff --git a/src/share/vm/classfile/verificationType.hpp b/src/share/vm/classfile/verificationType.hpp
index db3a80970..8163d966e 100644
--- a/src/share/vm/classfile/verificationType.hpp
+++ b/src/share/vm/classfile/verificationType.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_VERIFICATIONTYPE_HPP
+#define SHARE_VM_CLASSFILE_VERIFICATIONTYPE_HPP
+
+#include "classfile/systemDictionary.hpp"
+#include "memory/allocation.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/signature.hpp"
+
enum {
// As specifed in the JVM spec
ITEM_Top = 0,
@@ -303,3 +314,5 @@ class VerificationType VALUE_OBJ_CLASS_SPEC {
bool is_reference_assignable_from(
const VerificationType&, instanceKlassHandle, TRAPS) const;
};
+
+#endif // SHARE_VM_CLASSFILE_VERIFICATIONTYPE_HPP
diff --git a/src/share/vm/classfile/verifier.cpp b/src/share/vm/classfile/verifier.cpp
index b4f3cbb0c..5e7f57669 100644
--- a/src/share/vm/classfile/verifier.cpp
+++ b/src/share/vm/classfile/verifier.cpp
@@ -22,8 +22,36 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_verifier.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classFileStream.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/stackMapTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/verifier.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "interpreter/bytecodeStream.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/typeArrayOop.hpp"
+#include "prims/jvm.h"
+#include "runtime/fieldDescriptor.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/hpi.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/orderAccess.hpp"
+#include "runtime/os.hpp"
+#ifdef TARGET_ARCH_x86
+# include "bytes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytes_zero.hpp"
+#endif
#define NOFAILOVER_MAJOR_VERSION 51
diff --git a/src/share/vm/classfile/verifier.hpp b/src/share/vm/classfile/verifier.hpp
index 7ffe669ce..c3ef46706 100644
--- a/src/share/vm/classfile/verifier.hpp
+++ b/src/share/vm/classfile/verifier.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_VERIFIER_HPP
+#define SHARE_VM_CLASSFILE_VERIFIER_HPP
+
+#include "classfile/verificationType.hpp"
+#include "memory/gcLocker.hpp"
+#include "oops/klass.hpp"
+#include "oops/methodOop.hpp"
+#include "runtime/handles.hpp"
+#include "utilities/exceptions.hpp"
+
// The verifier class
class Verifier : AllStatic {
public:
@@ -254,3 +264,5 @@ inline int ClassVerifier::change_sig_to_verificationType(
return 1;
}
}
+
+#endif // SHARE_VM_CLASSFILE_VERIFIER_HPP
diff --git a/src/share/vm/classfile/vmSymbols.cpp b/src/share/vm/classfile/vmSymbols.cpp
index bba078fe3..c0138c408 100644
--- a/src/share/vm/classfile/vmSymbols.cpp
+++ b/src/share/vm/classfile/vmSymbols.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vmSymbols.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "memory/oopFactory.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "utilities/xmlstream.hpp"
symbolOop vmSymbols::_symbols[vmSymbols::SID_LIMIT];
diff --git a/src/share/vm/classfile/vmSymbols.hpp b/src/share/vm/classfile/vmSymbols.hpp
index cc88ad71f..5bf7a6cd8 100644
--- a/src/share/vm/classfile/vmSymbols.hpp
+++ b/src/share/vm/classfile/vmSymbols.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CLASSFILE_VMSYMBOLS_HPP
+#define SHARE_VM_CLASSFILE_VMSYMBOLS_HPP
+
+#include "oops/symbolOop.hpp"
+
// The classes vmSymbols and vmSymbolHandles are a name spaces for fast lookup of
// symbols commonly used in the VM. The first class return a symbolOop, while the
// second class returns a SymbolHandle. The underlying data structure is shared
@@ -1112,3 +1117,5 @@ public:
// Raw conversion:
static ID for_raw_conversion(BasicType src, BasicType dest);
};
+
+#endif // SHARE_VM_CLASSFILE_VMSYMBOLS_HPP
diff --git a/src/share/vm/code/codeBlob.cpp b/src/share/vm/code/codeBlob.cpp
index 823eedd49..81d09f5cc 100644
--- a/src/share/vm/code/codeBlob.cpp
+++ b/src/share/vm/code/codeBlob.cpp
@@ -22,8 +22,35 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_codeBlob.cpp.incl"
+#include "precompiled.hpp"
+#include "code/codeBlob.hpp"
+#include "code/codeCache.hpp"
+#include "code/relocInfo.hpp"
+#include "compiler/disassembler.hpp"
+#include "interpreter/bytecode.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/heap.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/forte.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/vframe.hpp"
+#include "services/memoryService.hpp"
+#ifdef TARGET_ARCH_x86
+# include "nativeInst_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "nativeInst_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "nativeInst_zero.hpp"
+#endif
+#ifdef COMPILER1
+#include "c1/c1_Runtime1.hpp"
+#endif
unsigned int align_code_offset(int offset) {
// align the size to CodeEntryAlignment
diff --git a/src/share/vm/code/codeBlob.hpp b/src/share/vm/code/codeBlob.hpp
index 9b08c3dc8..61e64882d 100644
--- a/src/share/vm/code/codeBlob.hpp
+++ b/src/share/vm/code/codeBlob.hpp
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_CODE_CODEBLOB_HPP
+#define SHARE_VM_CODE_CODEBLOB_HPP
+
+#include "asm/codeBuffer.hpp"
+#include "compiler/oopMap.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/handles.hpp"
+
// CodeBlob - superclass for all entries in the CodeCache.
//
// Suptypes are:
@@ -499,3 +507,5 @@ class SafepointBlob: public SingletonBlob {
// Typing
bool is_safepoint_stub() const { return true; }
};
+
+#endif // SHARE_VM_CODE_CODEBLOB_HPP
diff --git a/src/share/vm/code/codeCache.cpp b/src/share/vm/code/codeCache.cpp
index 5040ba1b4..f7e09b258 100644
--- a/src/share/vm/code/codeCache.cpp
+++ b/src/share/vm/code/codeCache.cpp
@@ -22,8 +22,26 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_codeCache.cpp.incl"
+#include "precompiled.hpp"
+#include "code/codeBlob.hpp"
+#include "code/codeCache.hpp"
+#include "code/dependencies.hpp"
+#include "code/nmethod.hpp"
+#include "code/pcDesc.hpp"
+#include "gc_implementation/shared/markSweep.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/iterator.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/icache.hpp"
+#include "runtime/java.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "services/memoryService.hpp"
+#include "utilities/xmlstream.hpp"
// Helper class for printing in CodeCache
diff --git a/src/share/vm/code/codeCache.hpp b/src/share/vm/code/codeCache.hpp
index 421cec026..acb288efe 100644
--- a/src/share/vm/code/codeCache.hpp
+++ b/src/share/vm/code/codeCache.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_CODE_CODECACHE_HPP
+#define SHARE_VM_CODE_CODECACHE_HPP
+
+#include "code/codeBlob.hpp"
+#include "memory/allocation.hpp"
+#include "memory/heap.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/oopsHierarchy.hpp"
+
// The CodeCache implements the code cache for various pieces of generated
// code, e.g., compiled java methods, runtime stubs, transition frames, etc.
// The entries in the CodeCache are all CodeBlob's.
@@ -173,3 +182,5 @@ class CodeCache : AllStatic {
// tells how many nmethods have dependencies
static int number_of_nmethods_with_dependencies();
};
+
+#endif // SHARE_VM_CODE_CODECACHE_HPP
diff --git a/src/share/vm/code/compiledIC.cpp b/src/share/vm/code/compiledIC.cpp
index d2c8e2752..b8e0f2821 100644
--- a/src/share/vm/code/compiledIC.cpp
+++ b/src/share/vm/code/compiledIC.cpp
@@ -22,8 +22,23 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_compiledIC.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "code/compiledIC.hpp"
+#include "code/icBuffer.hpp"
+#include "code/nmethod.hpp"
+#include "code/vtableStubs.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/oopFactory.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/icache.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "utilities/events.hpp"
// Every time a compiled IC is changed or its type is being accessed,
diff --git a/src/share/vm/code/compiledIC.hpp b/src/share/vm/code/compiledIC.hpp
index b97b3ea56..a5524ca16 100644
--- a/src/share/vm/code/compiledIC.hpp
+++ b/src/share/vm/code/compiledIC.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,23 @@
*
*/
+#ifndef SHARE_VM_CODE_COMPILEDIC_HPP
+#define SHARE_VM_CODE_COMPILEDIC_HPP
+
+#include "interpreter/linkResolver.hpp"
+#include "oops/compiledICHolderKlass.hpp"
+#include "oops/compiledICHolderOop.hpp"
+#include "oops/klassOop.hpp"
+#ifdef TARGET_ARCH_x86
+# include "nativeInst_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "nativeInst_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "nativeInst_zero.hpp"
+#endif
+
//-----------------------------------------------------------------------------
// The CompiledIC represents a compiled inline cache.
//
@@ -239,3 +256,5 @@ inline CompiledStaticCall* compiledStaticCall_at(address native_call) {
inline CompiledStaticCall* compiledStaticCall_at(Relocation* call_site) {
return compiledStaticCall_at(call_site->addr());
}
+
+#endif // SHARE_VM_CODE_COMPILEDIC_HPP
diff --git a/src/share/vm/code/compressedStream.cpp b/src/share/vm/code/compressedStream.cpp
index d2f51e5f3..e534776d7 100644
--- a/src/share/vm/code/compressedStream.cpp
+++ b/src/share/vm/code/compressedStream.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_compressedStream.cpp.incl"
+#include "precompiled.hpp"
+#include "code/compressedStream.hpp"
+#include "utilities/ostream.hpp"
// 32-bit one-to-one sign encoding taken from Pack200
// converts leading sign bits into leading zeroes with trailing sign bit
diff --git a/src/share/vm/code/compressedStream.hpp b/src/share/vm/code/compressedStream.hpp
index db9f88692..fd5aafc91 100644
--- a/src/share/vm/code/compressedStream.hpp
+++ b/src/share/vm/code/compressedStream.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CODE_COMPRESSEDSTREAM_HPP
+#define SHARE_VM_CODE_COMPRESSEDSTREAM_HPP
+
+#include "memory/allocation.hpp"
+
// Simple interface for filing out and filing in basic types
// Used for writing out and reading in debugging information.
@@ -118,3 +123,5 @@ class CompressedWriteStream : public CompressedStream {
void write_double(jdouble value); // write_int(reverse_int(<low,high>))
void write_long(jlong value); // write_signed_int(<low,high>)
};
+
+#endif // SHARE_VM_CODE_COMPRESSEDSTREAM_HPP
diff --git a/src/share/vm/code/debugInfo.cpp b/src/share/vm/code/debugInfo.cpp
index a3cd7db4e..04504722e 100644
--- a/src/share/vm/code/debugInfo.cpp
+++ b/src/share/vm/code/debugInfo.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_debugInfo.cpp.incl"
+#include "precompiled.hpp"
+#include "code/debugInfo.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/nmethod.hpp"
+#include "runtime/handles.inline.hpp"
// Comstructors
diff --git a/src/share/vm/code/debugInfo.hpp b/src/share/vm/code/debugInfo.hpp
index 3506b7caa..eed747717 100644
--- a/src/share/vm/code/debugInfo.hpp
+++ b/src/share/vm/code/debugInfo.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_CODE_DEBUGINFO_HPP
+#define SHARE_VM_CODE_DEBUGINFO_HPP
+
+#include "code/compressedStream.hpp"
+#include "code/location.hpp"
+#include "code/nmethod.hpp"
+#include "code/oopRecorder.hpp"
+#include "runtime/stackValue.hpp"
+#include "utilities/growableArray.hpp"
+
// Classes used for serializing debugging information.
// These abstractions are introducted to provide symmetric
// read and write operations.
@@ -270,3 +280,5 @@ class DebugInfoWriteStream : public CompressedWriteStream {
void write_handle(jobject h);
void write_bci(int bci) { write_int(bci - InvocationEntryBci); }
};
+
+#endif // SHARE_VM_CODE_DEBUGINFO_HPP
diff --git a/src/share/vm/code/debugInfoRec.cpp b/src/share/vm/code/debugInfoRec.cpp
index 042503fa3..bc8bd55c8 100644
--- a/src/share/vm/code/debugInfoRec.cpp
+++ b/src/share/vm/code/debugInfoRec.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_debugInfoRec.cpp.incl"
+#include "precompiled.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/scopeDesc.hpp"
+#include "prims/jvmtiExport.hpp"
// Private definition.
// There is one DIR_Chunk for each scope and values array.
diff --git a/src/share/vm/code/debugInfoRec.hpp b/src/share/vm/code/debugInfoRec.hpp
index 83db4d0f9..758e7dad1 100644
--- a/src/share/vm/code/debugInfoRec.hpp
+++ b/src/share/vm/code/debugInfoRec.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,19 @@
*
*/
+#ifndef SHARE_VM_CODE_DEBUGINFOREC_HPP
+#define SHARE_VM_CODE_DEBUGINFOREC_HPP
+
+#include "ci/ciClassList.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciMethod.hpp"
+#include "code/debugInfo.hpp"
+#include "code/location.hpp"
+#include "code/pcDesc.hpp"
+#include "compiler/oopMap.hpp"
+#include "oops/oop.hpp"
+#include "utilities/growableArray.hpp"
+
//** The DebugInformationRecorder collects debugging information
// for a compiled method.
// Debugging information is used for:
@@ -183,3 +196,5 @@ class DebugInformationRecorder: public ResourceObj {
public:
enum { serialized_null = 0 };
};
+
+#endif // SHARE_VM_CODE_DEBUGINFOREC_HPP
diff --git a/src/share/vm/code/dependencies.cpp b/src/share/vm/code/dependencies.cpp
index 811448801..6b564b286 100644
--- a/src/share/vm/code/dependencies.cpp
+++ b/src/share/vm/code/dependencies.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,16 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_dependencies.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciArrayKlass.hpp"
+#include "ci/ciEnv.hpp"
+#include "ci/ciKlass.hpp"
+#include "ci/ciMethod.hpp"
+#include "code/dependencies.hpp"
+#include "compiler/compileLog.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "utilities/copy.hpp"
#ifdef ASSERT
diff --git a/src/share/vm/code/dependencies.hpp b/src/share/vm/code/dependencies.hpp
index bd8547d79..770e7f743 100644
--- a/src/share/vm/code/dependencies.hpp
+++ b/src/share/vm/code/dependencies.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_CODE_DEPENDENCIES_HPP
+#define SHARE_VM_CODE_DEPENDENCIES_HPP
+
+#include "ci/ciKlass.hpp"
+#include "code/compressedStream.hpp"
+#include "code/nmethod.hpp"
+#include "utilities/growableArray.hpp"
+
//** Dependencies represent assertions (approximate invariants) within
// the class hierarchy. An example is an assertion that a given
// method is not overridden; another example is that a type has only
@@ -550,3 +558,5 @@ class DepChange : public StackObj {
void print();
};
+
+#endif // SHARE_VM_CODE_DEPENDENCIES_HPP
diff --git a/src/share/vm/code/exceptionHandlerTable.cpp b/src/share/vm/code/exceptionHandlerTable.cpp
index 12cc9cdf7..9e2590082 100644
--- a/src/share/vm/code/exceptionHandlerTable.cpp
+++ b/src/share/vm/code/exceptionHandlerTable.cpp
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_exceptionHandlerTable.cpp.incl"
+#include "precompiled.hpp"
+#include "code/exceptionHandlerTable.hpp"
+#include "code/nmethod.hpp"
+#include "memory/allocation.inline.hpp"
void ExceptionHandlerTable::add_entry(HandlerTableEntry entry) {
_nesting.check();
diff --git a/src/share/vm/code/exceptionHandlerTable.hpp b/src/share/vm/code/exceptionHandlerTable.hpp
index 3c5332fbe..20801c3f0 100644
--- a/src/share/vm/code/exceptionHandlerTable.hpp
+++ b/src/share/vm/code/exceptionHandlerTable.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CODE_EXCEPTIONHANDLERTABLE_HPP
+#define SHARE_VM_CODE_EXCEPTIONHANDLERTABLE_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/methodOop.hpp"
+
// A HandlerTableEntry describes an individual entry of a subtable
// of ExceptionHandlerTable. An entry consists of a pair(bci, pco),
// where bci is the exception handler bci, and pco is the pc offset
@@ -154,3 +160,5 @@ public:
void print(address base) const;
void verify(nmethod *nm) const;
};
+
+#endif // SHARE_VM_CODE_EXCEPTIONHANDLERTABLE_HPP
diff --git a/src/share/vm/code/icBuffer.cpp b/src/share/vm/code/icBuffer.cpp
index d4b13d4e3..d36f9109e 100644
--- a/src/share/vm/code/icBuffer.cpp
+++ b/src/share/vm/code/icBuffer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,30 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_icBuffer.cpp.incl"
+#include "precompiled.hpp"
+#include "code/compiledIC.hpp"
+#include "code/icBuffer.hpp"
+#include "code/nmethod.hpp"
+#include "code/scopeDesc.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/stubRoutines.hpp"
+#ifdef TARGET_ARCH_x86
+# include "assembler_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "assembler_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "assembler_zero.inline.hpp"
+#endif
DEF_STUB_INTERFACE(ICStub);
diff --git a/src/share/vm/code/icBuffer.hpp b/src/share/vm/code/icBuffer.hpp
index 02a4a0ebb..9ab7d9c62 100644
--- a/src/share/vm/code/icBuffer.hpp
+++ b/src/share/vm/code/icBuffer.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_CODE_ICBUFFER_HPP
+#define SHARE_VM_CODE_ICBUFFER_HPP
+
+#include "code/stubs.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "memory/allocation.hpp"
+
//
// For CompiledIC's:
//
@@ -126,3 +133,5 @@ class InlineCacheBuffer: public AllStatic {
static address ic_destination_for(CompiledIC *ic);
static oop cached_oop_for(CompiledIC *ic);
};
+
+#endif // SHARE_VM_CODE_ICBUFFER_HPP
diff --git a/src/share/vm/code/location.cpp b/src/share/vm/code/location.cpp
index 9374e08c7..605af19c7 100644
--- a/src/share/vm/code/location.cpp
+++ b/src/share/vm/code/location.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_location.cpp.incl"
+#include "precompiled.hpp"
+#include "code/debugInfo.hpp"
+#include "code/location.hpp"
void Location::print_on(outputStream* st) const {
if(type() == invalid) {
diff --git a/src/share/vm/code/location.hpp b/src/share/vm/code/location.hpp
index 18134adb6..86155b9e4 100644
--- a/src/share/vm/code/location.hpp
+++ b/src/share/vm/code/location.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_CODE_LOCATION_HPP
+#define SHARE_VM_CODE_LOCATION_HPP
+
+#include "asm/assembler.hpp"
+#include "code/vmreg.hpp"
+#include "memory/allocation.hpp"
+
// A Location describes a concrete machine variable location
// (such as integer or floating point register or a stack-held
// variable). Used when generating debug-information for nmethods.
@@ -113,3 +120,5 @@ class Location VALUE_OBJ_CLASS_SPEC {
// check
static bool legal_offset_in_bytes(int offset_in_bytes);
};
+
+#endif // SHARE_VM_CODE_LOCATION_HPP
diff --git a/src/share/vm/code/nmethod.cpp b/src/share/vm/code/nmethod.cpp
index f7a2b7ff0..089586bac 100644
--- a/src/share/vm/code/nmethod.cpp
+++ b/src/share/vm/code/nmethod.cpp
@@ -22,8 +22,26 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_nmethod.cpp.incl"
+#include "precompiled.hpp"
+#include "code/codeCache.hpp"
+#include "code/compiledIC.hpp"
+#include "code/nmethod.hpp"
+#include "code/scopeDesc.hpp"
+#include "compiler/abstractCompiler.hpp"
+#include "compiler/compileLog.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "compiler/disassembler.hpp"
+#include "interpreter/bytecode.hpp"
+#include "oops/methodDataOop.hpp"
+#include "prims/jvmtiRedefineClassesTrace.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/sweeper.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/events.hpp"
+#include "utilities/xmlstream.hpp"
+#ifdef SHARK
+#include "shark/sharkCompiler.hpp"
+#endif
#ifdef DTRACE_ENABLED
diff --git a/src/share/vm/code/nmethod.hpp b/src/share/vm/code/nmethod.hpp
index 52a09c910..bd6b4a562 100644
--- a/src/share/vm/code/nmethod.hpp
+++ b/src/share/vm/code/nmethod.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CODE_NMETHOD_HPP
+#define SHARE_VM_CODE_NMETHOD_HPP
+
+#include "code/codeBlob.hpp"
+#include "code/pcDesc.hpp"
+
// This class is used internally by nmethods, to cache
// exception/pc/handler information.
@@ -704,3 +710,5 @@ class nmethodLocker : public StackObj {
lock_nmethod(_nm);
}
};
+
+#endif // SHARE_VM_CODE_NMETHOD_HPP
diff --git a/src/share/vm/code/oopRecorder.cpp b/src/share/vm/code/oopRecorder.cpp
index 7688079b1..1381c0da0 100644
--- a/src/share/vm/code/oopRecorder.cpp
+++ b/src/share/vm/code/oopRecorder.cpp
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_oopRecorder.cpp.incl"
+#include "precompiled.hpp"
+#include "code/oopRecorder.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/oop.inline.hpp"
#ifdef ASSERT
int OopRecorder::_find_index_calls = 0;
diff --git a/src/share/vm/code/oopRecorder.hpp b/src/share/vm/code/oopRecorder.hpp
index fda4d2905..0322241fa 100644
--- a/src/share/vm/code/oopRecorder.hpp
+++ b/src/share/vm/code/oopRecorder.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CODE_OOPRECORDER_HPP
+#define SHARE_VM_CODE_OOPRECORDER_HPP
+
+#include "runtime/handles.hpp"
+#include "utilities/growableArray.hpp"
+
// Recording and retrieval of oop relocations in compiled code.
class CodeBlob;
@@ -134,3 +140,5 @@ class OopRecorder : public ResourceObj {
static int _find_index_calls, _hit_indexes, _missed_indexes;
#endif
};
+
+#endif // SHARE_VM_CODE_OOPRECORDER_HPP
diff --git a/src/share/vm/code/pcDesc.cpp b/src/share/vm/code/pcDesc.cpp
index b8a9eb475..7e217998d 100644
--- a/src/share/vm/code/pcDesc.cpp
+++ b/src/share/vm/code/pcDesc.cpp
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_pcDesc.cpp.incl"
+#include "precompiled.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/nmethod.hpp"
+#include "code/pcDesc.hpp"
+#include "code/scopeDesc.hpp"
+#include "memory/resourceArea.hpp"
PcDesc::PcDesc(int pc_offset, int scope_decode_offset, int obj_decode_offset) {
assert(sizeof(PcDescFlags) <= 4, "occupies more than a word");
diff --git a/src/share/vm/code/pcDesc.hpp b/src/share/vm/code/pcDesc.hpp
index 43184d481..99a6e4c8e 100644
--- a/src/share/vm/code/pcDesc.hpp
+++ b/src/share/vm/code/pcDesc.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CODE_PCDESC_HPP
+#define SHARE_VM_CODE_PCDESC_HPP
+
+#include "memory/allocation.hpp"
+
// PcDescs map a physical PC (given as offset from start of nmethod) to
// the corresponding source scope and byte code index.
@@ -86,3 +91,5 @@ class PcDesc VALUE_OBJ_CLASS_SPEC {
void print(nmethod* code);
bool verify(nmethod* code);
};
+
+#endif // SHARE_VM_CODE_PCDESC_HPP
diff --git a/src/share/vm/code/relocInfo.cpp b/src/share/vm/code/relocInfo.cpp
index a21f34642..a397546d4 100644
--- a/src/share/vm/code/relocInfo.cpp
+++ b/src/share/vm/code/relocInfo.cpp
@@ -22,8 +22,25 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_relocInfo.cpp.incl"
+#include "precompiled.hpp"
+#include "code/compiledIC.hpp"
+#include "code/nmethod.hpp"
+#include "code/relocInfo.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/stubCodeGenerator.hpp"
+#include "utilities/copy.hpp"
+#ifdef TARGET_ARCH_x86
+# include "assembler_x86.inline.hpp"
+# include "nativeInst_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "assembler_sparc.inline.hpp"
+# include "nativeInst_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "assembler_zero.inline.hpp"
+# include "nativeInst_zero.hpp"
+#endif
const RelocationHolder RelocationHolder::none; // its type is relocInfo::none
diff --git a/src/share/vm/code/relocInfo.hpp b/src/share/vm/code/relocInfo.hpp
index 116a097f3..c3c4468a7 100644
--- a/src/share/vm/code/relocInfo.hpp
+++ b/src/share/vm/code/relocInfo.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_CODE_RELOCINFO_HPP
+#define SHARE_VM_CODE_RELOCINFO_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/top.hpp"
+
// Types in this file:
// relocInfo
// One element of an array of halfwords encoding compressed relocations.
@@ -415,7 +421,16 @@ class relocInfo VALUE_OBJ_CLASS_SPEC {
static void remove_reloc_info_for_address(RelocIterator *itr, address pc, relocType old_type);
// Machine dependent stuff
- #include "incls/_relocInfo_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "relocInfo_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "relocInfo_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "relocInfo_zero.hpp"
+#endif
+
protected:
// Derived constant, based on format_width which is PD:
@@ -1325,3 +1340,5 @@ class PatchingRelocIterator : public RelocIterator {
~PatchingRelocIterator() { postpass(); }
};
+
+#endif // SHARE_VM_CODE_RELOCINFO_HPP
diff --git a/src/share/vm/code/scopeDesc.cpp b/src/share/vm/code/scopeDesc.cpp
index 9eb1e888e..b8c2e2d1f 100644
--- a/src/share/vm/code/scopeDesc.cpp
+++ b/src/share/vm/code/scopeDesc.cpp
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_scopeDesc.cpp.incl"
+#include "precompiled.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/pcDesc.hpp"
+#include "code/scopeDesc.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
ScopeDesc::ScopeDesc(const nmethod* code, int decode_offset, int obj_decode_offset, bool reexecute, bool return_oop) {
diff --git a/src/share/vm/code/scopeDesc.hpp b/src/share/vm/code/scopeDesc.hpp
index 5bff5757d..2129702ee 100644
--- a/src/share/vm/code/scopeDesc.hpp
+++ b/src/share/vm/code/scopeDesc.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_CODE_SCOPEDESC_HPP
+#define SHARE_VM_CODE_SCOPEDESC_HPP
+
+#include "code/debugInfo.hpp"
+#include "code/pcDesc.hpp"
+#include "oops/methodOop.hpp"
+#include "utilities/growableArray.hpp"
+
// SimpleScopeDesc is used when all you need to extract from
// a given pc,nmethod pair is a methodOop and a bci. This is
// quite a bit faster than allocating a full ScopeDesc, but
@@ -125,3 +133,5 @@ class ScopeDesc : public ResourceObj {
void print_value_on(outputStream* st) const;
#endif
};
+
+#endif // SHARE_VM_CODE_SCOPEDESC_HPP
diff --git a/src/share/vm/code/stubs.cpp b/src/share/vm/code/stubs.cpp
index 7272f4673..124c0a640 100644
--- a/src/share/vm/code/stubs.cpp
+++ b/src/share/vm/code/stubs.cpp
@@ -22,8 +22,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_stubs.cpp.incl"
+#include "precompiled.hpp"
+#include "code/codeBlob.hpp"
+#include "code/stubs.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/mutexLocker.hpp"
// Implementation of StubQueue
diff --git a/src/share/vm/code/stubs.hpp b/src/share/vm/code/stubs.hpp
index d231ba1e7..ed5380f6e 100644
--- a/src/share/vm/code/stubs.hpp
+++ b/src/share/vm/code/stubs.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_CODE_STUBS_HPP
+#define SHARE_VM_CODE_STUBS_HPP
+
+#include "memory/allocation.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
+
// The classes in this file provide a simple framework for the
// management of little pieces of machine code - or stubs -
// created on the fly and frequently discarded. In this frame-
@@ -206,3 +220,5 @@ class StubQueue: public CHeapObj {
void verify(); // verifies the stub queue
void print(); // prints information about the stub queue
};
+
+#endif // SHARE_VM_CODE_STUBS_HPP
diff --git a/src/share/vm/code/vmreg.cpp b/src/share/vm/code/vmreg.cpp
index dd927bb9f..dd5945503 100644
--- a/src/share/vm/code/vmreg.cpp
+++ b/src/share/vm/code/vmreg.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_vmreg.cpp.incl"
+#include "precompiled.hpp"
+#include "asm/assembler.hpp"
+#include "code/vmreg.hpp"
// First VMReg value that could refer to a stack slot
VMReg VMRegImpl::stack0 = (VMReg)(intptr_t)((ConcreteRegisterImpl::number_of_registers + 1) & ~1);
diff --git a/src/share/vm/code/vmreg.hpp b/src/share/vm/code/vmreg.hpp
index 6bd1fbd4a..1be8ea2f8 100644
--- a/src/share/vm/code/vmreg.hpp
+++ b/src/share/vm/code/vmreg.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,37 @@
*
*/
+#ifndef SHARE_VM_CODE_VMREG_HPP
+#define SHARE_VM_CODE_VMREG_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/globalDefinitions.hpp"
+#ifdef TARGET_ARCH_x86
+# include "register_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "register_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "register_zero.hpp"
+#endif
+#ifdef COMPILER2
+#include "opto/adlcVMDeps.hpp"
+#include "utilities/ostream.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/adGlobals_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/adGlobals_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/adGlobals_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/adGlobals_zero.hpp"
+#endif
+#endif
+
//------------------------------VMReg------------------------------------------
// The VM uses 'unwarped' stack slots; the compiler uses 'warped' stack slots.
// Register numbers below VMRegImpl::stack0 are the same for both. Register
@@ -124,7 +155,16 @@ public:
static void set_regName();
-#include "incls/_vmreg_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "vmreg_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "vmreg_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "vmreg_zero.hpp"
+#endif
+
};
@@ -181,3 +221,5 @@ public:
VMRegPair(VMReg f) { _second = VMRegImpl::Bad(); _first = f; }
VMRegPair() { _second = VMRegImpl::Bad(); _first = VMRegImpl::Bad(); }
};
+
+#endif // SHARE_VM_CODE_VMREG_HPP
diff --git a/src/share/vm/code/vtableStubs.cpp b/src/share/vm/code/vtableStubs.cpp
index e85a8732f..ec2881314 100644
--- a/src/share/vm/code/vtableStubs.cpp
+++ b/src/share/vm/code/vtableStubs.cpp
@@ -22,8 +22,22 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_vtableStubs.cpp.incl"
+#include "precompiled.hpp"
+#include "code/vtableStubs.hpp"
+#include "compiler/disassembler.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/klassVtable.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/forte.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/sharedRuntime.hpp"
+#ifdef COMPILER2
+#include "opto/matcher.hpp"
+#endif
// -----------------------------------------------------------------------------------------
// Implementation of VtableStub
diff --git a/src/share/vm/code/vtableStubs.hpp b/src/share/vm/code/vtableStubs.hpp
index e74582f98..6b2b79596 100644
--- a/src/share/vm/code/vtableStubs.hpp
+++ b/src/share/vm/code/vtableStubs.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_CODE_VTABLESTUBS_HPP
+#define SHARE_VM_CODE_VTABLESTUBS_HPP
+
+#include "memory/allocation.hpp"
+
// A VtableStub holds an individual code stub for a pair (vtable index, #args) for either itables or vtables
// There's a one-to-one relationship between a VtableStub and such a pair.
@@ -121,3 +126,5 @@ class VtableStubs : AllStatic {
static int number_of_vtable_stubs() { return _number_of_vtable_stubs; }
static void initialize();
};
+
+#endif // SHARE_VM_CODE_VTABLESTUBS_HPP
diff --git a/src/share/vm/compiler/abstractCompiler.cpp b/src/share/vm/compiler/abstractCompiler.cpp
index 893ad7e3a..5594d1afa 100644
--- a/src/share/vm/compiler/abstractCompiler.cpp
+++ b/src/share/vm/compiler/abstractCompiler.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+// Copyright (c) 2007, 2010, 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
@@ -21,9 +21,10 @@
// questions.
//
-#include "incls/_precompiled.incl"
-#include "incls/_abstractCompiler.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/abstractCompiler.hpp"
+#include "runtime/mutexLocker.hpp"
void AbstractCompiler::initialize_runtimes(initializer f, volatile int* state) {
if (*state != initialized) {
diff --git a/src/share/vm/compiler/abstractCompiler.hpp b/src/share/vm/compiler/abstractCompiler.hpp
index 720ded6eb..380dfe7bd 100644
--- a/src/share/vm/compiler/abstractCompiler.hpp
+++ b/src/share/vm/compiler/abstractCompiler.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_COMPILER_ABSTRACTCOMPILER_HPP
+#define SHARE_VM_COMPILER_ABSTRACTCOMPILER_HPP
+
+#include "ci/compilerInterface.hpp"
+
typedef void (*initializer)(void);
class AbstractCompiler : public CHeapObj {
@@ -88,3 +93,5 @@ class AbstractCompiler : public CHeapObj {
ShouldNotReachHere();
}
};
+
+#endif // SHARE_VM_COMPILER_ABSTRACTCOMPILER_HPP
diff --git a/src/share/vm/compiler/compileBroker.cpp b/src/share/vm/compiler/compileBroker.cpp
index 7d8a69f24..7c432b422 100644
--- a/src/share/vm/compiler/compileBroker.cpp
+++ b/src/share/vm/compiler/compileBroker.cpp
@@ -22,8 +22,37 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_compileBroker.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/codeCache.hpp"
+#include "compiler/compileBroker.hpp"
+#include "compiler/compileLog.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/nativeLookup.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/init.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/os.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/sweeper.hpp"
+#include "utilities/dtrace.hpp"
+#ifdef COMPILER1
+#include "c1/c1_Compiler.hpp"
+#endif
+#ifdef COMPILER2
+#include "opto/c2compiler.hpp"
+#endif
+#ifdef SHARK
+#include "shark/sharkCompiler.hpp"
+#endif
#ifdef DTRACE_ENABLED
diff --git a/src/share/vm/compiler/compileBroker.hpp b/src/share/vm/compiler/compileBroker.hpp
index e0845fb89..515bfb405 100644
--- a/src/share/vm/compiler/compileBroker.hpp
+++ b/src/share/vm/compiler/compileBroker.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_COMPILER_COMPILEBROKER_HPP
+#define SHARE_VM_COMPILER_COMPILEBROKER_HPP
+
+#include "ci/compilerInterface.hpp"
+#include "compiler/abstractCompiler.hpp"
+#include "runtime/perfData.hpp"
+
class nmethod;
class nmethodLocker;
@@ -380,3 +387,5 @@ class CompileBroker: AllStatic {
static void print_compiler_threads_on(outputStream* st);
};
+
+#endif // SHARE_VM_COMPILER_COMPILEBROKER_HPP
diff --git a/src/share/vm/compiler/compileLog.cpp b/src/share/vm/compiler/compileLog.cpp
index 0aae000f6..a306117f9 100644
--- a/src/share/vm/compiler/compileLog.cpp
+++ b/src/share/vm/compiler/compileLog.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_compileLog.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciMethod.hpp"
+#include "compiler/compileLog.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/methodOop.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/os.hpp"
CompileLog* CompileLog::_first = NULL;
diff --git a/src/share/vm/compiler/compileLog.hpp b/src/share/vm/compiler/compileLog.hpp
index 5d1ed80e4..8e7b45122 100644
--- a/src/share/vm/compiler/compileLog.hpp
+++ b/src/share/vm/compiler/compileLog.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_COMPILER_COMPILELOG_HPP
+#define SHARE_VM_COMPILER_COMPILELOG_HPP
+
+#include "utilities/xmlstream.hpp"
+
class ciObject;
class ciSymbol;
@@ -75,3 +80,5 @@ class CompileLog : public xmlStream {
static void finish_log(outputStream* out);
static void finish_log_on_error(outputStream* out, char *buf, int buflen);
};
+
+#endif // SHARE_VM_COMPILER_COMPILELOG_HPP
diff --git a/src/share/vm/compiler/compilerOracle.cpp b/src/share/vm/compiler/compilerOracle.cpp
index 888f188de..3bc679fdd 100644
--- a/src/share/vm/compiler/compilerOracle.cpp
+++ b/src/share/vm/compiler/compilerOracle.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_compilerOracle.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/klass.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/jniHandles.hpp"
class MethodMatcher : public CHeapObj {
public:
diff --git a/src/share/vm/compiler/compilerOracle.hpp b/src/share/vm/compiler/compilerOracle.hpp
index 2d79230b1..fd5b0fbcc 100644
--- a/src/share/vm/compiler/compilerOracle.hpp
+++ b/src/share/vm/compiler/compilerOracle.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_COMPILER_COMPILERORACLE_HPP
+#define SHARE_VM_COMPILER_COMPILERORACLE_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/oopsHierarchy.hpp"
+
// CompilerOracle is an interface for turning on and off compilation
// for some methods
@@ -66,3 +72,5 @@ class CompilerOracle : AllStatic {
static void append_comment_to_file(const char* message);
static void append_exclude_to_file(methodHandle method);
};
+
+#endif // SHARE_VM_COMPILER_COMPILERORACLE_HPP
diff --git a/src/share/vm/compiler/disassembler.cpp b/src/share/vm/compiler/disassembler.cpp
index 175d874da..b63b55649 100644
--- a/src/share/vm/compiler/disassembler.cpp
+++ b/src/share/vm/compiler/disassembler.cpp
@@ -22,8 +22,29 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_disassembler.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "code/codeCache.hpp"
+#include "compiler/disassembler.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/hpi.hpp"
+#include "runtime/stubCodeGenerator.hpp"
+#include "runtime/stubRoutines.hpp"
+#ifdef TARGET_ARCH_x86
+# include "depChecker_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "depChecker_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "depChecker_zero.hpp"
+#endif
+#ifdef SHARK
+#include "shark/sharkEntry.hpp"
+#endif
void* Disassembler::_library = NULL;
bool Disassembler::_tried_to_load_library = false;
diff --git a/src/share/vm/compiler/disassembler.hpp b/src/share/vm/compiler/disassembler.hpp
index faee0401a..f95410922 100644
--- a/src/share/vm/compiler/disassembler.hpp
+++ b/src/share/vm/compiler/disassembler.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2010, 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
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_COMPILER_DISASSEMBLER_HPP
+#define SHARE_VM_COMPILER_DISASSEMBLER_HPP
+
+#include "runtime/globals.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
+
class decode_env;
// The disassembler prints out assembly code annotated
@@ -47,7 +61,16 @@ class Disassembler {
static bool load_library();
// Machine dependent stuff
- #include "incls/_disassembler_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "disassembler_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "disassembler_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "disassembler_zero.hpp"
+#endif
+
public:
static bool can_decode() {
@@ -57,3 +80,5 @@ class Disassembler {
static void decode(nmethod* nm, outputStream* st = NULL);
static void decode(address begin, address end, outputStream* st = NULL);
};
+
+#endif // SHARE_VM_COMPILER_DISASSEMBLER_HPP
diff --git a/src/share/vm/compiler/methodLiveness.cpp b/src/share/vm/compiler/methodLiveness.cpp
index f9f8a3d0d..42450ec10 100644
--- a/src/share/vm/compiler/methodLiveness.cpp
+++ b/src/share/vm/compiler/methodLiveness.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#include "precompiled.hpp"
+#include "ci/ciMethod.hpp"
+#include "ci/ciMethodBlocks.hpp"
+#include "ci/ciStreams.hpp"
+#include "compiler/methodLiveness.hpp"
+#include "interpreter/bytecode.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "memory/allocation.inline.hpp"
+#include "utilities/bitMap.inline.hpp"
+
// The MethodLiveness class performs a simple liveness analysis on a method
// in order to decide which locals are live (that is, will be used again) at
// a particular bytecode index (bci).
@@ -60,9 +70,6 @@
// analysis.
-# include "incls/_precompiled.incl"
-# include "incls/_methodLiveness.cpp.incl"
-
//--------------------------------------------------------------------------
// The BitCounter class is used for counting the number of bits set in
// some BitMap. It is only used when collecting liveness statistics.
diff --git a/src/share/vm/compiler/methodLiveness.hpp b/src/share/vm/compiler/methodLiveness.hpp
index f77851197..0a63d2a19 100644
--- a/src/share/vm/compiler/methodLiveness.hpp
+++ b/src/share/vm/compiler/methodLiveness.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_COMPILER_METHODLIVENESS_HPP
+#define SHARE_VM_COMPILER_METHODLIVENESS_HPP
+
+#include "utilities/bitMap.hpp"
+#include "utilities/growableArray.hpp"
+
class ciMethod;
class MethodLivenessResult : public BitMap {
@@ -269,3 +275,5 @@ class MethodLiveness : public ResourceObj {
static void print_times() PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_COMPILER_METHODLIVENESS_HPP
diff --git a/src/share/vm/compiler/oopMap.cpp b/src/share/vm/compiler/oopMap.cpp
index cb8e69690..5edd26a44 100644
--- a/src/share/vm/compiler/oopMap.cpp
+++ b/src/share/vm/compiler/oopMap.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,20 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_oopMap.cpp.incl"
+#include "precompiled.hpp"
+#include "code/codeBlob.hpp"
+#include "code/codeCache.hpp"
+#include "code/nmethod.hpp"
+#include "code/scopeDesc.hpp"
+#include "compiler/oopMap.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/signature.hpp"
+#ifdef COMPILER1
+#include "c1/c1_Defs.hpp"
+#endif
// OopMapStream
diff --git a/src/share/vm/compiler/oopMap.hpp b/src/share/vm/compiler/oopMap.hpp
index c179d2b34..0a73fc5c6 100644
--- a/src/share/vm/compiler/oopMap.hpp
+++ b/src/share/vm/compiler/oopMap.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_COMPILER_OOPMAP_HPP
+#define SHARE_VM_COMPILER_OOPMAP_HPP
+
+#include "code/compressedStream.hpp"
+#include "code/vmreg.hpp"
+#include "memory/allocation.hpp"
+#include "utilities/growableArray.hpp"
+
// Interface for generating the frame map for compiled code. A frame map
// describes for a specific pc whether each register and frame stack slot is:
// Oop - A GC root for current frame
@@ -315,3 +323,5 @@ class DerivedPointerTableDeactivate: public StackObj {
}
};
#endif // COMPILER2
+
+#endif // SHARE_VM_COMPILER_OOPMAP_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.cpp
index 5455523a9..63afa40de 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_binaryTreeDictionary.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp"
+#include "gc_implementation/shared/allocationStats.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "memory/space.inline.hpp"
+#include "runtime/globals.hpp"
+#include "utilities/ostream.hpp"
////////////////////////////////////////////////////////////////////////////////
// A binary tree based search structure for free blocks.
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp
index 05c7f90dc..f06f8d385 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_BINARYTREEDICTIONARY_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_BINARYTREEDICTIONARY_HPP
+
+#include "gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp"
+#include "gc_implementation/concurrentMarkSweep/freeList.hpp"
+
/*
* A binary tree based search structure for free blocks.
* This is currently used in the Concurrent Mark&Sweep implementation.
@@ -286,3 +292,5 @@ class BinaryTreeDictionary: public FreeBlockDictionary {
void verify() const;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_BINARYTREEDICTIONARY_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.cpp
index e93e42509..5bee77ef2 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2010, 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
@@ -21,9 +21,22 @@
* questions.
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_cmsAdaptiveSizePolicy.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp"
+#include "gc_implementation/shared/gcStats.hpp"
+#include "memory/defNewGeneration.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "runtime/thread.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
elapsedTimer CMSAdaptiveSizePolicy::_concurrent_timer;
elapsedTimer CMSAdaptiveSizePolicy::_STW_timer;
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp
index 9c4ac46c6..ec418e689 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSADAPTIVESIZEPOLICY_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSADAPTIVESIZEPOLICY_HPP
+
+#include "gc_implementation/shared/adaptiveSizePolicy.hpp"
+#include "runtime/timer.hpp"
+
// This class keeps statistical information and computes the
// size of the heap for the concurrent mark sweep collector.
//
@@ -467,3 +473,5 @@ class CMSAdaptiveSizePolicy : public AdaptiveSizePolicy {
// Printing support
virtual bool print_adaptive_size_policy_on(outputStream* st) const;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSADAPTIVESIZEPOLICY_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.cpp
index 96388d07b..cbe5953a3 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.cpp
@@ -22,8 +22,34 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_cmsCollectorPolicy.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp"
+#include "gc_implementation/parNew/parNewGeneration.hpp"
+#include "gc_implementation/shared/gcPolicyCounters.hpp"
+#include "gc_implementation/shared/vmGCOperations.hpp"
+#include "memory/cardTableRS.hpp"
+#include "memory/collectorPolicy.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/generationSpec.hpp"
+#include "memory/space.hpp"
+#include "memory/universe.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/globals_extension.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/vmThread.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
//
// ConcurrentMarkSweepPolicy methods
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.hpp
index 28a7980a7..1483bca13 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSCOLLECTORPOLICY_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSCOLLECTORPOLICY_HPP
+
+#include "memory/collectorPolicy.hpp"
+
class ConcurrentMarkSweepPolicy : public TwoGenerationCollectorPolicy {
protected:
void initialize_generations();
@@ -55,3 +60,5 @@ class ASConcurrentMarkSweepPolicy : public ConcurrentMarkSweepPolicy {
return CollectorPolicy::ASConcurrentMarkSweepPolicyKind;
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSCOLLECTORPOLICY_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.cpp
index 08b24387e..8e633b65f 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_cmsGCAdaptivePolicyCounters.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp"
+#include "memory/resourceArea.hpp"
CMSGCAdaptivePolicyCounters::CMSGCAdaptivePolicyCounters(const char* name_arg,
int collectors,
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp
index 0d33c63b3..3fe7d136f 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSGCADAPTIVEPOLICYCOUNTERS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSGCADAPTIVEPOLICYCOUNTERS_HPP
+
+#include "gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp"
+#include "gc_implementation/shared/gcAdaptivePolicyCounters.hpp"
+#include "gc_implementation/shared/gcStats.hpp"
+#include "runtime/perfData.hpp"
+
// CMSGCAdaptivePolicyCounters is a holder class for performance counters
// that track the data and decisions for the ergonomics policy for the
// concurrent mark sweep collector
@@ -298,3 +306,5 @@ class CMSGCAdaptivePolicyCounters : public GCAdaptivePolicyCounters {
return GCPolicyCounters::CMSGCAdaptivePolicyCountersKind;
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSGCADAPTIVEPOLICYCOUNTERS_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.cpp
index 04f0a5657..b6243b737 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_cmsLockVerifier.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
+#include "runtime/vmThread.hpp"
///////////// Locking verification specific to CMS //////////////
// Much like "assert_lock_strong()", except that it relaxes the
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp
index 605ec2a04..632ecc263 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSLOCKVERIFIER_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSLOCKVERIFIER_HPP
+
+#include "runtime/mutex.hpp"
+
///////////// Locking verification specific to CMS //////////////
// Much like "assert_lock_strong()", except
// that it relaxes the assertion somewhat for the parallel GC case, where
@@ -38,3 +43,5 @@ class CMSLockVerifier: AllStatic {
assert_locked(lock, NULL);
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSLOCKVERIFIER_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp
index 8af73e2ea..1223fa887 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSOOPCLOSURES_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSOOPCLOSURES_HPP
+
+#include "memory/genOopClosures.hpp"
+
/////////////////////////////////////////////////////////////////
// Closures used by ConcurrentMarkSweepGeneration's collector
/////////////////////////////////////////////////////////////////
@@ -427,3 +432,5 @@ class CMSParKeepAliveClosure: public Par_KlassRememberingOopClosure {
inline void do_oop_nv(oop* p) { CMSParKeepAliveClosure::do_oop_work(p); }
inline void do_oop_nv(narrowOop* p) { CMSParKeepAliveClosure::do_oop_work(p); }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSOOPCLOSURES_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.inline.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.inline.hpp
index 9179ff7b8..a66c5cb24 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.inline.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSOOPCLOSURES_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSOOPCLOSURES_INLINE_HPP
+
+#include "gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
+
// Trim our work_queue so its length is below max at return
inline void Par_MarkRefsIntoAndScanClosure::trim_queue(uint max) {
while (_work_queue->size() > max) {
@@ -74,3 +80,5 @@ inline void PushOrMarkClosure::do_yield_check() {
inline void Par_PushOrMarkClosure::do_yield_check() {
_parent->do_yield_check();
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSOOPCLOSURES_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.cpp
index f04b8a467..bdcbb467c 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.cpp
@@ -22,8 +22,19 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_cmsPermGen.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsPermGen.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp"
+#include "gc_implementation/shared/cSpaceCounters.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/blockOffsetTable.inline.hpp"
+#include "memory/compactPermGen.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/generation.inline.hpp"
+#include "memory/permGen.hpp"
+#include "memory/universe.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
CMSPermGen::CMSPermGen(ReservedSpace rs, size_t initial_byte_size,
CardTableRS* ct,
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.hpp
index fd675623e..6d464f717 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSPERMGEN_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSPERMGEN_HPP
+
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
+#include "memory/permGen.hpp"
+
class CardTableRS; // fwd decl
class ConcurrentMarkSweepGeneration;
@@ -75,3 +81,5 @@ public:
bool must_be_youngest() const { return false; }
bool must_be_oldest() const { return false; }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSPERMGEN_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp
index 183d127e3..953456f5c 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp
@@ -22,8 +22,25 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_compactibleFreeListSpace.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp"
+#include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
+#include "gc_implementation/shared/liveRange.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/blockOffsetTable.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/globals.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/init.hpp"
+#include "runtime/java.hpp"
+#include "runtime/vmThread.hpp"
+#include "utilities/copy.hpp"
/////////////////////////////////////////////////////////////////////////
//// CompactibleFreeListSpace
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp
index 6d67e9411..f00f6b292 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_COMPACTIBLEFREELISTSPACE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_COMPACTIBLEFREELISTSPACE_HPP
+
+#include "gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp"
+#include "gc_implementation/concurrentMarkSweep/freeList.hpp"
+#include "gc_implementation/concurrentMarkSweep/promotionInfo.hpp"
+#include "memory/blockOffsetTable.inline.hpp"
+#include "memory/space.hpp"
+
// Classes in support of keeping track of promotions into a non-Contiguous
// space, in this case a CompactibleFreeListSpace.
@@ -646,3 +655,5 @@ size_t PromotionInfo::refillSize() const {
* CMSSpoolBlockSize);
return CompactibleFreeListSpace::adjustObjectSize(sz);
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_COMPACTIBLEFREELISTSPACE_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
index ceb7ad5df..8b290a31c 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
@@ -22,8 +22,39 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_concurrentMarkSweepGeneration.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsOopClosures.inline.hpp"
+#include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
+#include "gc_implementation/concurrentMarkSweep/vmCMSOperations.hpp"
+#include "gc_implementation/parNew/parNewGeneration.hpp"
+#include "gc_implementation/shared/collectorCounters.hpp"
+#include "gc_implementation/shared/isGCActiveMark.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/cardTableRS.hpp"
+#include "memory/collectorPolicy.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/genMarkSweep.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/iterator.hpp"
+#include "memory/referencePolicy.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/globals_extension.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/vmThread.hpp"
+#include "services/memoryService.hpp"
+#include "services/runtimeService.hpp"
// statics
CMSCollector* ConcurrentMarkSweepGeneration::_collector = NULL;
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp
index dce44e397..118380ddd 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp
@@ -22,6 +22,22 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CONCURRENTMARKSWEEPGENERATION_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CONCURRENTMARKSWEEPGENERATION_HPP
+
+#include "gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp"
+#include "gc_implementation/shared/gSpaceCounters.hpp"
+#include "gc_implementation/shared/gcStats.hpp"
+#include "gc_implementation/shared/generationCounters.hpp"
+#include "memory/generation.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/virtualspace.hpp"
+#include "services/memoryService.hpp"
+#include "utilities/bitMap.inline.hpp"
+#include "utilities/stack.inline.hpp"
+#include "utilities/taskqueue.hpp"
+#include "utilities/yieldingWorkgroup.hpp"
+
// ConcurrentMarkSweepGeneration is in support of a concurrent
// mark-sweep old generation in the Detlefs-Printezis--Boehm-Demers-Schenker
// style. We assume, for now, that this generation is always the
@@ -1882,3 +1898,5 @@ class TraceCMSMemoryManagerStats : public TraceMemoryManagerStats {
TraceCMSMemoryManagerStats();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CONCURRENTMARKSWEEPGENERATION_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp
index 19acc1b93..bd883f2e6 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CONCURRENTMARKSWEEPGENERATION_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CONCURRENTMARKSWEEPGENERATION_INLINE_HPP
+
+#include "gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp"
+#include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
+#include "gc_implementation/shared/gcUtil.hpp"
+#include "memory/defNewGeneration.hpp"
+
inline void CMSBitMap::clear_all() {
assert_locked();
// CMS bitmaps are usually cover large memory regions
@@ -505,3 +515,5 @@ inline void ModUnionClosurePar::do_MemRegion(MemRegion mr) {
CardTableModRefBS::card_size /* bytes */));
_t->par_mark_range(mr2);
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CONCURRENTMARKSWEEPGENERATION_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.cpp
index f9823af67..c69af2c14 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.cpp
@@ -22,8 +22,20 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_concurrentMarkSweepThread.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "oops/instanceRefKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/init.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/os.hpp"
+#include "runtime/vmThread.hpp"
// ======= Concurrent Mark Sweep Thread ========
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp
index 1390b20a1..f47901d36 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp
@@ -22,6 +22,21 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CONCURRENTMARKSWEEPTHREAD_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CONCURRENTMARKSWEEPTHREAD_HPP
+
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
+#include "gc_implementation/shared/concurrentGCThread.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
class ConcurrentMarkSweepGeneration;
class CMSCollector;
@@ -251,3 +266,5 @@ class CMSLoopCountWarn: public StackObj {
}
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CONCURRENTMARKSWEEPTHREAD_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.cpp
index c03423d05..1c1b3ffe5 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_freeBlockDictionary.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
#ifndef PRODUCT
Mutex* FreeBlockDictionary::par_lock() const {
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp
index a3ec74e31..538662028 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_FREEBLOCKDICTIONARY_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_FREEBLOCKDICTIONARY_HPP
+
+#include "gc_implementation/concurrentMarkSweep/freeChunk.hpp"
+#include "memory/allocation.hpp"
+#include "memory/memRegion.hpp"
+#include "runtime/mutex.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/ostream.hpp"
+
// A FreeBlockDictionary is an abstract superclass that will allow
// a number of alternative implementations in the future.
class FreeBlockDictionary: public CHeapObj {
@@ -88,3 +99,5 @@ class FreeBlockDictionary: public CHeapObj {
void set_par_lock(Mutex* lock) PRODUCT_RETURN;
void verify_par_locked() const PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_FREEBLOCKDICTIONARY_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.cpp
index af5ec88d0..84702b640 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_freeChunk.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp"
+#include "utilities/copy.hpp"
#ifndef PRODUCT
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp
index 760fabf43..e1ac702a2 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_FREECHUNK_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_FREECHUNK_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/memRegion.hpp"
+#include "oops/markOop.hpp"
+#include "runtime/mutex.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/ostream.hpp"
+
//
// Free block maintenance for Concurrent Mark Sweep Generation
//
@@ -141,3 +152,5 @@ class FreeChunk VALUE_OBJ_CLASS_SPEC {
extern size_t MinChunkSize;
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_FREECHUNK_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp
index eebd8bb33..495647542 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_freeList.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp"
+#include "gc_implementation/concurrentMarkSweep/freeList.hpp"
+#include "memory/sharedHeap.hpp"
+#include "runtime/globals.hpp"
+#include "runtime/mutex.hpp"
+#include "runtime/vmThread.hpp"
// Free list. A FreeList is used to access a linked list of chunks
// of space in the heap. The head and tail are maintained so that
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/freeList.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/freeList.hpp
index fddc42110..44afe8e56 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/freeList.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/freeList.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_FREELIST_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_FREELIST_HPP
+
+#include "gc_implementation/shared/allocationStats.hpp"
+
class CompactibleFreeListSpace;
// A class for maintaining a free list of FreeChunk's. The FreeList
@@ -326,3 +331,5 @@ class FreeList VALUE_OBJ_CLASS_SPEC {
static void print_labels_on(outputStream* st, const char* c);
void print_on(outputStream* st, const char* c = NULL) const;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_FREELIST_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.cpp
index fda8624ba..6fa109a53 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.cpp
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_promotionInfo.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp"
+#include "gc_implementation/concurrentMarkSweep/promotionInfo.hpp"
+#include "oops/markOop.inline.hpp"
+#include "oops/oop.inline.hpp"
/////////////////////////////////////////////////////////////////////////
//// PromotionInfo
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.hpp
index 99051934c..463c33bb8 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_PROMOTIONINFO_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_PROMOTIONINFO_HPP
+
+#include "gc_implementation/concurrentMarkSweep/freeChunk.hpp"
+#include "memory/allocation.hpp"
+
// Forward declarations
class CompactibleFreeListSpace;
@@ -204,3 +210,5 @@ class PromotionInfo VALUE_OBJ_CLASS_SPEC {
void print_statistics(uint worker_id) const;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_PROMOTIONINFO_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp b/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp
index bf5188ba7..12c86b44d 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -21,9 +21,15 @@
* questions.
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vmCMSOperations.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
+#include "gc_implementation/concurrentMarkSweep/vmCMSOperations.hpp"
+#include "gc_implementation/shared/isGCActiveMark.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "utilities/dtrace.hpp"
HS_DTRACE_PROBE_DECL(hs_private, cms__initmark__begin);
HS_DTRACE_PROBE_DECL(hs_private, cms__initmark__end);
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.hpp
index d76e60034..8c2fc490a 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_VMCMSOPERATIONS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_VMCMSOPERATIONS_HPP
+
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
+#include "gc_implementation/shared/vmGCOperations.hpp"
+#include "gc_interface/gcCause.hpp"
+#include "runtime/vm_operations.hpp"
+
// The VM_CMS_Operation is slightly different from
// a VM_GC_Operation -- and would not have subclassed easily
// to VM_GC_Operation without several changes to VM_GC_Operation.
@@ -136,3 +144,5 @@ class VM_GenCollectFullConcurrent: public VM_GC_Operation {
virtual bool is_cheap_allocated() const { return false; }
virtual bool evaluate_at_safepoint() const;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_VMCMSOPERATIONS_HPP
diff --git a/src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp b/src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp
index 1b6d74b58..34460c19d 100644
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp
+++ b/src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_VMSTRUCTS_CMS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_VMSTRUCTS_CMS_HPP
+
#define VM_STRUCTS_CMS(nonstatic_field, \
volatile_nonstatic_field, \
static_field) \
@@ -78,3 +81,5 @@
#define VM_INT_CONSTANTS_CMS(declare_constant) \
declare_constant(Generation::ConcurrentMarkSweep) \
declare_constant(PermGen::ConcurrentMarkSweep)
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_VMSTRUCTS_CMS_HPP
diff --git a/src/share/vm/gc_implementation/g1/bufferingOopClosure.hpp b/src/share/vm/gc_implementation/g1/bufferingOopClosure.hpp
index 8d259aa78..1ceca1734 100644
--- a/src/share/vm/gc_implementation/g1/bufferingOopClosure.hpp
+++ b/src/share/vm/gc_implementation/g1/bufferingOopClosure.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_BUFFERINGOOPCLOSURE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_BUFFERINGOOPCLOSURE_HPP
+
+#include "memory/genOopClosures.hpp"
+#include "memory/generation.hpp"
+#include "runtime/os.hpp"
+#include "utilities/taskqueue.hpp"
+
// A BufferingOops closure tries to separate out the cost of finding roots
// from the cost of applying closures to them. It maintains an array of
// ref-containing locations. Until the array is full, applying the closure
@@ -201,3 +209,5 @@ public:
_hr_curr(_hr_buffer),
_closure_app_seconds(0.0) { }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_BUFFERINGOOPCLOSURE_HPP
diff --git a/src/share/vm/gc_implementation/g1/collectionSetChooser.cpp b/src/share/vm/gc_implementation/g1/collectionSetChooser.cpp
index 1cbb86c03..585ff2d34 100644
--- a/src/share/vm/gc_implementation/g1/collectionSetChooser.cpp
+++ b/src/share/vm/gc_implementation/g1/collectionSetChooser.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_collectionSetChooser.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/collectionSetChooser.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "memory/space.inline.hpp"
CSetChooserCache::CSetChooserCache() {
for (int i = 0; i < CacheLength; ++i)
diff --git a/src/share/vm/gc_implementation/g1/collectionSetChooser.hpp b/src/share/vm/gc_implementation/g1/collectionSetChooser.hpp
index 5ba54e6f8..04ceba279 100644
--- a/src/share/vm/gc_implementation/g1/collectionSetChooser.hpp
+++ b/src/share/vm/gc_implementation/g1/collectionSetChooser.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_COLLECTIONSETCHOOSER_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_COLLECTIONSETCHOOSER_HPP
+
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "utilities/growableArray.hpp"
+
// We need to sort heap regions by collection desirability.
class CSetChooserCache VALUE_OBJ_CLASS_SPEC {
@@ -136,3 +142,5 @@ public:
#endif
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_COLLECTIONSETCHOOSER_HPP
diff --git a/src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp b/src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp
index e144aa7cc..d26530323 100644
--- a/src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp
+++ b/src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp
@@ -22,8 +22,16 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_concurrentG1Refine.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/concurrentG1Refine.hpp"
+#include "gc_implementation/g1/concurrentG1RefineThread.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "gc_implementation/g1/g1RemSet.hpp"
+#include "gc_implementation/g1/heapRegionSeq.inline.hpp"
+#include "memory/space.inline.hpp"
+#include "runtime/atomic.hpp"
+#include "utilities/copy.hpp"
// Possible sizes for the card counts cache: odd primes that roughly double in size.
// (See jvmtiTagMap.cpp).
diff --git a/src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp b/src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp
index f5c3653f8..50ea5e9e6 100644
--- a/src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp
+++ b/src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTG1REFINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTG1REFINE_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "runtime/thread.hpp"
+#include "utilities/globalDefinitions.hpp"
+
// Forward decl
class ConcurrentG1RefineThread;
class G1RemSet;
@@ -223,3 +231,5 @@ class ConcurrentG1Refine: public CHeapObj {
int thread_threshold_step() const { return _thread_threshold_step; }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTG1REFINE_HPP
diff --git a/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp b/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp
index 109cad554..2e87ca700 100644
--- a/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp
+++ b/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp
@@ -22,8 +22,14 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_concurrentG1RefineThread.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/concurrentG1Refine.hpp"
+#include "gc_implementation/g1/concurrentG1RefineThread.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/mutexLocker.hpp"
ConcurrentG1RefineThread::
ConcurrentG1RefineThread(ConcurrentG1Refine* cg1r, ConcurrentG1RefineThread *next,
diff --git a/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.hpp b/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.hpp
index 46cdbd122..971fe2f91 100644
--- a/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.hpp
+++ b/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTG1REFINETHREAD_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTG1REFINETHREAD_HPP
+
+#include "gc_implementation/shared/concurrentGCThread.hpp"
+
// Forward Decl.
class ConcurrentG1Refine;
@@ -84,3 +89,5 @@ public:
// shutdown
void stop();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTG1REFINETHREAD_HPP
diff --git a/src/share/vm/gc_implementation/g1/concurrentMark.cpp b/src/share/vm/gc_implementation/g1/concurrentMark.cpp
index ec9c9da4f..4b7e15935 100644
--- a/src/share/vm/gc_implementation/g1/concurrentMark.cpp
+++ b/src/share/vm/gc_implementation/g1/concurrentMark.cpp
@@ -22,8 +22,21 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_concurrentMark.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "gc_implementation/g1/concurrentMark.hpp"
+#include "gc_implementation/g1/concurrentMarkThread.inline.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "gc_implementation/g1/g1RemSet.hpp"
+#include "gc_implementation/g1/heapRegionRemSet.hpp"
+#include "gc_implementation/g1/heapRegionSeq.inline.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/referencePolicy.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/java.hpp"
//
// CMS Bit Map Wrapper
diff --git a/src/share/vm/gc_implementation/g1/concurrentMark.hpp b/src/share/vm/gc_implementation/g1/concurrentMark.hpp
index 3bc06d0b1..7f13483b7 100644
--- a/src/share/vm/gc_implementation/g1/concurrentMark.hpp
+++ b/src/share/vm/gc_implementation/g1/concurrentMark.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTMARK_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTMARK_HPP
+
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "utilities/taskqueue.hpp"
+
class G1CollectedHeap;
class CMTask;
typedef GenericTaskQueue<oop> CMTaskQueue;
@@ -1120,3 +1126,5 @@ public:
void increase_objs_found_on_bitmap() { ++_objs_found_on_bitmap; }
#endif // _MARKING_STATS_
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTMARK_HPP
diff --git a/src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp b/src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp
index f2f8ed9de..2aa9ab239 100644
--- a/src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp
+++ b/src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_concurrentMarkThread.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/concurrentMarkThread.inline.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "gc_implementation/g1/g1MMUTracker.hpp"
+#include "gc_implementation/g1/vm_operations_g1.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/vmThread.hpp"
// ======= Concurrent Mark Thread ========
diff --git a/src/share/vm/gc_implementation/g1/concurrentMarkThread.hpp b/src/share/vm/gc_implementation/g1/concurrentMarkThread.hpp
index 92361551c..84bdb590e 100644
--- a/src/share/vm/gc_implementation/g1/concurrentMarkThread.hpp
+++ b/src/share/vm/gc_implementation/g1/concurrentMarkThread.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTMARKTHREAD_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTMARKTHREAD_HPP
+
+#include "gc_implementation/shared/concurrentGCThread.hpp"
+
// The Concurrent Mark GC Thread (could be several in the future).
// This is copied from the Concurrent Mark Sweep GC Thread
// Still under construction.
@@ -93,3 +98,5 @@ class ConcurrentMarkThread: public ConcurrentGCThread {
// shutdown
void stop();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTMARKTHREAD_HPP
diff --git a/src/share/vm/gc_implementation/g1/concurrentMarkThread.inline.hpp b/src/share/vm/gc_implementation/g1/concurrentMarkThread.inline.hpp
index b23b6f7f9..320daf9b8 100644
--- a/src/share/vm/gc_implementation/g1/concurrentMarkThread.inline.hpp
+++ b/src/share/vm/gc_implementation/g1/concurrentMarkThread.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTMARKTHREAD_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTMARKTHREAD_INLINE_HPP
+
+#include "gc_implementation/g1/concurrentMark.hpp"
+#include "gc_implementation/g1/concurrentMarkThread.hpp"
+
// Total virtual time so far.
inline double ConcurrentMarkThread::vtime_accum() {
return _vtime_accum + _cm->all_task_accum_vtime();
@@ -31,3 +37,5 @@ inline double ConcurrentMarkThread::vtime_accum() {
inline double ConcurrentMarkThread::vtime_mark_accum() {
return _vtime_mark_accum + _cm->all_task_accum_vtime();
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTMARKTHREAD_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/g1/concurrentZFThread.cpp b/src/share/vm/gc_implementation/g1/concurrentZFThread.cpp
index 323fc8299..425d67fcd 100644
--- a/src/share/vm/gc_implementation/g1/concurrentZFThread.cpp
+++ b/src/share/vm/gc_implementation/g1/concurrentZFThread.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_concurrentZFThread.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/concurrentZFThread.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "memory/space.inline.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "utilities/copy.hpp"
// ======= Concurrent Zero-Fill Thread ========
diff --git a/src/share/vm/gc_implementation/g1/concurrentZFThread.hpp b/src/share/vm/gc_implementation/g1/concurrentZFThread.hpp
index 770aa0917..34731c962 100644
--- a/src/share/vm/gc_implementation/g1/concurrentZFThread.hpp
+++ b/src/share/vm/gc_implementation/g1/concurrentZFThread.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTZFTHREAD_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTZFTHREAD_HPP
+
+#include "gc_implementation/shared/concurrentGCThread.hpp"
+
// The Concurrent ZF Thread. Performs concurrent zero-filling.
class ConcurrentZFThread: public ConcurrentGCThread {
@@ -82,3 +87,5 @@ class ConcurrentZFThread: public ConcurrentGCThread {
static void print_summary_info();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTZFTHREAD_HPP
diff --git a/src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp b/src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp
index c8100c477..2a7f51380 100644
--- a/src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp
+++ b/src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp
@@ -22,8 +22,23 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_dirtyCardQueue.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/dirtyCardQueue.hpp"
+#include "gc_implementation/g1/heapRegionRemSet.hpp"
+#include "runtime/atomic.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/thread.hpp"
+#include "utilities/workgroup.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
bool DirtyCardQueue::apply_closure(CardTableEntryClosure* cl,
bool consume,
diff --git a/src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp b/src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp
index 9f6d95f00..88d47dbe1 100644
--- a/src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp
+++ b/src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_DIRTYCARDQUEUE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_DIRTYCARDQUEUE_HPP
+
+#include "gc_implementation/g1/ptrQueue.hpp"
+#include "memory/allocation.hpp"
+
class FreeIdSet;
// A closure class for processing card table entries. Note that we don't
@@ -168,3 +174,5 @@ public:
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_DIRTYCARDQUEUE_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp b/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp
index 8eb6607ae..270e1fa3d 100644
--- a/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp
+++ b/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_g1BlockOffsetTable.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/g1BlockOffsetTable.inline.hpp"
+#include "memory/space.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
//////////////////////////////////////////////////////////////////////
// G1BlockOffsetSharedArray
diff --git a/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.hpp b/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.hpp
index 28c29502c..82568dddd 100644
--- a/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.hpp
+++ b/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1BLOCKOFFSETTABLE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1BLOCKOFFSETTABLE_HPP
+
+#include "memory/memRegion.hpp"
+#include "runtime/virtualspace.hpp"
+#include "utilities/globalDefinitions.hpp"
+
// The CollectedHeap type requires subtypes to implement a method
// "block_start". For some subtypes, notably generational
// systems using card-table-based write barriers, the efficiency of this
@@ -489,3 +496,5 @@ class G1BlockOffsetArrayContigSpace: public G1BlockOffsetArray {
virtual void set_for_starts_humongous(HeapWord* new_end);
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1BLOCKOFFSETTABLE_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.inline.hpp b/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.inline.hpp
index 08ede99bf..e246e93b1 100644
--- a/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.inline.hpp
+++ b/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1BLOCKOFFSETTABLE_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1BLOCKOFFSETTABLE_INLINE_HPP
+
+#include "gc_implementation/g1/g1BlockOffsetTable.hpp"
+#include "memory/space.hpp"
+
inline HeapWord* G1BlockOffsetTable::block_start(const void* addr) {
if (addr >= _bottom && addr < _end) {
return block_start_unsafe(addr);
@@ -151,3 +157,5 @@ inline void G1BlockOffsetArray::freed(HeapWord* blk_start, HeapWord* blk_end) {
inline void G1BlockOffsetArray::freed(HeapWord* blk, size_t size) {
freed(blk, blk + size);
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1BLOCKOFFSETTABLE_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
index b75320981..dae8c98b1 100644
--- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
+++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
@@ -22,8 +22,29 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_g1CollectedHeap.cpp.incl"
+#include "precompiled.hpp"
+#include "code/icBuffer.hpp"
+#include "gc_implementation/g1/bufferingOopClosure.hpp"
+#include "gc_implementation/g1/concurrentG1Refine.hpp"
+#include "gc_implementation/g1/concurrentG1RefineThread.hpp"
+#include "gc_implementation/g1/concurrentMarkThread.inline.hpp"
+#include "gc_implementation/g1/concurrentZFThread.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "gc_implementation/g1/g1MarkSweep.hpp"
+#include "gc_implementation/g1/g1OopClosures.inline.hpp"
+#include "gc_implementation/g1/g1RemSet.inline.hpp"
+#include "gc_implementation/g1/heapRegionRemSet.hpp"
+#include "gc_implementation/g1/heapRegionSeq.inline.hpp"
+#include "gc_implementation/g1/vm_operations_g1.hpp"
+#include "gc_implementation/shared/isGCActiveMark.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/generationSpec.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#include "runtime/aprofiler.hpp"
+#include "runtime/vmThread.hpp"
size_t G1CollectedHeap::_humongous_object_threshold_in_words = 0;
diff --git a/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp b/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
index b97d8710a..84e846b30 100644
--- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
+++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTEDHEAP_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTEDHEAP_HPP
+
+#include "gc_implementation/g1/concurrentMark.hpp"
+#include "gc_implementation/g1/g1RemSet.hpp"
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "gc_implementation/parNew/parGCAllocBuffer.hpp"
+#include "memory/barrierSet.hpp"
+#include "memory/memRegion.hpp"
+#include "memory/sharedHeap.hpp"
+
// A "G1CollectedHeap" is an implementation of a java heap for HotSpot.
// It uses the "Garbage First" heap organization and algorithm, which
// may combine concurrent marking with parallel, incremental compaction of
@@ -1797,3 +1808,5 @@ public:
public:
void trim_queue();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTEDHEAP_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp b/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp
index c4eb03884..1cc1ada57 100644
--- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp
+++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTEDHEAP_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTEDHEAP_INLINE_HPP
+
+#include "gc_implementation/g1/concurrentMark.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.hpp"
+#include "gc_implementation/g1/heapRegionSeq.hpp"
+#include "utilities/taskqueue.hpp"
+
// Inline functions for G1CollectedHeap
inline HeapRegion*
@@ -94,3 +102,5 @@ inline bool G1CollectedHeap::isMarkedPrev(oop obj) const {
inline bool G1CollectedHeap::isMarkedNext(oop obj) const {
return _cm->nextMarkBitMap()->isMarked((HeapWord *)obj);
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTEDHEAP_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
index 896dba17e..52b0411c2 100644
--- a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
+++ b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
@@ -22,8 +22,18 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_g1CollectorPolicy.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/concurrentG1Refine.hpp"
+#include "gc_implementation/g1/concurrentMark.hpp"
+#include "gc_implementation/g1/concurrentMarkThread.inline.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "gc_implementation/g1/heapRegionRemSet.hpp"
+#include "gc_implementation/shared/gcPolicyCounters.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/java.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "utilities/debug.hpp"
#define PREDICTIONS_VERBOSE 0
diff --git a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp
index 33ee6ebc4..7e7111e88 100644
--- a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp
+++ b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTORPOLICY_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTORPOLICY_HPP
+
+#include "gc_implementation/g1/collectionSetChooser.hpp"
+#include "gc_implementation/g1/g1MMUTracker.hpp"
+#include "memory/collectorPolicy.hpp"
+
// A G1CollectorPolicy makes policy decisions that determine the
// characteristics of the collector. Examples include:
// * choice of collection set.
@@ -1287,3 +1294,5 @@ inline double variance(int n, double sum_of_squares, double sum) {
// Local Variables: ***
// c-indentation-style: gnu ***
// End: ***
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTORPOLICY_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1MMUTracker.cpp b/src/share/vm/gc_implementation/g1/g1MMUTracker.cpp
index a83d9c750..2943c8315 100644
--- a/src/share/vm/gc_implementation/g1/g1MMUTracker.cpp
+++ b/src/share/vm/gc_implementation/g1/g1MMUTracker.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_g1MMUTracker.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/g1MMUTracker.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "utilities/ostream.hpp"
#define _DISABLE_MMU 0
diff --git a/src/share/vm/gc_implementation/g1/g1MMUTracker.hpp b/src/share/vm/gc_implementation/g1/g1MMUTracker.hpp
index 269affbea..a13c62eb7 100644
--- a/src/share/vm/gc_implementation/g1/g1MMUTracker.hpp
+++ b/src/share/vm/gc_implementation/g1/g1MMUTracker.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1MMUTRACKER_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1MMUTRACKER_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/debug.hpp"
+
// Keeps track of the GC work and decides when it is OK to do GC work
// and for how long so that the MMU invariants are maintained.
@@ -127,3 +133,5 @@ public:
virtual double longest_pause(double current_time);
virtual double when_sec(double current_time, double pause_time);
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1MMUTRACKER_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp b/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp
index 0839d1140..765ef8bc6 100644
--- a/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp
+++ b/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp
@@ -22,8 +22,30 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_g1MarkSweep.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/codeCache.hpp"
+#include "code/icBuffer.hpp"
+#include "gc_implementation/g1/g1MarkSweep.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/modRefBarrierSet.hpp"
+#include "memory/referencePolicy.hpp"
+#include "memory/space.hpp"
+#include "oops/instanceRefKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/aprofiler.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/synchronizer.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/vmThread.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/events.hpp"
class HeapRegion;
diff --git a/src/share/vm/gc_implementation/g1/g1MarkSweep.hpp b/src/share/vm/gc_implementation/g1/g1MarkSweep.hpp
index 125d69dfd..c49bc1939 100644
--- a/src/share/vm/gc_implementation/g1/g1MarkSweep.hpp
+++ b/src/share/vm/gc_implementation/g1/g1MarkSweep.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,19 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1MARKSWEEP_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1MARKSWEEP_HPP
+
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "memory/genMarkSweep.hpp"
+#include "memory/generation.hpp"
+#include "memory/universe.hpp"
+#include "oops/markOop.hpp"
+#include "oops/oop.hpp"
+#include "runtime/timer.hpp"
+#include "utilities/growableArray.hpp"
+
class ReferenceProcessor;
// G1MarkSweep takes care of global mark-compact garbage collection for a
@@ -55,3 +68,5 @@ class G1MarkSweep : AllStatic {
static void allocate_stacks();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1MARKSWEEP_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1OopClosures.hpp b/src/share/vm/gc_implementation/g1/g1OopClosures.hpp
index 542e7b026..26e25f4f6 100644
--- a/src/share/vm/gc_implementation/g1/g1OopClosures.hpp
+++ b/src/share/vm/gc_implementation/g1/g1OopClosures.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1OOPCLOSURES_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1OOPCLOSURES_HPP
+
class HeapRegion;
class G1CollectedHeap;
class G1RemSet;
@@ -210,3 +213,5 @@ public:
bool do_header() { return false; }
int out_of_region() { return _out_of_region; }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1OOPCLOSURES_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp b/src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp
index 28ec22b04..c223336af 100644
--- a/src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp
+++ b/src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1OOPCLOSURES_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1OOPCLOSURES_INLINE_HPP
+
+#include "gc_implementation/g1/concurrentMark.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.hpp"
+#include "gc_implementation/g1/g1OopClosures.hpp"
+#include "gc_implementation/g1/g1RemSet.hpp"
+
/*
* This really ought to be an inline function, but apparently the C++
* compiler sometimes sees fit to ignore inline declarations. Sigh.
@@ -121,3 +129,5 @@ template <class T> inline void G1ParPushHeapRSClosure::do_oop_nv(T* p) {
}
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1OOPCLOSURES_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1RemSet.cpp b/src/share/vm/gc_implementation/g1/g1RemSet.cpp
index c96e49ef8..622028c40 100644
--- a/src/share/vm/gc_implementation/g1/g1RemSet.cpp
+++ b/src/share/vm/gc_implementation/g1/g1RemSet.cpp
@@ -22,8 +22,19 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_g1RemSet.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/bufferingOopClosure.hpp"
+#include "gc_implementation/g1/concurrentG1Refine.hpp"
+#include "gc_implementation/g1/concurrentG1RefineThread.hpp"
+#include "gc_implementation/g1/g1BlockOffsetTable.inline.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "gc_implementation/g1/g1OopClosures.inline.hpp"
+#include "gc_implementation/g1/g1RemSet.inline.hpp"
+#include "gc_implementation/g1/heapRegionSeq.inline.hpp"
+#include "memory/iterator.hpp"
+#include "oops/oop.inline.hpp"
+#include "utilities/intHisto.hpp"
#define CARD_REPEAT_HISTO 0
diff --git a/src/share/vm/gc_implementation/g1/g1RemSet.hpp b/src/share/vm/gc_implementation/g1/g1RemSet.hpp
index 2a40213c9..adb87a05e 100644
--- a/src/share/vm/gc_implementation/g1/g1RemSet.hpp
+++ b/src/share/vm/gc_implementation/g1/g1RemSet.hpp
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_HPP
+
// A G1RemSet provides ways of iterating over pointers into a selected
// collection set.
@@ -231,3 +234,5 @@ public:
bool apply_to_weak_ref_discovered_field() { return true; }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1RemSet.inline.hpp b/src/share/vm/gc_implementation/g1/g1RemSet.inline.hpp
index 9a4fae7ab..ded66d0aa 100644
--- a/src/share/vm/gc_implementation/g1/g1RemSet.inline.hpp
+++ b/src/share/vm/gc_implementation/g1/g1RemSet.inline.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP
+
+#include "gc_implementation/g1/g1RemSet.hpp"
+#include "gc_implementation/g1/heapRegionRemSet.hpp"
+#include "oops/oop.inline.hpp"
+
inline size_t G1RemSet::n_workers() {
if (_g1->workers() != NULL) {
return _g1->workers()->total_workers();
@@ -145,3 +152,5 @@ inline void UpdateRSOrPushRefOopClosure::do_oop_work(T* p) {
}
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp b/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp
index eea9ade89..8145aa9fc 100644
--- a/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp
+++ b/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,21 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_g1SATBCardTableModRefBS.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "gc_implementation/g1/satbQueue.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/thread.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
G1SATBCardTableModRefBS::G1SATBCardTableModRefBS(MemRegion whole_heap,
int max_covered_regions) :
diff --git a/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp b/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp
index 8d128a8bd..4e4e5d7bd 100644
--- a/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp
+++ b/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1SATBCARDTABLEMODREFBS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1SATBCARDTABLEMODREFBS_HPP
+
+#include "memory/cardTableModRefBS.hpp"
+#include "memory/memRegion.hpp"
+#include "oops/oop.inline.hpp"
+
#ifndef SERIALGC
class DirtyCardQueueSet;
@@ -115,3 +122,5 @@ class G1SATBCardTableLoggingModRefBS: public G1SATBCardTableModRefBS {
#endif // SERIALGC
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1SATBCARDTABLEMODREFBS_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1_globals.cpp b/src/share/vm/gc_implementation/g1/g1_globals.cpp
index fa6a98582..af7405df2 100644
--- a/src/share/vm/gc_implementation/g1/g1_globals.cpp
+++ b/src/share/vm/gc_implementation/g1/g1_globals.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_g1_globals.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/g1_globals.hpp"
G1_FLAGS(MATERIALIZE_DEVELOPER_FLAG, MATERIALIZE_PD_DEVELOPER_FLAG, \
MATERIALIZE_PRODUCT_FLAG, MATERIALIZE_PD_PRODUCT_FLAG, \
diff --git a/src/share/vm/gc_implementation/g1/g1_globals.hpp b/src/share/vm/gc_implementation/g1/g1_globals.hpp
index 67dc4d1c4..e9d908e4b 100644
--- a/src/share/vm/gc_implementation/g1/g1_globals.hpp
+++ b/src/share/vm/gc_implementation/g1/g1_globals.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP
+
+#include "runtime/globals.hpp"
+
//
// Defines all globals flags used by the garbage-first compiler.
//
@@ -282,3 +287,5 @@
" controls whether G1 allows the RICM optimization")
G1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG)
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP
diff --git a/src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp b/src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp
index 8c3dab9fe..607800367 100644
--- a/src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp
+++ b/src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1_SPECIALIZED_OOP_CLOSURES_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_G1_SPECIALIZED_OOP_CLOSURES_HPP
+
// The following OopClosure types get specialized versions of
// "oop_oop_iterate" that invoke the closures' do_oop methods
// non-virtually, using a mechanism defined in this file. Extend these
@@ -63,3 +66,5 @@ class FilterAndMarkInHeapRegionAndIntoCSClosure;
#endif
#define FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES(f)
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_SPECIALIZED_OOP_CLOSURES_HPP
diff --git a/src/share/vm/gc_implementation/g1/heapRegion.cpp b/src/share/vm/gc_implementation/g1/heapRegion.cpp
index dbe2d24a6..ab0226683 100644
--- a/src/share/vm/gc_implementation/g1/heapRegion.cpp
+++ b/src/share/vm/gc_implementation/g1/heapRegion.cpp
@@ -22,8 +22,17 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_heapRegion.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/concurrentZFThread.hpp"
+#include "gc_implementation/g1/g1BlockOffsetTable.inline.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1OopClosures.inline.hpp"
+#include "gc_implementation/g1/heapRegion.inline.hpp"
+#include "gc_implementation/g1/heapRegionRemSet.hpp"
+#include "gc_implementation/g1/heapRegionSeq.inline.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/iterator.hpp"
+#include "oops/oop.inline.hpp"
int HeapRegion::LogOfHRGrainBytes = 0;
int HeapRegion::LogOfHRGrainWords = 0;
diff --git a/src/share/vm/gc_implementation/g1/heapRegion.hpp b/src/share/vm/gc_implementation/g1/heapRegion.hpp
index 48118ceb7..f11c6a3a3 100644
--- a/src/share/vm/gc_implementation/g1/heapRegion.hpp
+++ b/src/share/vm/gc_implementation/g1/heapRegion.hpp
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGION_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGION_HPP
+
+#include "gc_implementation/g1/g1BlockOffsetTable.inline.hpp"
+#include "gc_implementation/g1/g1_specialized_oop_closures.hpp"
+#include "gc_implementation/g1/survRateGroup.hpp"
+#include "gc_implementation/shared/ageTable.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "memory/space.inline.hpp"
+#include "memory/watermark.hpp"
+
#ifndef SERIALGC
// A HeapRegion is the smallest piece of a G1CollectedHeap that
@@ -945,3 +956,5 @@ public:
// End: ***
#endif // SERIALGC
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGION_HPP
diff --git a/src/share/vm/gc_implementation/g1/heapRegion.inline.hpp b/src/share/vm/gc_implementation/g1/heapRegion.inline.hpp
index f8ca7c81e..3750bdae3 100644
--- a/src/share/vm/gc_implementation/g1/heapRegion.inline.hpp
+++ b/src/share/vm/gc_implementation/g1/heapRegion.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGION_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGION_INLINE_HPP
+
inline HeapWord* G1OffsetTableContigSpace::allocate(size_t size) {
HeapWord* res = ContiguousSpace::allocate(size);
if (res != NULL) {
@@ -58,3 +61,5 @@ inline HeapWord*
G1OffsetTableContigSpace::block_start_const(const void* p) const {
return _offsets.block_start_const(p);
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGION_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp b/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp
index 5d055f655..dde8255cd 100644
--- a/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp
+++ b/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,16 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_heapRegionRemSet.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/concurrentG1Refine.hpp"
+#include "gc_implementation/g1/g1BlockOffsetTable.inline.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/heapRegionRemSet.hpp"
+#include "gc_implementation/g1/heapRegionSeq.inline.hpp"
+#include "memory/allocation.hpp"
+#include "memory/space.inline.hpp"
+#include "utilities/bitMap.inline.hpp"
+#include "utilities/globalDefinitions.hpp"
#define HRRS_VERBOSE 0
diff --git a/src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp b/src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp
index 741dea5f2..62378db57 100644
--- a/src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp
+++ b/src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONREMSET_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONREMSET_HPP
+
+#include "gc_implementation/g1/sparsePRT.hpp"
+
// Remembered set for a heap region. Represent a set of "cards" that
// contain pointers into the owner heap region. Cards are defined somewhat
// abstractly, in terms of what the "BlockOffsetTable" in use can parse.
@@ -426,3 +431,5 @@ public:
};
#endif
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONREMSET_HPP
diff --git a/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp b/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp
index 0640cbe0d..336ba21c4 100644
--- a/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp
+++ b/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_heapRegionSeq.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/heapRegionSeq.hpp"
+#include "memory/allocation.hpp"
// Local to this file.
diff --git a/src/share/vm/gc_implementation/g1/heapRegionSeq.hpp b/src/share/vm/gc_implementation/g1/heapRegionSeq.hpp
index 6d2e5669b..1a75a2530 100644
--- a/src/share/vm/gc_implementation/g1/heapRegionSeq.hpp
+++ b/src/share/vm/gc_implementation/g1/heapRegionSeq.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONSEQ_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONSEQ_HPP
+
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "utilities/growableArray.hpp"
+
class HeapRegion;
class HeapRegionClosure;
@@ -108,3 +114,5 @@ class HeapRegionSeq: public CHeapObj {
void print_empty_runs();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONSEQ_HPP
diff --git a/src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp b/src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp
index 71c7c724c..55adbdede 100644
--- a/src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp
+++ b/src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONSEQ_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONSEQ_INLINE_HPP
+
+#include "gc_implementation/g1/heapRegionSeq.hpp"
+
inline HeapRegion* HeapRegionSeq::addr_to_region(const void* addr) {
assert(_seq_bottom != NULL, "bad _seq_bottom in addr_to_region");
if ((char*) addr >= _seq_bottom) {
@@ -38,3 +43,5 @@ inline HeapRegion* HeapRegionSeq::addr_to_region(const void* addr) {
}
return NULL;
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONSEQ_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/g1/ptrQueue.cpp b/src/share/vm/gc_implementation/g1/ptrQueue.cpp
index bc531241a..dac9fc364 100644
--- a/src/share/vm/gc_implementation/g1/ptrQueue.cpp
+++ b/src/share/vm/gc_implementation/g1/ptrQueue.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,21 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_ptrQueue.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/ptrQueue.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "runtime/mutex.hpp"
+#include "runtime/mutexLocker.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
PtrQueue::PtrQueue(PtrQueueSet* qset_, bool perm, bool active) :
_qset(qset_), _buf(NULL), _index(0), _active(active),
diff --git a/src/share/vm/gc_implementation/g1/ptrQueue.hpp b/src/share/vm/gc_implementation/g1/ptrQueue.hpp
index c66973b0c..d5a128240 100644
--- a/src/share/vm/gc_implementation/g1/ptrQueue.hpp
+++ b/src/share/vm/gc_implementation/g1/ptrQueue.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_PTRQUEUE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_PTRQUEUE_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/sizes.hpp"
+
// There are various techniques that require threads to be able to log
// addresses. For example, a generational write barrier might log
// the addresses of modified old-generation objects. This type supports
@@ -293,3 +299,5 @@ public:
// Notify the consumer if the number of buffers crossed the threshold
void notify_if_necessary();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_PTRQUEUE_HPP
diff --git a/src/share/vm/gc_implementation/g1/satbQueue.cpp b/src/share/vm/gc_implementation/g1/satbQueue.cpp
index d3181a61f..b6b15e134 100644
--- a/src/share/vm/gc_implementation/g1/satbQueue.cpp
+++ b/src/share/vm/gc_implementation/g1/satbQueue.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_satbQueue.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/satbQueue.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/sharedHeap.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/thread.hpp"
void ObjPtrQueue::apply_closure(ObjectClosure* cl) {
if (_buf != NULL) {
diff --git a/src/share/vm/gc_implementation/g1/satbQueue.hpp b/src/share/vm/gc_implementation/g1/satbQueue.hpp
index 6a1f50e2b..a18364236 100644
--- a/src/share/vm/gc_implementation/g1/satbQueue.hpp
+++ b/src/share/vm/gc_implementation/g1/satbQueue.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_SATBQUEUE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_SATBQUEUE_HPP
+
+#include "gc_implementation/g1/ptrQueue.hpp"
+
class ObjectClosure;
class JavaThread;
@@ -113,3 +118,5 @@ public:
void abandon_partial_marking();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_SATBQUEUE_HPP
diff --git a/src/share/vm/gc_implementation/g1/sparsePRT.cpp b/src/share/vm/gc_implementation/g1/sparsePRT.cpp
index 896b5ee70..042ca86c6 100644
--- a/src/share/vm/gc_implementation/g1/sparsePRT.cpp
+++ b/src/share/vm/gc_implementation/g1/sparsePRT.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sparsePRT.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "gc_implementation/g1/heapRegionRemSet.hpp"
+#include "gc_implementation/g1/sparsePRT.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "memory/space.inline.hpp"
+#include "runtime/mutexLocker.hpp"
#define SPARSE_PRT_VERBOSE 0
diff --git a/src/share/vm/gc_implementation/g1/sparsePRT.hpp b/src/share/vm/gc_implementation/g1/sparsePRT.hpp
index 715a5515e..86e1789db 100644
--- a/src/share/vm/gc_implementation/g1/sparsePRT.hpp
+++ b/src/share/vm/gc_implementation/g1/sparsePRT.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_SPARSEPRT_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_SPARSEPRT_HPP
+
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "memory/allocation.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "runtime/mutex.hpp"
+#include "utilities/globalDefinitions.hpp"
+
// Sparse remembered set for a heap region (the "owning" region). Maps
// indices of other regions to short sequences of cards in the other region
// that might contain pointers into the owner region.
@@ -289,3 +299,5 @@ public:
return RSHashTableIter::has_next(card_index);
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_SPARSEPRT_HPP
diff --git a/src/share/vm/gc_implementation/g1/survRateGroup.cpp b/src/share/vm/gc_implementation/g1/survRateGroup.cpp
index b471b7bfc..a3bbb692d 100644
--- a/src/share/vm/gc_implementation/g1/survRateGroup.cpp
+++ b/src/share/vm/gc_implementation/g1/survRateGroup.cpp
@@ -22,8 +22,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_survRateGroup.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "gc_implementation/g1/survRateGroup.hpp"
+#include "memory/allocation.hpp"
SurvRateGroup::SurvRateGroup(G1CollectorPolicy* g1p,
const char* name,
diff --git a/src/share/vm/gc_implementation/g1/survRateGroup.hpp b/src/share/vm/gc_implementation/g1/survRateGroup.hpp
index cc4c9eb0b..c9617f2ed 100644
--- a/src/share/vm/gc_implementation/g1/survRateGroup.hpp
+++ b/src/share/vm/gc_implementation/g1/survRateGroup.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_SURVRATEGROUP_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_SURVRATEGROUP_HPP
+
+#include "utilities/numberSeq.hpp"
+
class G1CollectorPolicy;
class SurvRateGroup : public CHeapObj {
@@ -92,3 +97,5 @@ public:
void print_surv_rate_summary();
#endif // PRODUCT
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_SURVRATEGROUP_HPP
diff --git a/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp b/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
index 575e67817..d11f7fa60 100644
--- a/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
+++ b/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_vm_operations_g1.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "gc_implementation/g1/vm_operations_g1.hpp"
+#include "gc_implementation/shared/isGCActiveMark.hpp"
+#include "runtime/interfaceSupport.hpp"
void VM_G1CollectForAllocation::doit() {
JvmtiGCForAllocationMarker jgcm;
diff --git a/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp b/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp
index d05beac9e..c55c252be 100644
--- a/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp
+++ b/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_VM_OPERATIONS_G1_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_G1_VM_OPERATIONS_G1_HPP
+
+#include "gc_implementation/shared/vmGCOperations.hpp"
+
// VM_operations for the G1 collector.
// VM_GC_Operation:
// - VM_CGC_Operation
@@ -114,3 +119,5 @@ class VM_CGC_Operation: public VM_Operation {
return "concurrent gc";
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_G1_VM_OPERATIONS_G1_HPP
diff --git a/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep b/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep
deleted file mode 100644
index 7f1a07700..000000000
--- a/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep
+++ /dev/null
@@ -1,258 +0,0 @@
-//
-// Copyright (c) 2004, 2010, 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.
-//
-//
-
-// NOTE: DO NOT CHANGE THIS COPYRIGHT TO NEW STYLE - IT WILL BREAK makeDeps!
-
-binaryTreeDictionary.cpp allocationStats.hpp
-binaryTreeDictionary.cpp binaryTreeDictionary.hpp
-binaryTreeDictionary.cpp globals.hpp
-binaryTreeDictionary.cpp ostream.hpp
-binaryTreeDictionary.cpp space.inline.hpp
-binaryTreeDictionary.cpp spaceDecorator.hpp
-
-binaryTreeDictionary.hpp freeBlockDictionary.hpp
-binaryTreeDictionary.hpp freeList.hpp
-
-blockOffsetTable.inline.hpp concurrentMarkSweepGeneration.hpp
-
-cmsAdaptiveSizePolicy.cpp cmsAdaptiveSizePolicy.hpp
-cmsAdaptiveSizePolicy.cpp defNewGeneration.hpp
-cmsAdaptiveSizePolicy.cpp gcStats.hpp
-cmsAdaptiveSizePolicy.cpp genCollectedHeap.hpp
-cmsAdaptiveSizePolicy.cpp thread.hpp
-cmsAdaptiveSizePolicy.cpp os_<os_family>.inline.hpp
-
-cmsAdaptiveSizePolicy.hpp adaptiveSizePolicy.hpp
-cmsAdaptiveSizePolicy.hpp timer.hpp
-
-cmsCollectorPolicy.cpp arguments.hpp
-cmsCollectorPolicy.cpp cardTableRS.hpp
-cmsCollectorPolicy.cpp cmsAdaptiveSizePolicy.hpp
-cmsCollectorPolicy.cpp cmsGCAdaptivePolicyCounters.hpp
-cmsCollectorPolicy.cpp cmsCollectorPolicy.hpp
-cmsCollectorPolicy.cpp collectorPolicy.hpp
-cmsCollectorPolicy.cpp gcLocker.inline.hpp
-cmsCollectorPolicy.cpp genCollectedHeap.hpp
-cmsCollectorPolicy.cpp gcPolicyCounters.hpp
-cmsCollectorPolicy.cpp generationSpec.hpp
-cmsCollectorPolicy.cpp globals_extension.hpp
-cmsCollectorPolicy.cpp handles.inline.hpp
-cmsCollectorPolicy.cpp java.hpp
-cmsCollectorPolicy.cpp parNewGeneration.hpp
-cmsCollectorPolicy.cpp space.hpp
-cmsCollectorPolicy.cpp thread_<os_family>.inline.hpp
-cmsCollectorPolicy.cpp universe.hpp
-cmsCollectorPolicy.cpp vmGCOperations.hpp
-cmsCollectorPolicy.cpp vmThread.hpp
-
-cmsCollectorPolicy.hpp collectorPolicy.hpp
-
-cmsGCAdaptivePolicyCounters.cpp cmsGCAdaptivePolicyCounters.hpp
-cmsGCAdaptivePolicyCounters.cpp resourceArea.hpp
-
-cmsGCAdaptivePolicyCounters.hpp cmsAdaptiveSizePolicy.hpp
-cmsGCAdaptivePolicyCounters.hpp gcAdaptivePolicyCounters.hpp
-cmsGCAdaptivePolicyCounters.hpp gcStats.hpp
-cmsGCAdaptivePolicyCounters.hpp perfData.hpp
-
-cmsLockVerifier.cpp cmsLockVerifier.hpp
-cmsLockVerifier.cpp concurrentMarkSweepThread.hpp
-cmsLockVerifier.cpp vmThread.hpp
-
-cmsLockVerifier.hpp mutex.hpp
-
-cmsOopClosures.hpp genOopClosures.hpp
-
-cmsOopClosures.inline.hpp cmsOopClosures.hpp
-cmsOopClosures.inline.hpp concurrentMarkSweepGeneration.hpp
-
-cmsPermGen.cpp blockOffsetTable.inline.hpp
-cmsPermGen.cpp cSpaceCounters.hpp
-cmsPermGen.cpp cmsPermGen.hpp
-cmsPermGen.cpp collectedHeap.inline.hpp
-cmsPermGen.cpp compactPermGen.hpp
-cmsPermGen.cpp concurrentMarkSweepGeneration.inline.hpp
-cmsPermGen.cpp genCollectedHeap.hpp
-cmsPermGen.cpp generation.inline.hpp
-cmsPermGen.cpp java.hpp
-cmsPermGen.cpp oop.inline.hpp
-cmsPermGen.cpp permGen.hpp
-cmsPermGen.cpp universe.hpp
-
-cmsPermGen.hpp concurrentMarkSweepGeneration.hpp
-cmsPermGen.hpp permGen.hpp
-
-compactibleFreeListSpace.cpp allocation.inline.hpp
-compactibleFreeListSpace.cpp blockOffsetTable.inline.hpp
-compactibleFreeListSpace.cpp cmsLockVerifier.hpp
-compactibleFreeListSpace.cpp collectedHeap.hpp
-compactibleFreeListSpace.cpp compactibleFreeListSpace.hpp
-compactibleFreeListSpace.cpp concurrentMarkSweepGeneration.inline.hpp
-compactibleFreeListSpace.cpp concurrentMarkSweepThread.hpp
-compactibleFreeListSpace.cpp copy.hpp
-compactibleFreeListSpace.cpp globals.hpp
-compactibleFreeListSpace.cpp handles.inline.hpp
-compactibleFreeListSpace.cpp init.hpp
-compactibleFreeListSpace.cpp java.hpp
-compactibleFreeListSpace.cpp liveRange.hpp
-compactibleFreeListSpace.cpp oop.inline.hpp
-compactibleFreeListSpace.cpp resourceArea.hpp
-compactibleFreeListSpace.cpp spaceDecorator.hpp
-compactibleFreeListSpace.cpp universe.inline.hpp
-compactibleFreeListSpace.cpp vmThread.hpp
-
-compactibleFreeListSpace.hpp binaryTreeDictionary.hpp
-compactibleFreeListSpace.hpp blockOffsetTable.inline.hpp
-compactibleFreeListSpace.hpp freeList.hpp
-compactibleFreeListSpace.hpp promotionInfo.hpp
-compactibleFreeListSpace.hpp space.hpp
-
-compactingPermGenGen.cpp concurrentMarkSweepGeneration.inline.hpp
-
-concurrentMarkSweepGeneration.cpp cardTableRS.hpp
-concurrentMarkSweepGeneration.cpp cmsAdaptiveSizePolicy.hpp
-concurrentMarkSweepGeneration.cpp cmsCollectorPolicy.hpp
-concurrentMarkSweepGeneration.cpp cmsGCAdaptivePolicyCounters.hpp
-concurrentMarkSweepGeneration.cpp cmsOopClosures.inline.hpp
-concurrentMarkSweepGeneration.cpp codeCache.hpp
-concurrentMarkSweepGeneration.cpp collectedHeap.inline.hpp
-concurrentMarkSweepGeneration.cpp collectorCounters.hpp
-concurrentMarkSweepGeneration.cpp collectorPolicy.hpp
-concurrentMarkSweepGeneration.cpp compactibleFreeListSpace.hpp
-concurrentMarkSweepGeneration.cpp concurrentMarkSweepGeneration.inline.hpp
-concurrentMarkSweepGeneration.cpp concurrentMarkSweepThread.hpp
-concurrentMarkSweepGeneration.cpp gcLocker.inline.hpp
-concurrentMarkSweepGeneration.cpp genCollectedHeap.hpp
-concurrentMarkSweepGeneration.cpp genMarkSweep.hpp
-concurrentMarkSweepGeneration.cpp genOopClosures.inline.hpp
-concurrentMarkSweepGeneration.cpp globals_extension.hpp
-concurrentMarkSweepGeneration.cpp handles.inline.hpp
-concurrentMarkSweepGeneration.cpp isGCActiveMark.hpp
-concurrentMarkSweepGeneration.cpp iterator.hpp
-concurrentMarkSweepGeneration.cpp java.hpp
-concurrentMarkSweepGeneration.cpp jvmtiExport.hpp
-concurrentMarkSweepGeneration.cpp memoryService.hpp
-concurrentMarkSweepGeneration.cpp oop.inline.hpp
-concurrentMarkSweepGeneration.cpp parNewGeneration.hpp
-concurrentMarkSweepGeneration.cpp referencePolicy.hpp
-concurrentMarkSweepGeneration.cpp resourceArea.hpp
-concurrentMarkSweepGeneration.cpp runtimeService.hpp
-concurrentMarkSweepGeneration.cpp symbolTable.hpp
-concurrentMarkSweepGeneration.cpp systemDictionary.hpp
-concurrentMarkSweepGeneration.cpp vmCMSOperations.hpp
-concurrentMarkSweepGeneration.cpp vmThread.hpp
-
-concurrentMarkSweepGeneration.hpp bitMap.inline.hpp
-concurrentMarkSweepGeneration.hpp freeBlockDictionary.hpp
-concurrentMarkSweepGeneration.hpp gSpaceCounters.hpp
-concurrentMarkSweepGeneration.hpp gcStats.hpp
-concurrentMarkSweepGeneration.hpp generation.hpp
-concurrentMarkSweepGeneration.hpp generationCounters.hpp
-concurrentMarkSweepGeneration.hpp memoryService.hpp
-concurrentMarkSweepGeneration.hpp mutexLocker.hpp
-concurrentMarkSweepGeneration.hpp stack.inline.hpp
-concurrentMarkSweepGeneration.hpp taskqueue.hpp
-concurrentMarkSweepGeneration.hpp virtualspace.hpp
-concurrentMarkSweepGeneration.hpp yieldingWorkgroup.hpp
-
-concurrentMarkSweepGeneration.inline.hpp cmsLockVerifier.hpp
-concurrentMarkSweepGeneration.inline.hpp compactibleFreeListSpace.hpp
-concurrentMarkSweepGeneration.inline.hpp concurrentMarkSweepGeneration.hpp
-concurrentMarkSweepGeneration.inline.hpp concurrentMarkSweepThread.hpp
-concurrentMarkSweepGeneration.inline.hpp defNewGeneration.hpp
-concurrentMarkSweepGeneration.inline.hpp gcUtil.hpp
-
-concurrentMarkSweepThread.cpp concurrentMarkSweepGeneration.inline.hpp
-concurrentMarkSweepThread.cpp concurrentMarkSweepThread.hpp
-concurrentMarkSweepThread.cpp genCollectedHeap.hpp
-concurrentMarkSweepThread.cpp init.hpp
-concurrentMarkSweepThread.cpp instanceRefKlass.hpp
-concurrentMarkSweepThread.cpp interfaceSupport.hpp
-concurrentMarkSweepThread.cpp java.hpp
-concurrentMarkSweepThread.cpp javaCalls.hpp
-concurrentMarkSweepThread.cpp mutexLocker.hpp
-concurrentMarkSweepThread.cpp oop.inline.hpp
-concurrentMarkSweepThread.cpp os.hpp
-concurrentMarkSweepThread.cpp systemDictionary.hpp
-concurrentMarkSweepThread.cpp vmThread.hpp
-
-concurrentMarkSweepThread.hpp concurrentGCThread.hpp
-concurrentMarkSweepThread.hpp concurrentMarkSweepGeneration.hpp
-concurrentMarkSweepThread.hpp thread_<os_family>.inline.hpp
-
-freeBlockDictionary.cpp freeBlockDictionary.hpp
-freeBlockDictionary.cpp thread_<os_family>.inline.hpp
-
-freeBlockDictionary.hpp allocation.hpp
-freeBlockDictionary.hpp debug.hpp
-freeBlockDictionary.hpp freeChunk.hpp
-freeBlockDictionary.hpp globalDefinitions.hpp
-freeBlockDictionary.hpp memRegion.hpp
-freeBlockDictionary.hpp mutex.hpp
-freeBlockDictionary.hpp ostream.hpp
-
-freeChunk.cpp copy.hpp
-freeChunk.cpp freeBlockDictionary.hpp
-
-freeChunk.hpp allocation.hpp
-freeChunk.hpp debug.hpp
-freeChunk.hpp globalDefinitions.hpp
-freeChunk.hpp markOop.hpp
-freeChunk.hpp memRegion.hpp
-freeChunk.hpp mutex.hpp
-freeChunk.hpp ostream.hpp
-
-freeList.cpp freeBlockDictionary.hpp
-freeList.cpp freeList.hpp
-freeList.cpp globals.hpp
-freeList.cpp mutex.hpp
-freeList.cpp sharedHeap.hpp
-freeList.cpp vmThread.hpp
-
-freeList.hpp allocationStats.hpp
-
-promotionInfo.cpp compactibleFreeListSpace.hpp
-promotionInfo.cpp markOop.inline.hpp
-promotionInfo.cpp oop.inline.hpp
-promotionInfo.cpp promotionInfo.hpp
-
-promotionInfo.hpp allocation.hpp
-promotionInfo.hpp freeChunk.hpp
-
-vmCMSOperations.cpp concurrentMarkSweepGeneration.inline.hpp
-vmCMSOperations.cpp concurrentMarkSweepThread.hpp
-vmCMSOperations.cpp dtrace.hpp
-vmCMSOperations.cpp gcLocker.inline.hpp
-vmCMSOperations.cpp isGCActiveMark.hpp
-vmCMSOperations.cpp interfaceSupport.hpp
-vmCMSOperations.cpp vmCMSOperations.hpp
-
-vmCMSOperations.hpp concurrentMarkSweepGeneration.hpp
-vmCMSOperations.hpp gcCause.hpp
-vmCMSOperations.hpp vm_operations.hpp
-vmCMSOperations.hpp vmGCOperations.hpp
-
-yieldingWorkgroup.cpp yieldingWorkgroup.hpp
-
-yieldingWorkgroup.hpp workgroup.hpp
diff --git a/src/share/vm/gc_implementation/includeDB_gc_g1 b/src/share/vm/gc_implementation/includeDB_gc_g1
deleted file mode 100644
index 073a48cad..000000000
--- a/src/share/vm/gc_implementation/includeDB_gc_g1
+++ /dev/null
@@ -1,379 +0,0 @@
-//
-// Copyright (c) 2004, 2010, 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.
-//
-//
-
-// NOTE: DO NOT CHANGE THIS COPYRIGHT TO NEW STYLE - IT WILL BREAK makeDeps!
-
-bufferingOopClosure.hpp genOopClosures.hpp
-bufferingOopClosure.hpp generation.hpp
-bufferingOopClosure.hpp os.hpp
-bufferingOopClosure.hpp taskqueue.hpp
-
-cardTableRS.cpp concurrentMark.hpp
-cardTableRS.cpp g1SATBCardTableModRefBS.hpp
-
-collectionSetChooser.cpp g1CollectedHeap.inline.hpp
-collectionSetChooser.cpp g1CollectorPolicy.hpp
-collectionSetChooser.cpp collectionSetChooser.hpp
-collectionSetChooser.cpp space.inline.hpp
-
-collectionSetChooser.hpp heapRegion.hpp
-collectionSetChooser.hpp growableArray.hpp
-
-concurrentG1Refine.cpp atomic.hpp
-concurrentG1Refine.cpp concurrentG1Refine.hpp
-concurrentG1Refine.cpp concurrentG1RefineThread.hpp
-concurrentG1Refine.cpp copy.hpp
-concurrentG1Refine.cpp g1CollectedHeap.inline.hpp
-concurrentG1Refine.cpp g1CollectorPolicy.hpp
-concurrentG1Refine.cpp g1RemSet.hpp
-concurrentG1Refine.cpp space.inline.hpp
-concurrentG1Refine.cpp heapRegionSeq.inline.hpp
-
-concurrentG1Refine.hpp globalDefinitions.hpp
-concurrentG1Refine.hpp allocation.hpp
-concurrentG1Refine.hpp cardTableModRefBS.hpp
-concurrentG1Refine.hpp thread.hpp
-
-concurrentG1RefineThread.cpp concurrentG1Refine.hpp
-concurrentG1RefineThread.cpp concurrentG1RefineThread.hpp
-concurrentG1RefineThread.cpp g1CollectedHeap.inline.hpp
-concurrentG1RefineThread.cpp g1CollectorPolicy.hpp
-concurrentG1RefineThread.cpp handles.inline.hpp
-concurrentG1RefineThread.cpp mutexLocker.hpp
-concurrentG1RefineThread.cpp resourceArea.hpp
-
-concurrentG1RefineThread.hpp concurrentGCThread.hpp
-
-concurrentMark.cpp concurrentMark.hpp
-concurrentMark.cpp concurrentMarkThread.inline.hpp
-concurrentMark.cpp g1CollectedHeap.inline.hpp
-concurrentMark.cpp g1CollectorPolicy.hpp
-concurrentMark.cpp g1RemSet.hpp
-concurrentMark.cpp genOopClosures.inline.hpp
-concurrentMark.cpp heapRegionRemSet.hpp
-concurrentMark.cpp heapRegionSeq.inline.hpp
-concurrentMark.cpp handles.inline.hpp
-concurrentMark.cpp java.hpp
-concurrentMark.cpp oop.inline.hpp
-concurrentMark.cpp referencePolicy.hpp
-concurrentMark.cpp resourceArea.hpp
-concurrentMark.cpp symbolTable.hpp
-
-concurrentMark.hpp heapRegion.hpp
-concurrentMark.hpp taskqueue.hpp
-
-concurrentMarkThread.cpp concurrentMarkThread.inline.hpp
-concurrentMarkThread.cpp g1CollectedHeap.inline.hpp
-concurrentMarkThread.cpp g1CollectorPolicy.hpp
-concurrentMarkThread.cpp g1MMUTracker.hpp
-concurrentMarkThread.cpp resourceArea.hpp
-concurrentMarkThread.cpp vm_operations_g1.hpp
-concurrentMarkThread.cpp vmThread.hpp
-
-concurrentMarkThread.hpp concurrentGCThread.hpp
-
-concurrentMarkThread.inline.hpp concurrentMark.hpp
-concurrentMarkThread.inline.hpp concurrentMarkThread.hpp
-
-concurrentZFThread.cpp concurrentZFThread.hpp
-concurrentZFThread.cpp heapRegion.hpp
-concurrentZFThread.cpp g1CollectedHeap.inline.hpp
-concurrentZFThread.cpp copy.hpp
-concurrentZFThread.cpp mutexLocker.hpp
-concurrentZFThread.cpp space.inline.hpp
-
-concurrentZFThread.hpp concurrentGCThread.hpp
-
-dirtyCardQueue.cpp atomic.hpp
-dirtyCardQueue.cpp dirtyCardQueue.hpp
-dirtyCardQueue.cpp heapRegionRemSet.hpp
-dirtyCardQueue.cpp mutexLocker.hpp
-dirtyCardQueue.cpp safepoint.hpp
-dirtyCardQueue.cpp thread.hpp
-dirtyCardQueue.cpp thread_<os_family>.inline.hpp
-dirtyCardQueue.cpp workgroup.hpp
-
-dirtyCardQueue.hpp allocation.hpp
-dirtyCardQueue.hpp ptrQueue.hpp
-
-g1BlockOffsetTable.cpp g1BlockOffsetTable.inline.hpp
-g1BlockOffsetTable.cpp java.hpp
-g1BlockOffsetTable.cpp oop.inline.hpp
-g1BlockOffsetTable.cpp space.hpp
-
-g1BlockOffsetTable.hpp globalDefinitions.hpp
-g1BlockOffsetTable.hpp memRegion.hpp
-g1BlockOffsetTable.hpp virtualspace.hpp
-
-g1BlockOffsetTable.inline.hpp g1BlockOffsetTable.hpp
-g1BlockOffsetTable.inline.hpp space.hpp
-
-g1CollectedHeap.cpp aprofiler.hpp
-g1CollectedHeap.cpp bufferingOopClosure.hpp
-g1CollectedHeap.cpp concurrentG1Refine.hpp
-g1CollectedHeap.cpp concurrentG1RefineThread.hpp
-g1CollectedHeap.cpp concurrentMarkThread.inline.hpp
-g1CollectedHeap.cpp concurrentZFThread.hpp
-g1CollectedHeap.cpp g1CollectedHeap.inline.hpp
-g1CollectedHeap.cpp g1CollectorPolicy.hpp
-g1CollectedHeap.cpp g1MarkSweep.hpp
-g1CollectedHeap.cpp g1RemSet.inline.hpp
-g1CollectedHeap.cpp g1OopClosures.inline.hpp
-g1CollectedHeap.cpp genOopClosures.inline.hpp
-g1CollectedHeap.cpp gcLocker.inline.hpp
-g1CollectedHeap.cpp generationSpec.hpp
-g1CollectedHeap.cpp heapRegionRemSet.hpp
-g1CollectedHeap.cpp heapRegionSeq.inline.hpp
-g1CollectedHeap.cpp icBuffer.hpp
-g1CollectedHeap.cpp isGCActiveMark.hpp
-g1CollectedHeap.cpp oop.inline.hpp
-g1CollectedHeap.cpp oop.pcgc.inline.hpp
-g1CollectedHeap.cpp vm_operations_g1.hpp
-g1CollectedHeap.cpp vmThread.hpp
-
-g1CollectedHeap.hpp barrierSet.hpp
-g1CollectedHeap.hpp g1RemSet.hpp
-g1CollectedHeap.hpp heapRegion.hpp
-g1CollectedHeap.hpp memRegion.hpp
-g1CollectedHeap.hpp parGCAllocBuffer.hpp
-g1CollectedHeap.hpp sharedHeap.hpp
-
-g1CollectedHeap.inline.hpp concurrentMark.hpp
-g1CollectedHeap.inline.hpp g1CollectedHeap.hpp
-g1CollectedHeap.inline.hpp heapRegionSeq.hpp
-g1CollectedHeap.inline.hpp taskqueue.hpp
-
-g1CollectorPolicy.cpp arguments.hpp
-g1CollectorPolicy.cpp concurrentG1Refine.hpp
-g1CollectorPolicy.cpp concurrentMark.hpp
-g1CollectorPolicy.cpp concurrentMarkThread.inline.hpp
-g1CollectorPolicy.cpp debug.hpp
-g1CollectorPolicy.cpp java.hpp
-g1CollectorPolicy.cpp g1CollectedHeap.inline.hpp
-g1CollectorPolicy.cpp g1CollectorPolicy.hpp
-g1CollectorPolicy.cpp heapRegionRemSet.hpp
-g1CollectorPolicy.cpp mutexLocker.hpp
-g1CollectorPolicy.cpp gcPolicyCounters.hpp
-
-g1CollectorPolicy.hpp collectorPolicy.hpp
-g1CollectorPolicy.hpp collectionSetChooser.hpp
-g1CollectorPolicy.hpp g1MMUTracker.hpp
-
-g1_globals.cpp g1_globals.hpp
-
-g1_globals.hpp globals.hpp
-
-globals.cpp g1_globals.hpp
-top.hpp g1_globals.hpp
-
-g1MarkSweep.cpp aprofiler.hpp
-g1MarkSweep.cpp biasedLocking.hpp
-g1MarkSweep.cpp codeCache.hpp
-g1MarkSweep.cpp events.hpp
-g1MarkSweep.cpp fprofiler.hpp
-g1MarkSweep.hpp g1CollectedHeap.inline.hpp
-g1MarkSweep.cpp g1MarkSweep.hpp
-g1MarkSweep.cpp gcLocker.hpp
-g1MarkSweep.cpp genCollectedHeap.hpp
-g1MarkSweep.hpp heapRegion.hpp
-g1MarkSweep.cpp icBuffer.hpp
-g1MarkSweep.cpp instanceRefKlass.hpp
-g1MarkSweep.cpp javaClasses.hpp
-g1MarkSweep.cpp jvmtiExport.hpp
-g1MarkSweep.cpp copy.hpp
-g1MarkSweep.cpp modRefBarrierSet.hpp
-g1MarkSweep.cpp oop.inline.hpp
-g1MarkSweep.cpp referencePolicy.hpp
-g1MarkSweep.cpp space.hpp
-g1MarkSweep.cpp symbolTable.hpp
-g1MarkSweep.cpp synchronizer.hpp
-g1MarkSweep.cpp systemDictionary.hpp
-g1MarkSweep.cpp thread.hpp
-g1MarkSweep.cpp vmSymbols.hpp
-g1MarkSweep.cpp vmThread.hpp
-
-g1MarkSweep.hpp generation.hpp
-g1MarkSweep.hpp growableArray.hpp
-g1MarkSweep.hpp markOop.hpp
-g1MarkSweep.hpp genMarkSweep.hpp
-g1MarkSweep.hpp oop.hpp
-g1MarkSweep.hpp timer.hpp
-g1MarkSweep.hpp universe.hpp
-
-g1MemoryPool.cpp heapRegion.hpp
-g1MemoryPool.cpp g1CollectedHeap.inline.hpp
-g1MemoryPool.cpp g1CollectedHeap.hpp
-g1MemoryPool.cpp g1CollectorPolicy.hpp
-g1MemoryPool.cpp g1MemoryPool.hpp
-
-g1MemoryPool.hpp memoryUsage.hpp
-g1MemoryPool.hpp memoryPool.hpp
-
-g1OopClosures.inline.hpp concurrentMark.hpp
-g1OopClosures.inline.hpp g1OopClosures.hpp
-g1OopClosures.inline.hpp g1CollectedHeap.hpp
-g1OopClosures.inline.hpp g1RemSet.hpp
-
-g1MMUTracker.cpp g1MMUTracker.hpp
-g1MMUTracker.cpp ostream.hpp
-g1MMUTracker.cpp mutexLocker.hpp
-
-g1MMUTracker.hpp debug.hpp
-g1MMUTracker.hpp allocation.hpp
-
-g1RemSet.cpp bufferingOopClosure.hpp
-g1RemSet.cpp concurrentG1Refine.hpp
-g1RemSet.cpp concurrentG1RefineThread.hpp
-g1RemSet.cpp g1BlockOffsetTable.inline.hpp
-g1RemSet.cpp g1CollectedHeap.inline.hpp
-g1RemSet.cpp g1CollectorPolicy.hpp
-g1RemSet.cpp g1RemSet.inline.hpp
-g1RemSet.cpp g1OopClosures.inline.hpp
-g1RemSet.cpp heapRegionSeq.inline.hpp
-g1RemSet.cpp intHisto.hpp
-g1RemSet.cpp iterator.hpp
-g1RemSet.cpp oop.inline.hpp
-
-g1RemSet.inline.hpp oop.inline.hpp
-g1RemSet.inline.hpp g1RemSet.hpp
-g1RemSet.inline.hpp heapRegionRemSet.hpp
-
-g1SATBCardTableModRefBS.cpp g1SATBCardTableModRefBS.hpp
-g1SATBCardTableModRefBS.cpp heapRegion.hpp
-g1SATBCardTableModRefBS.cpp mutexLocker.hpp
-g1SATBCardTableModRefBS.cpp thread.hpp
-g1SATBCardTableModRefBS.cpp thread_<os_family>.inline.hpp
-g1SATBCardTableModRefBS.cpp satbQueue.hpp
-
-g1SATBCardTableModRefBS.hpp oop.inline.hpp
-g1SATBCardTableModRefBS.hpp cardTableModRefBS.hpp
-g1SATBCardTableModRefBS.hpp memRegion.hpp
-
-heapRegion.cpp concurrentZFThread.hpp
-heapRegion.cpp g1BlockOffsetTable.inline.hpp
-heapRegion.cpp g1CollectedHeap.inline.hpp
-heapRegion.cpp g1OopClosures.inline.hpp
-heapRegion.cpp genOopClosures.inline.hpp
-heapRegion.cpp heapRegion.inline.hpp
-heapRegion.cpp heapRegionRemSet.hpp
-heapRegion.cpp heapRegionSeq.inline.hpp
-heapRegion.cpp iterator.hpp
-heapRegion.cpp oop.inline.hpp
-
-heapRegion.hpp space.inline.hpp
-heapRegion.hpp spaceDecorator.hpp
-heapRegion.hpp g1BlockOffsetTable.inline.hpp
-heapRegion.hpp watermark.hpp
-heapRegion.hpp g1_specialized_oop_closures.hpp
-heapRegion.hpp survRateGroup.hpp
-heapRegion.hpp ageTable.hpp
-
-heapRegionRemSet.hpp sparsePRT.hpp
-
-heapRegionRemSet.cpp allocation.hpp
-heapRegionRemSet.cpp bitMap.inline.hpp
-heapRegionRemSet.cpp concurrentG1Refine.hpp
-heapRegionRemSet.cpp g1BlockOffsetTable.inline.hpp
-heapRegionRemSet.cpp g1CollectedHeap.inline.hpp
-heapRegionRemSet.cpp heapRegionRemSet.hpp
-heapRegionRemSet.cpp heapRegionSeq.inline.hpp
-heapRegionRemSet.cpp globalDefinitions.hpp
-heapRegionRemSet.cpp space.inline.hpp
-
-heapRegionSeq.cpp allocation.hpp
-heapRegionSeq.cpp g1CollectedHeap.inline.hpp
-heapRegionSeq.cpp heapRegionSeq.hpp
-
-heapRegionSeq.hpp growableArray.hpp
-heapRegionSeq.hpp heapRegion.hpp
-
-heapRegionSeq.inline.hpp heapRegionSeq.hpp
-
-instanceKlass.cpp g1RemSet.inline.hpp
-
-instanceRefKlass.cpp g1RemSet.inline.hpp
-
-klass.hpp g1OopClosures.hpp
-
-memoryService.cpp g1MemoryPool.hpp
-
-objArrayKlass.cpp g1RemSet.inline.hpp
-
-ptrQueue.cpp allocation.hpp
-ptrQueue.cpp allocation.inline.hpp
-ptrQueue.cpp mutex.hpp
-ptrQueue.cpp mutexLocker.hpp
-ptrQueue.cpp ptrQueue.hpp
-ptrQueue.cpp thread_<os_family>.inline.hpp
-
-ptrQueue.hpp allocation.hpp
-ptrQueue.hpp sizes.hpp
-
-ptrQueue.inline.hpp ptrQueue.hpp
-
-satbQueue.cpp allocation.inline.hpp
-satbQueue.cpp mutexLocker.hpp
-satbQueue.cpp satbQueue.hpp
-satbQueue.cpp sharedHeap.hpp
-satbQueue.cpp thread.hpp
-
-satbQueue.hpp ptrQueue.hpp
-
-sparsePRT.cpp allocation.inline.hpp
-sparsePRT.cpp cardTableModRefBS.hpp
-sparsePRT.cpp heapRegion.hpp
-sparsePRT.cpp heapRegionRemSet.hpp
-sparsePRT.cpp mutexLocker.hpp
-sparsePRT.cpp sparsePRT.hpp
-sparsePRT.cpp space.inline.hpp
-
-sparsePRT.hpp allocation.hpp
-sparsePRT.hpp cardTableModRefBS.hpp
-sparsePRT.hpp globalDefinitions.hpp
-sparsePRT.hpp g1CollectedHeap.inline.hpp
-sparsePRT.hpp heapRegion.hpp
-sparsePRT.hpp mutex.hpp
-
-specialized_oop_closures.hpp g1_specialized_oop_closures.hpp
-
-survRateGroup.hpp numberSeq.hpp
-
-survRateGroup.cpp allocation.hpp
-survRateGroup.cpp g1CollectedHeap.inline.hpp
-survRateGroup.cpp g1CollectorPolicy.hpp
-survRateGroup.cpp heapRegion.hpp
-survRateGroup.cpp survRateGroup.hpp
-
-thread.cpp concurrentMarkThread.inline.hpp
-
-universe.cpp g1CollectedHeap.inline.hpp
-universe.cpp g1CollectorPolicy.hpp
-
-vm_operations_g1.hpp vmGCOperations.hpp
-
-vm_operations_g1.cpp vm_operations_g1.hpp
-vm_operations_g1.cpp g1CollectedHeap.inline.hpp
-vm_operations_g1.cpp g1CollectorPolicy.hpp
-vm_operations_g1.cpp interfaceSupport.hpp
-vm_operations_g1.cpp isGCActiveMark.hpp
diff --git a/src/share/vm/gc_implementation/includeDB_gc_parNew b/src/share/vm/gc_implementation/includeDB_gc_parNew
deleted file mode 100644
index 32808d28d..000000000
--- a/src/share/vm/gc_implementation/includeDB_gc_parNew
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-// Copyright (c) 2007, 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.
-//
-//
-
-asParNewGeneration.hpp adaptiveSizePolicy.hpp
-asParNewGeneration.hpp parNewGeneration.hpp
-
-asParNewGeneration.cpp asParNewGeneration.hpp
-asParNewGeneration.cpp cmsAdaptiveSizePolicy.hpp
-asParNewGeneration.cpp cmsGCAdaptivePolicyCounters.hpp
-asParNewGeneration.cpp defNewGeneration.inline.hpp
-asParNewGeneration.cpp markOop.inline.hpp
-asParNewGeneration.cpp markSweep.inline.hpp
-asParNewGeneration.cpp oop.pcgc.inline.hpp
-asParNewGeneration.cpp parNewGeneration.hpp
-asParNewGeneration.cpp referencePolicy.hpp
-asParNewGeneration.cpp spaceDecorator.hpp
-
-parCardTableModRefBS.cpp allocation.inline.hpp
-parCardTableModRefBS.cpp cardTableModRefBS.hpp
-parCardTableModRefBS.cpp cardTableRS.hpp
-parCardTableModRefBS.cpp java.hpp
-parCardTableModRefBS.cpp mutexLocker.hpp
-parCardTableModRefBS.cpp sharedHeap.hpp
-parCardTableModRefBS.cpp space.inline.hpp
-parCardTableModRefBS.cpp universe.hpp
-parCardTableModRefBS.cpp virtualspace.hpp
-
-parGCAllocBuffer.cpp arrayOop.hpp
-parGCAllocBuffer.cpp oop.inline.hpp
-parGCAllocBuffer.cpp parGCAllocBuffer.hpp
-parGCAllocBuffer.cpp sharedHeap.hpp
-
-parGCAllocBuffer.hpp allocation.hpp
-parGCAllocBuffer.hpp globalDefinitions.hpp
-parGCAllocBuffer.hpp threadLocalAllocBuffer.hpp
-
-parNewGeneration.cpp adaptiveSizePolicy.hpp
-parNewGeneration.cpp ageTable.hpp
-parNewGeneration.cpp concurrentMarkSweepGeneration.hpp
-parNewGeneration.cpp copy.hpp
-parNewGeneration.cpp defNewGeneration.inline.hpp
-parNewGeneration.cpp genCollectedHeap.hpp
-parNewGeneration.cpp genOopClosures.inline.hpp
-parNewGeneration.cpp generation.hpp
-parNewGeneration.cpp generation.inline.hpp
-parNewGeneration.cpp globalDefinitions.hpp
-parNewGeneration.cpp handles.hpp
-parNewGeneration.cpp handles.inline.hpp
-parNewGeneration.cpp java.hpp
-parNewGeneration.cpp objArrayOop.hpp
-parNewGeneration.cpp oop.inline.hpp
-parNewGeneration.cpp oop.pcgc.inline.hpp
-parNewGeneration.cpp parGCAllocBuffer.hpp
-parNewGeneration.cpp parNewGeneration.hpp
-parNewGeneration.cpp parOopClosures.inline.hpp
-parNewGeneration.cpp referencePolicy.hpp
-parNewGeneration.cpp resourceArea.hpp
-parNewGeneration.cpp sharedHeap.hpp
-parNewGeneration.cpp space.hpp
-parNewGeneration.cpp spaceDecorator.hpp
-parNewGeneration.cpp thread.hpp
-parNewGeneration.cpp workgroup.hpp
-
-parNewGeneration.hpp defNewGeneration.hpp
-parNewGeneration.hpp parGCAllocBuffer.hpp
-parNewGeneration.hpp taskqueue.hpp
-
-parOopClosures.hpp genOopClosures.hpp
-
-parOopClosures.inline.hpp parNewGeneration.hpp
-parOopClosures.inline.hpp parOopClosures.hpp
diff --git a/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge b/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge
deleted file mode 100644
index b4a1109d2..000000000
--- a/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge
+++ /dev/null
@@ -1,467 +0,0 @@
-//
-// Copyright (c) 2001, 2010, 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.
-//
-//
-
-// NOTE: DO NOT CHANGE THIS COPYRIGHT TO NEW STYLE - IT WILL BREAK makeDeps!
-
-
-adjoiningGenerations.hpp adjoiningVirtualSpaces.hpp
-adjoiningGenerations.hpp asPSOldGen.hpp
-adjoiningGenerations.hpp asPSYoungGen.hpp
-adjoiningGenerations.hpp psPermGen.hpp
-
-adjoiningGenerations.cpp adjoiningGenerations.hpp
-adjoiningGenerations.cpp adjoiningVirtualSpaces.hpp
-adjoiningGenerations.cpp parallelScavengeHeap.hpp
-adjoiningGenerations.cpp psPermGen.hpp
-
-adjoiningVirtualSpaces.hpp psVirtualspace.hpp
-
-adjoiningVirtualSpaces.cpp java.hpp
-adjoiningVirtualSpaces.cpp adjoiningVirtualSpaces.hpp
-
-asPSOldGen.hpp generationCounters.hpp
-asPSOldGen.hpp mutableSpace.hpp
-asPSOldGen.hpp objectStartArray.hpp
-asPSOldGen.hpp psVirtualspace.hpp
-asPSOldGen.hpp spaceCounters.hpp
-asPSOldGen.hpp psOldGen.hpp
-
-asPSOldGen.cpp psAdaptiveSizePolicy.hpp
-asPSOldGen.cpp cardTableModRefBS.hpp
-asPSOldGen.cpp java.hpp
-asPSOldGen.cpp oop.inline.hpp
-asPSOldGen.cpp parallelScavengeHeap.hpp
-asPSOldGen.cpp psMarkSweepDecorator.hpp
-asPSOldGen.cpp asPSOldGen.hpp
-
-asPSYoungGen.hpp generationCounters.hpp
-asPSYoungGen.hpp mutableSpace.hpp
-asPSYoungGen.hpp objectStartArray.hpp
-asPSYoungGen.hpp spaceCounters.hpp
-asPSYoungGen.hpp psVirtualspace.hpp
-asPSYoungGen.hpp psYoungGen.hpp
-asPSYoungGen.hpp spaceDecorator.hpp
-
-asPSYoungGen.cpp gcUtil.hpp
-asPSYoungGen.cpp java.hpp
-asPSYoungGen.cpp oop.inline.hpp
-asPSYoungGen.cpp parallelScavengeHeap.hpp
-asPSYoungGen.cpp psMarkSweepDecorator.hpp
-asPSYoungGen.cpp psScavenge.hpp
-asPSYoungGen.cpp asPSYoungGen.hpp
-asPSYoungGen.cpp psYoungGen.hpp
-asPSYoungGen.cpp spaceDecorator.hpp
-
-cardTableExtension.cpp cardTableExtension.hpp
-cardTableExtension.cpp gcTaskManager.hpp
-cardTableExtension.cpp oop.inline.hpp
-cardTableExtension.cpp oop.psgc.inline.hpp
-cardTableExtension.cpp parallelScavengeHeap.hpp
-cardTableExtension.cpp psTasks.hpp
-cardTableExtension.cpp psYoungGen.hpp
-
-cardTableExtension.hpp cardTableModRefBS.hpp
-
-gcTaskManager.hpp mutex.hpp
-gcTaskManager.hpp growableArray.hpp
-
-gcTaskManager.cpp allocation.hpp
-gcTaskManager.cpp allocation.inline.hpp
-gcTaskManager.cpp gcTaskManager.hpp
-gcTaskManager.cpp gcTaskThread.hpp
-gcTaskManager.cpp mutex.hpp
-gcTaskManager.cpp mutexLocker.hpp
-
-gcTaskThread.hpp thread.hpp
-
-gcTaskThread.cpp allocation.hpp
-gcTaskThread.cpp allocation.inline.hpp
-gcTaskThread.cpp gcTaskManager.hpp
-gcTaskThread.cpp gcTaskThread.hpp
-gcTaskThread.cpp handles.hpp
-gcTaskThread.cpp handles.inline.hpp
-gcTaskThread.cpp os.hpp
-gcTaskThread.cpp resourceArea.hpp
-gcTaskThread.cpp thread.hpp
-
-generationSizer.hpp collectorPolicy.hpp
-
-objectStartArray.cpp allocation.inline.hpp
-objectStartArray.cpp cardTableModRefBS.hpp
-objectStartArray.cpp java.hpp
-objectStartArray.cpp objectStartArray.hpp
-objectStartArray.cpp oop.inline.hpp
-
-objectStartArray.hpp allocation.hpp
-objectStartArray.hpp memRegion.hpp
-objectStartArray.hpp oop.hpp
-objectStartArray.hpp psVirtualspace.hpp
-
-parallelScavengeHeap.cpp adjoiningGenerations.hpp
-parallelScavengeHeap.cpp adjoiningVirtualSpaces.hpp
-parallelScavengeHeap.cpp cardTableExtension.hpp
-parallelScavengeHeap.cpp gcLocker.inline.hpp
-parallelScavengeHeap.cpp gcTaskManager.hpp
-parallelScavengeHeap.cpp generationSizer.hpp
-parallelScavengeHeap.cpp handles.inline.hpp
-parallelScavengeHeap.cpp java.hpp
-parallelScavengeHeap.cpp oop.inline.hpp
-parallelScavengeHeap.cpp parallelScavengeHeap.inline.hpp
-parallelScavengeHeap.cpp psAdaptiveSizePolicy.hpp
-parallelScavengeHeap.cpp psMarkSweep.hpp
-parallelScavengeHeap.cpp psParallelCompact.hpp
-parallelScavengeHeap.cpp psPromotionManager.hpp
-parallelScavengeHeap.cpp psScavenge.hpp
-parallelScavengeHeap.cpp vmError.hpp
-parallelScavengeHeap.cpp vmThread.hpp
-parallelScavengeHeap.cpp vmPSOperations.hpp
-
-parallelScavengeHeap.inline.hpp parallelScavengeHeap.hpp
-parallelScavengeHeap.inline.hpp psMarkSweep.hpp
-parallelScavengeHeap.inline.hpp psParallelCompact.hpp
-parallelScavengeHeap.inline.hpp psScavenge.hpp
-
-parallelScavengeHeap.hpp collectedHeap.inline.hpp
-parallelScavengeHeap.hpp objectStartArray.hpp
-parallelScavengeHeap.hpp gcPolicyCounters.hpp
-parallelScavengeHeap.hpp psGCAdaptivePolicyCounters.hpp
-parallelScavengeHeap.hpp psOldGen.hpp
-parallelScavengeHeap.hpp psPermGen.hpp
-parallelScavengeHeap.hpp psYoungGen.hpp
-parallelScavengeHeap.hpp ostream.hpp
-
-parMarkBitMap.cpp bitMap.inline.hpp
-parMarkBitMap.cpp oop.inline.hpp
-parMarkBitMap.cpp os.hpp
-parMarkBitMap.cpp os_<os_family>.inline.hpp
-parMarkBitMap.cpp parMarkBitMap.hpp
-parMarkBitMap.cpp parMarkBitMap.inline.hpp
-parMarkBitMap.cpp psParallelCompact.hpp
-
-parMarkBitMap.hpp bitMap.inline.hpp
-parMarkBitMap.hpp psVirtualspace.hpp
-
-psAdaptiveSizePolicy.cpp collectorPolicy.hpp
-psAdaptiveSizePolicy.cpp gcPolicyCounters.hpp
-psAdaptiveSizePolicy.cpp gcCause.hpp
-psAdaptiveSizePolicy.cpp generationSizer.hpp
-psAdaptiveSizePolicy.cpp psAdaptiveSizePolicy.hpp
-psAdaptiveSizePolicy.cpp psGCAdaptivePolicyCounters.hpp
-psAdaptiveSizePolicy.cpp psScavenge.hpp
-psAdaptiveSizePolicy.cpp timer.hpp
-psAdaptiveSizePolicy.cpp top.hpp
-
-psAdaptiveSizePolicy.hpp gcCause.hpp
-psAdaptiveSizePolicy.hpp gcStats.hpp
-psAdaptiveSizePolicy.hpp gcUtil.hpp
-psAdaptiveSizePolicy.hpp adaptiveSizePolicy.hpp
-
-psCompactionManager.cpp gcTaskManager.hpp
-psCompactionManager.cpp objArrayKlass.inline.hpp
-psCompactionManager.cpp objectStartArray.hpp
-psCompactionManager.cpp oop.hpp
-psCompactionManager.cpp oop.inline.hpp
-psCompactionManager.cpp oop.pcgc.inline.hpp
-psCompactionManager.cpp parallelScavengeHeap.hpp
-psCompactionManager.cpp parMarkBitMap.hpp
-psCompactionManager.cpp psParallelCompact.hpp
-psCompactionManager.cpp psCompactionManager.hpp
-psCompactionManager.cpp psOldGen.hpp
-psCompactionManager.cpp stack.inline.hpp
-psCompactionManager.cpp systemDictionary.hpp
-
-psCompactionManager.hpp allocation.hpp
-psCompactionManager.hpp stack.hpp
-psCompactionManager.hpp taskqueue.hpp
-
-psCompactionManager.inline.hpp psCompactionManager.hpp
-psCompactionManager.inline.hpp psParallelCompact.hpp
-
-psGCAdaptivePolicyCounters.hpp gcAdaptivePolicyCounters.hpp
-psGCAdaptivePolicyCounters.hpp gcPolicyCounters.hpp
-psGCAdaptivePolicyCounters.hpp psAdaptiveSizePolicy.hpp
-
-psGCAdaptivePolicyCounters.cpp arguments.hpp
-psGCAdaptivePolicyCounters.cpp resourceArea.hpp
-psGCAdaptivePolicyCounters.cpp psGCAdaptivePolicyCounters.hpp
-
-psGenerationCounters.cpp psGenerationCounters.hpp
-psGenerationCounters.cpp resourceArea.hpp
-
-psGenerationCounters.hpp generationCounters.hpp
-psGenerationCounters.hpp perfData.hpp
-psGenerationCounters.hpp psVirtualspace.hpp
-
-psMarkSweep.cpp psAdaptiveSizePolicy.hpp
-psMarkSweep.cpp biasedLocking.hpp
-psMarkSweep.cpp codeCache.hpp
-psMarkSweep.cpp events.hpp
-psMarkSweep.cpp fprofiler.hpp
-psMarkSweep.cpp gcCause.hpp
-psMarkSweep.cpp gcLocker.inline.hpp
-psMarkSweep.cpp generationSizer.hpp
-psMarkSweep.cpp isGCActiveMark.hpp
-psMarkSweep.cpp oop.inline.hpp
-psMarkSweep.cpp memoryService.hpp
-psMarkSweep.cpp management.hpp
-psMarkSweep.cpp parallelScavengeHeap.hpp
-psMarkSweep.cpp psMarkSweep.hpp
-psMarkSweep.cpp psMarkSweepDecorator.hpp
-psMarkSweep.cpp psOldGen.hpp
-psMarkSweep.cpp psPermGen.hpp
-psMarkSweep.cpp psScavenge.hpp
-psMarkSweep.cpp psYoungGen.hpp
-psMarkSweep.cpp referencePolicy.hpp
-psMarkSweep.cpp referenceProcessor.hpp
-psMarkSweep.cpp safepoint.hpp
-psMarkSweep.cpp spaceDecorator.hpp
-psMarkSweep.cpp stack.inline.hpp
-psMarkSweep.cpp symbolTable.hpp
-psMarkSweep.cpp systemDictionary.hpp
-psMarkSweep.cpp vmThread.hpp
-
-psMarkSweep.hpp markSweep.inline.hpp
-psMarkSweep.hpp collectorCounters.hpp
-psMarkSweep.hpp stack.hpp
-
-psMarkSweepDecorator.cpp liveRange.hpp
-psMarkSweepDecorator.cpp markSweep.inline.hpp
-psMarkSweepDecorator.cpp objectStartArray.hpp
-psMarkSweepDecorator.cpp oop.inline.hpp
-psMarkSweepDecorator.cpp parallelScavengeHeap.hpp
-psMarkSweepDecorator.cpp psMarkSweep.hpp
-psMarkSweepDecorator.cpp psMarkSweepDecorator.hpp
-psMarkSweepDecorator.cpp spaceDecorator.hpp
-psMarkSweepDecorator.cpp systemDictionary.hpp
-
-psMarkSweepDecorator.hpp mutableSpace.hpp
-
-psParallelCompact.cpp psAdaptiveSizePolicy.hpp
-psParallelCompact.cpp codeCache.hpp
-psParallelCompact.cpp events.hpp
-psParallelCompact.cpp fprofiler.hpp
-psParallelCompact.cpp gcCause.hpp
-psParallelCompact.cpp gcLocker.inline.hpp
-psParallelCompact.cpp gcTaskManager.hpp
-psParallelCompact.cpp generationSizer.hpp
-psParallelCompact.cpp isGCActiveMark.hpp
-psParallelCompact.cpp management.hpp
-psParallelCompact.cpp memoryService.hpp
-psParallelCompact.cpp methodDataOop.hpp
-psParallelCompact.cpp oop.inline.hpp
-psParallelCompact.cpp oop.pcgc.inline.hpp
-psParallelCompact.cpp parallelScavengeHeap.inline.hpp
-psParallelCompact.cpp pcTasks.hpp
-psParallelCompact.cpp psMarkSweep.hpp
-psParallelCompact.cpp psMarkSweepDecorator.hpp
-psParallelCompact.cpp psCompactionManager.inline.hpp
-psParallelCompact.cpp psPromotionManager.inline.hpp
-psParallelCompact.cpp psOldGen.hpp
-psParallelCompact.cpp psParallelCompact.hpp
-psParallelCompact.cpp psPermGen.hpp
-psParallelCompact.cpp psScavenge.hpp
-psParallelCompact.cpp psYoungGen.hpp
-psParallelCompact.cpp referencePolicy.hpp
-psParallelCompact.cpp referenceProcessor.hpp
-psParallelCompact.cpp safepoint.hpp
-psParallelCompact.cpp stack.inline.hpp
-psParallelCompact.cpp symbolTable.hpp
-psParallelCompact.cpp systemDictionary.hpp
-psParallelCompact.cpp vmThread.hpp
-
-psParallelCompact.hpp collectorCounters.hpp
-psParallelCompact.hpp markSweep.hpp
-psParallelCompact.hpp mutableSpace.hpp
-psParallelCompact.hpp objectStartArray.hpp
-psParallelCompact.hpp oop.hpp
-psParallelCompact.hpp parMarkBitMap.hpp
-psParallelCompact.hpp psCompactionManager.hpp
-psParallelCompact.hpp sharedHeap.hpp
-
-psOldGen.cpp psAdaptiveSizePolicy.hpp
-psOldGen.cpp cardTableModRefBS.hpp
-psOldGen.cpp gcLocker.inline.hpp
-psOldGen.cpp java.hpp
-psOldGen.cpp oop.inline.hpp
-psOldGen.cpp parallelScavengeHeap.hpp
-psOldGen.cpp psMarkSweepDecorator.hpp
-psOldGen.cpp psOldGen.hpp
-psOldGen.cpp spaceDecorator.hpp
-
-psOldGen.hpp psGenerationCounters.hpp
-psOldGen.hpp mutableSpace.hpp
-psOldGen.hpp objectStartArray.hpp
-psOldGen.hpp psVirtualspace.hpp
-psOldGen.hpp safepoint.hpp
-psOldGen.hpp spaceCounters.hpp
-
-psPermGen.cpp gcUtil.hpp
-psPermGen.cpp markOop.inline.hpp
-psPermGen.cpp markSweep.inline.hpp
-psPermGen.cpp parallelScavengeHeap.hpp
-psPermGen.cpp psMarkSweepDecorator.hpp
-psPermGen.cpp psParallelCompact.hpp
-psPermGen.cpp psPermGen.hpp
-
-psPermGen.hpp psOldGen.hpp
-
-psPromotionManager.cpp memRegion.hpp
-psPromotionManager.cpp mutableSpace.hpp
-psPromotionManager.cpp oop.inline.hpp
-psPromotionManager.cpp oop.psgc.inline.hpp
-psPromotionManager.cpp parallelScavengeHeap.hpp
-psPromotionManager.cpp psOldGen.hpp
-psPromotionManager.cpp psPromotionManager.inline.hpp
-psPromotionManager.cpp psScavenge.inline.hpp
-
-psPromotionManager.hpp allocation.hpp
-psPromotionManager.hpp psPromotionLAB.hpp
-psPromotionManager.hpp taskqueue.hpp
-
-psPromotionManager.inline.hpp psPromotionManager.hpp
-psPromotionManager.inline.hpp psScavenge.hpp
-
-psPromotionLAB.cpp mutableSpace.hpp
-psPromotionLAB.cpp oop.inline.hpp
-psPromotionLAB.cpp parallelScavengeHeap.hpp
-psPromotionLAB.cpp psPromotionLAB.hpp
-
-psPromotionLAB.hpp allocation.hpp
-psPromotionLAB.hpp objectStartArray.hpp
-
-psScavenge.cpp psAdaptiveSizePolicy.hpp
-psScavenge.cpp biasedLocking.hpp
-psScavenge.cpp cardTableExtension.hpp
-psScavenge.cpp collectorPolicy.hpp
-psScavenge.cpp fprofiler.hpp
-psScavenge.cpp gcCause.hpp
-psScavenge.cpp gcLocker.inline.hpp
-psScavenge.cpp gcTaskManager.hpp
-psScavenge.cpp generationSizer.hpp
-psScavenge.cpp handles.inline.hpp
-psScavenge.cpp isGCActiveMark.hpp
-psScavenge.cpp oop.inline.hpp
-psScavenge.cpp oop.psgc.inline.hpp
-psScavenge.cpp memoryService.hpp
-psScavenge.cpp parallelScavengeHeap.hpp
-psScavenge.cpp psMarkSweep.hpp
-psScavenge.cpp psParallelCompact.hpp
-psScavenge.cpp psScavenge.inline.hpp
-psScavenge.cpp psTasks.hpp
-psScavenge.cpp referencePolicy.hpp
-psScavenge.cpp referenceProcessor.hpp
-psScavenge.cpp resourceArea.hpp
-psScavenge.cpp spaceDecorator.hpp
-psScavenge.cpp stack.inline.hpp
-psScavenge.cpp threadCritical.hpp
-psScavenge.cpp vmThread.hpp
-psScavenge.cpp vm_operations.hpp
-
-psScavenge.hpp allocation.hpp
-psScavenge.hpp cardTableExtension.hpp
-psScavenge.hpp collectorCounters.hpp
-psScavenge.hpp oop.hpp
-psScavenge.hpp psVirtualspace.hpp
-psScavenge.hpp stack.hpp
-
-psScavenge.inline.hpp cardTableExtension.hpp
-psScavenge.inline.hpp parallelScavengeHeap.hpp
-psScavenge.inline.hpp psPromotionManager.hpp
-psScavenge.inline.hpp psScavenge.hpp
-
-pcTasks.cpp codeCache.hpp
-pcTasks.cpp collectedHeap.hpp
-pcTasks.cpp fprofiler.hpp
-pcTasks.cpp jniHandles.hpp
-pcTasks.cpp jvmtiExport.hpp
-pcTasks.cpp management.hpp
-pcTasks.cpp objArrayKlass.inline.hpp
-pcTasks.cpp psParallelCompact.hpp
-pcTasks.cpp pcTasks.hpp
-pcTasks.cpp oop.inline.hpp
-pcTasks.cpp oop.pcgc.inline.hpp
-pcTasks.cpp systemDictionary.hpp
-pcTasks.cpp thread.hpp
-pcTasks.cpp universe.hpp
-pcTasks.cpp vmThread.hpp
-
-pcTasks.hpp gcTaskManager.hpp
-pcTasks.hpp psTasks.hpp
-
-psTasks.cpp cardTableExtension.hpp
-psTasks.cpp codeCache.hpp
-psTasks.cpp fprofiler.hpp
-psTasks.cpp gcTaskManager.hpp
-psTasks.cpp iterator.hpp
-psTasks.cpp management.hpp
-psTasks.cpp oop.inline.hpp
-psTasks.cpp oop.psgc.inline.hpp
-psTasks.cpp psMarkSweep.hpp
-psTasks.cpp psPromotionManager.hpp
-psTasks.cpp psPromotionManager.inline.hpp
-psTasks.cpp psScavenge.hpp
-psTasks.cpp psTasks.hpp
-psTasks.cpp systemDictionary.hpp
-psTasks.cpp taskqueue.hpp
-psTasks.cpp thread.hpp
-psTasks.cpp universe.hpp
-psTasks.cpp vmThread.hpp
-
-psTasks.hpp allocation.hpp
-psTasks.hpp growableArray.hpp
-
-psVirtualspace.hpp virtualspace.hpp
-
-psVirtualspace.cpp os.hpp
-psVirtualspace.cpp os_<os_family>.inline.hpp
-psVirtualspace.cpp psVirtualspace.hpp
-psVirtualspace.cpp virtualspace.hpp
-
-psYoungGen.cpp gcUtil.hpp
-psYoungGen.cpp java.hpp
-psYoungGen.cpp oop.inline.hpp
-psYoungGen.cpp parallelScavengeHeap.hpp
-psYoungGen.cpp psMarkSweepDecorator.hpp
-psYoungGen.cpp psScavenge.hpp
-psYoungGen.cpp psYoungGen.hpp
-psYoungGen.cpp mutableNUMASpace.hpp
-psYoungGen.cpp spaceDecorator.hpp
-
-psYoungGen.hpp psGenerationCounters.hpp
-psYoungGen.hpp mutableSpace.hpp
-psYoungGen.hpp objectStartArray.hpp
-psYoungGen.hpp spaceCounters.hpp
-psYoungGen.hpp psVirtualspace.hpp
-
-vmPSOperations.cpp dtrace.hpp
-vmPSOperations.cpp parallelScavengeHeap.inline.hpp
-vmPSOperations.cpp gcLocker.inline.hpp
-vmPSOperations.cpp psMarkSweep.hpp
-vmPSOperations.cpp psScavenge.hpp
-vmPSOperations.cpp psScavenge.inline.hpp
-vmPSOperations.cpp vmPSOperations.hpp
-
-vmPSOperations.hpp gcCause.hpp
-vmPSOperations.hpp parallelScavengeHeap.hpp
-vmPSOperations.hpp vmGCOperations.hpp
diff --git a/src/share/vm/gc_implementation/includeDB_gc_serial b/src/share/vm/gc_implementation/includeDB_gc_serial
deleted file mode 100644
index df6272f68..000000000
--- a/src/share/vm/gc_implementation/includeDB_gc_serial
+++ /dev/null
@@ -1,127 +0,0 @@
-//
-// Copyright (c) 2007, 2010, 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.
-//
-//
-
-adaptiveSizePolicy.hpp collectedHeap.hpp
-adaptiveSizePolicy.hpp gcCause.hpp
-adaptiveSizePolicy.hpp gcUtil.hpp
-adaptiveSizePolicy.hpp allocation.hpp
-adaptiveSizePolicy.hpp universe.hpp
-
-adaptiveSizePolicy.cpp adaptiveSizePolicy.hpp
-adaptiveSizePolicy.cpp collectorPolicy.hpp
-adaptiveSizePolicy.cpp gcCause.hpp
-adaptiveSizePolicy.cpp ostream.hpp
-adaptiveSizePolicy.cpp timer.hpp
-
-ageTable.cpp ageTable.hpp
-ageTable.cpp collectorPolicy.hpp
-ageTable.cpp copy.hpp
-ageTable.cpp gcPolicyCounters.hpp
-ageTable.cpp resourceArea.hpp
-ageTable.cpp sharedHeap.hpp
-
-ageTable.hpp markOop.hpp
-ageTable.hpp oop.hpp
-ageTable.hpp perfData.hpp
-
-collectorCounters.cpp collectorCounters.hpp
-collectorCounters.cpp resourceArea.hpp
-
-collectorCounters.hpp perfData.hpp
-
-cSpaceCounters.cpp resourceArea.hpp
-cSpaceCounters.cpp cSpaceCounters.hpp
-
-cSpaceCounters.hpp space.inline.hpp
-cSpaceCounters.hpp perfData.hpp
-cSpaceCounters.hpp generationCounters.hpp
-
-gcPolicyCounters.cpp resourceArea.hpp
-gcPolicyCounters.cpp gcPolicyCounters.hpp
-
-gcPolicyCounters.hpp perfData.hpp
-
-gcStats.cpp gcStats.hpp
-gcStats.cpp gcUtil.hpp
-
-gcStats.hpp gcUtil.hpp
-
-gcUtil.cpp gcUtil.hpp
-
-gcUtil.hpp allocation.hpp
-gcUtil.hpp debug.hpp
-gcUtil.hpp globalDefinitions.hpp
-gcUtil.hpp ostream.hpp
-gcUtil.hpp timer.hpp
-
-generationCounters.cpp generationCounters.hpp
-generationCounters.cpp resourceArea.hpp
-
-generationCounters.hpp perfData.hpp
-generationCounters.hpp virtualspace.hpp
-
-immutableSpace.hpp iterator.hpp
-
-liveRange.hpp copy.hpp
-liveRange.hpp memRegion.hpp
-
-markSweep.cpp collectedHeap.inline.hpp
-markSweep.cpp markSweep.inline.hpp
-markSweep.cpp oop.inline.hpp
-
-markSweep.hpp growableArray.hpp
-markSweep.hpp markOop.hpp
-markSweep.hpp oop.hpp
-markSweep.hpp stack.hpp
-markSweep.hpp timer.hpp
-markSweep.hpp universe.hpp
-
-markSweep.inline.hpp collectedHeap.hpp
-markSweep.inline.hpp markSweep.hpp
-markSweep.inline.hpp stack.inline.hpp
-
-mutableSpace.hpp immutableSpace.hpp
-mutableSpace.hpp memRegion.hpp
-mutableSpace.hpp copy.hpp
-
-vmGCOperations.cpp vmGCOperations.hpp
-vmGCOperations.cpp dtrace.hpp
-vmGCOperations.cpp classLoader.hpp
-vmGCOperations.cpp gcLocker.inline.hpp
-vmGCOperations.cpp genCollectedHeap.hpp
-vmGCOperations.cpp handles.inline.hpp
-vmGCOperations.cpp init.hpp
-vmGCOperations.cpp instanceKlass.hpp
-vmGCOperations.cpp instanceRefKlass.hpp
-vmGCOperations.cpp interfaceSupport.hpp
-vmGCOperations.cpp javaClasses.hpp
-vmGCOperations.cpp jvmtiExport.hpp
-vmGCOperations.cpp oopFactory.hpp
-vmGCOperations.cpp preserveException.hpp
-
-vmGCOperations.hpp vm_operations.hpp
-vmGCOperations.hpp heapInspection.hpp
-vmGCOperations.hpp handles.hpp
-vmGCOperations.hpp jniHandles.hpp
-vmGCOperations.hpp synchronizer.hpp
diff --git a/src/share/vm/gc_implementation/includeDB_gc_shared b/src/share/vm/gc_implementation/includeDB_gc_shared
deleted file mode 100644
index 91e5876b8..000000000
--- a/src/share/vm/gc_implementation/includeDB_gc_shared
+++ /dev/null
@@ -1,90 +0,0 @@
-//
-// Copyright (c) 2001, 2009, 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.
-//
-//
-
-// NOTE: DO NOT CHANGE THIS COPYRIGHT TO NEW STYLE - IT WILL BREAK makeDeps!
-
-concurrentGCThread.cpp concurrentGCThread.hpp
-concurrentGCThread.cpp init.hpp
-concurrentGCThread.cpp instanceRefKlass.hpp
-concurrentGCThread.cpp interfaceSupport.hpp
-concurrentGCThread.cpp java.hpp
-concurrentGCThread.cpp javaCalls.hpp
-concurrentGCThread.cpp oop.inline.hpp
-concurrentGCThread.cpp systemDictionary.hpp
-
-concurrentGCThread.hpp thread.hpp
-
-allocationStats.cpp allocationStats.hpp
-allocationStats.cpp ostream.hpp
-
-allocationStats.hpp allocation.hpp
-allocationStats.hpp gcUtil.hpp
-allocationStats.hpp globalDefinitions.hpp
-
-gcAdaptivePolicyCounters.hpp adaptiveSizePolicy.hpp
-gcAdaptivePolicyCounters.hpp gcPolicyCounters.hpp
-
-gcAdaptivePolicyCounters.cpp resourceArea.hpp
-gcAdaptivePolicyCounters.cpp gcAdaptivePolicyCounters.hpp
-
-gSpaceCounters.cpp generation.hpp
-gSpaceCounters.cpp resourceArea.hpp
-gSpaceCounters.cpp gSpaceCounters.hpp
-
-gSpaceCounters.hpp generation.hpp
-gSpaceCounters.hpp perfData.hpp
-gSpaceCounters.hpp generationCounters.hpp
-
-immutableSpace.cpp immutableSpace.hpp
-immutableSpace.cpp oop.inline.hpp
-immutableSpace.cpp universe.hpp
-
-isGCActiveMark.hpp parallelScavengeHeap.hpp
-
-markSweep.inline.hpp psParallelCompact.hpp
-
-mutableNUMASpace.cpp mutableNUMASpace.hpp
-mutableNUMASpace.cpp oop.inline.hpp
-mutableNUMASpace.cpp sharedHeap.hpp
-mutableNUMASpace.cpp spaceDecorator.hpp
-mutableNUMASpace.cpp thread_<os_family>.inline.hpp
-
-mutableNUMASpace.hpp mutableSpace.hpp
-mutableNUMASpace.hpp gcUtil.hpp
-
-mutableSpace.cpp mutableSpace.hpp
-mutableSpace.cpp oop.inline.hpp
-mutableSpace.cpp safepoint.hpp
-mutableSpace.cpp spaceDecorator.hpp
-mutableSpace.cpp thread.hpp
-
-spaceCounters.cpp resourceArea.hpp
-spaceCounters.cpp spaceCounters.hpp
-
-spaceCounters.hpp immutableSpace.hpp
-spaceCounters.hpp mutableSpace.hpp
-spaceCounters.hpp perfData.hpp
-spaceCounters.hpp generationCounters.hpp
-
-vmGCOperations.cpp g1CollectedHeap.inline.hpp
diff --git a/src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp b/src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp
index 868ff8165..a18933356 100644
--- a/src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp
+++ b/src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_asParNewGeneration.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp"
+#include "gc_implementation/parNew/asParNewGeneration.hpp"
+#include "gc_implementation/parNew/parNewGeneration.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "memory/defNewGeneration.inline.hpp"
+#include "memory/referencePolicy.hpp"
+#include "oops/markOop.inline.hpp"
+#include "oops/oop.pcgc.inline.hpp"
ASParNewGeneration::ASParNewGeneration(ReservedSpace rs,
size_t initial_byte_size,
diff --git a/src/share/vm/gc_implementation/parNew/asParNewGeneration.hpp b/src/share/vm/gc_implementation/parNew/asParNewGeneration.hpp
index 2a8a24a0e..70646fe9b 100644
--- a/src/share/vm/gc_implementation/parNew/asParNewGeneration.hpp
+++ b/src/share/vm/gc_implementation/parNew/asParNewGeneration.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARNEW_ASPARNEWGENERATION_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARNEW_ASPARNEWGENERATION_HPP
+
+#include "gc_implementation/parNew/parNewGeneration.hpp"
+#include "gc_implementation/shared/adaptiveSizePolicy.hpp"
+
// A Generation that does parallel young-gen collection extended
// for adaptive size policy.
@@ -88,3 +94,5 @@ class ASParNewGeneration: public ParNewGeneration {
// Space boundary invariant checker
void space_invariants() PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARNEW_ASPARNEWGENERATION_HPP
diff --git a/src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp b/src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp
index 77e6a757d..d3b054c59 100644
--- a/src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp
+++ b/src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp
@@ -22,8 +22,16 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_parCardTableModRefBS.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "memory/cardTableRS.hpp"
+#include "memory/sharedHeap.hpp"
+#include "memory/space.inline.hpp"
+#include "memory/universe.hpp"
+#include "runtime/java.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/virtualspace.hpp"
void CardTableModRefBS::par_non_clean_card_iterate_work(Space* sp, MemRegion mr,
DirtyCardToOopClosure* dcto_cl,
diff --git a/src/share/vm/gc_implementation/parNew/parGCAllocBuffer.cpp b/src/share/vm/gc_implementation/parNew/parGCAllocBuffer.cpp
index ef5c22c79..466d2f632 100644
--- a/src/share/vm/gc_implementation/parNew/parGCAllocBuffer.cpp
+++ b/src/share/vm/gc_implementation/parNew/parGCAllocBuffer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_parGCAllocBuffer.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parNew/parGCAllocBuffer.hpp"
+#include "memory/sharedHeap.hpp"
+#include "oops/arrayOop.hpp"
+#include "oops/oop.inline.hpp"
ParGCAllocBuffer::ParGCAllocBuffer(size_t desired_plab_sz_) :
_word_sz(desired_plab_sz_), _bottom(NULL), _top(NULL),
diff --git a/src/share/vm/gc_implementation/parNew/parGCAllocBuffer.hpp b/src/share/vm/gc_implementation/parNew/parGCAllocBuffer.hpp
index b4a5b0a62..be7abd606 100644
--- a/src/share/vm/gc_implementation/parNew/parGCAllocBuffer.hpp
+++ b/src/share/vm/gc_implementation/parNew/parGCAllocBuffer.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARGCALLOCBUFFER_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARGCALLOCBUFFER_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/threadLocalAllocBuffer.hpp"
+#include "utilities/globalDefinitions.hpp"
+
// Forward decl.
class PLABStats;
@@ -237,3 +244,5 @@ public:
return MemRegion(_top, _true_end);
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARGCALLOCBUFFER_HPP
diff --git a/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp b/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp
index 12064fa7a..2b63c9382 100644
--- a/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp
+++ b/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp
@@ -22,8 +22,33 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_parNewGeneration.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
+#include "gc_implementation/parNew/parGCAllocBuffer.hpp"
+#include "gc_implementation/parNew/parNewGeneration.hpp"
+#include "gc_implementation/parNew/parOopClosures.inline.hpp"
+#include "gc_implementation/shared/adaptiveSizePolicy.hpp"
+#include "gc_implementation/shared/ageTable.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "memory/defNewGeneration.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/generation.hpp"
+#include "memory/generation.inline.hpp"
+#include "memory/referencePolicy.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/sharedHeap.hpp"
+#include "memory/space.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/thread.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/workgroup.hpp"
#ifdef _MSC_VER
#pragma warning( push )
diff --git a/src/share/vm/gc_implementation/parNew/parNewGeneration.hpp b/src/share/vm/gc_implementation/parNew/parNewGeneration.hpp
index c10531f4f..296eb8254 100644
--- a/src/share/vm/gc_implementation/parNew/parNewGeneration.hpp
+++ b/src/share/vm/gc_implementation/parNew/parNewGeneration.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARNEWGENERATION_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARNEWGENERATION_HPP
+
+#include "gc_implementation/parNew/parGCAllocBuffer.hpp"
+#include "memory/defNewGeneration.hpp"
+#include "utilities/taskqueue.hpp"
+
class ChunkArray;
class ParScanWithoutBarrierClosure;
class ParScanWithBarrierClosure;
@@ -422,3 +429,5 @@ class ParNewGeneration: public DefNewGeneration {
DEBUG_ONLY(static bool is_legal_forward_ptr(oop p);)
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARNEWGENERATION_HPP
diff --git a/src/share/vm/gc_implementation/parNew/parOopClosures.hpp b/src/share/vm/gc_implementation/parNew/parOopClosures.hpp
index c6a2543d0..747868fc5 100644
--- a/src/share/vm/gc_implementation/parNew/parOopClosures.hpp
+++ b/src/share/vm/gc_implementation/parNew/parOopClosures.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARNEW_PAROOPCLOSURES_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARNEW_PAROOPCLOSURES_HPP
+
+#include "memory/genOopClosures.hpp"
+
// Closures for ParNewGeneration
class ParScanThreadState;
@@ -141,3 +146,5 @@ class ParEvacuateFollowersClosure: public VoidClosure {
ParallelTaskTerminator* terminator_);
virtual void do_void();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARNEW_PAROOPCLOSURES_HPP
diff --git a/src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp b/src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp
index a540321ff..c9c50b3f6 100644
--- a/src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp
+++ b/src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARNEW_PAROOPCLOSURES_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARNEW_PAROOPCLOSURES_INLINE_HPP
+
+#include "gc_implementation/parNew/parNewGeneration.hpp"
+#include "gc_implementation/parNew/parOopClosures.hpp"
+#include "memory/cardTableRS.hpp"
+
template <class T> inline void ParScanWeakRefClosure::do_oop_work(T* p) {
assert (!oopDesc::is_null(*p), "null weak reference?");
oop obj = oopDesc::load_decode_heap_oop_not_null(p);
@@ -107,3 +114,5 @@ inline void ParScanWithBarrierClosure::do_oop_nv(narrowOop* p) { ParScanClosure:
inline void ParScanWithoutBarrierClosure::do_oop_nv(oop* p) { ParScanClosure::do_oop_work(p, false, false); }
inline void ParScanWithoutBarrierClosure::do_oop_nv(narrowOop* p) { ParScanClosure::do_oop_work(p, false, false); }
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARNEW_PAROOPCLOSURES_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/parNew/vmStructs_parNew.hpp b/src/share/vm/gc_implementation/parNew/vmStructs_parNew.hpp
index 2e198c689..c07f084c0 100644
--- a/src/share/vm/gc_implementation/parNew/vmStructs_parNew.hpp
+++ b/src/share/vm/gc_implementation/parNew/vmStructs_parNew.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,8 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARNEW_VMSTRUCTS_PARNEW_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARNEW_VMSTRUCTS_PARNEW_HPP
+
#define VM_TYPES_PARNEW(declare_type) \
declare_type(ParNewGeneration, DefNewGeneration)
#define VM_INT_CONSTANTS_PARNEW(declare_constant) \
declare_constant(Generation::ParNew)
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARNEW_VMSTRUCTS_PARNEW_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.cpp b/src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.cpp
index ab94cf219..06f0f34e0 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_adjoiningGenerations.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/adjoiningGenerations.hpp"
+#include "gc_implementation/parallelScavenge/adjoiningVirtualSpaces.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psPermGen.hpp"
// If boundary moving is being used, create the young gen and old
// gen with ASPSYoungGen and ASPSOldGen, respectively. Revert to
diff --git a/src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.hpp b/src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.hpp
index aec8430d8..77fe9e022 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ADJOININGGENERATIONS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ADJOININGGENERATIONS_HPP
+
+#include "gc_implementation/parallelScavenge/adjoiningVirtualSpaces.hpp"
+#include "gc_implementation/parallelScavenge/asPSOldGen.hpp"
+#include "gc_implementation/parallelScavenge/asPSYoungGen.hpp"
+#include "gc_implementation/parallelScavenge/psPermGen.hpp"
+
// Contains two generations that both use an AdjoiningVirtualSpaces.
// The two generations are adjacent in the reserved space for the
@@ -75,3 +83,5 @@ class AdjoiningGenerations : public CHeapObj {
// for the adjoining generations.
size_t reserved_byte_size();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ADJOININGGENERATIONS_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/adjoiningVirtualSpaces.cpp b/src/share/vm/gc_implementation/parallelScavenge/adjoiningVirtualSpaces.cpp
index 7a3baf407..e21f7a7a6 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/adjoiningVirtualSpaces.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/adjoiningVirtualSpaces.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_adjoiningVirtualSpaces.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/adjoiningVirtualSpaces.hpp"
+#include "runtime/java.hpp"
AdjoiningVirtualSpaces::AdjoiningVirtualSpaces(ReservedSpace rs,
size_t min_low_byte_size,
diff --git a/src/share/vm/gc_implementation/parallelScavenge/adjoiningVirtualSpaces.hpp b/src/share/vm/gc_implementation/parallelScavenge/adjoiningVirtualSpaces.hpp
index a8ff87acd..ed860c204 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/adjoiningVirtualSpaces.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/adjoiningVirtualSpaces.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ADJOININGVIRTUALSPACES_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ADJOININGVIRTUALSPACES_HPP
+
+#include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+
// Contains two virtual spaces that each can individually span
// most of the reserved region but committed parts of which
@@ -106,3 +111,5 @@ class AdjoiningVirtualSpaces {
size_t init_low_byte_size,
size_t init_high_byte_size);
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ADJOININGVIRTUALSPACES_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.cpp b/src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.cpp
index 2edd30258..0c12e98be 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_asPSOldGen.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/asPSOldGen.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
// Whereas PSOldGen takes the maximum size of the generation
// (which doesn't change in the case of PSOldGen) as a parameter,
diff --git a/src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.hpp b/src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.hpp
index 60ed93cd8..3de4f9793 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ASPSOLDGEN_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ASPSOLDGEN_HPP
+
+#include "gc_implementation/parallelScavenge/objectStartArray.hpp"
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
+#include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+#include "gc_implementation/shared/generationCounters.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "gc_implementation/shared/spaceCounters.hpp"
+
class ASPSOldGen : public PSOldGen {
friend class VMStructs;
size_t _gen_size_limit; // Largest size the generation's reserved size
@@ -55,3 +65,5 @@ class ASPSOldGen : public PSOldGen {
// Debugging support
virtual const char* short_name() const { return "ASPSOldGen"; }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ASPSOLDGEN_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.cpp b/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.cpp
index 8edd351fc..73b63043b 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,16 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_asPSYoungGen.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/asPSYoungGen.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+#include "gc_implementation/parallelScavenge/psYoungGen.hpp"
+#include "gc_implementation/shared/gcUtil.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
ASPSYoungGen::ASPSYoungGen(size_t init_byte_size,
size_t minimum_byte_size,
diff --git a/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.hpp b/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.hpp
index 6f56c3d60..6f5409239 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ASPSYOUNGGEN_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ASPSYOUNGGEN_HPP
+
+#include "gc_implementation/parallelScavenge/objectStartArray.hpp"
+#include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+#include "gc_implementation/parallelScavenge/psYoungGen.hpp"
+#include "gc_implementation/shared/generationCounters.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "gc_implementation/shared/spaceCounters.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+
class ASPSYoungGen : public PSYoungGen {
friend class VMStructs;
private:
@@ -62,3 +73,5 @@ class ASPSYoungGen : public PSYoungGen {
// Printing support
virtual const char* short_name() const { return "ASPSYoungGen"; }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_ASPSYOUNGGEN_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp b/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp
index e9da8d5fa..5b06d3126 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_cardTableExtension.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/cardTableExtension.hpp"
+#include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psTasks.hpp"
+#include "gc_implementation/parallelScavenge/psYoungGen.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.psgc.inline.hpp"
// Checks an individual oop for missing precise marks. Mark
// may be either dirty or newgen.
diff --git a/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.hpp b/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.hpp
index 90243a721..00d6673e1 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_CARDTABLEEXTENSION_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_CARDTABLEEXTENSION_HPP
+
+#include "memory/cardTableModRefBS.hpp"
+
class MutableSpace;
class ObjectStartArray;
class PSPromotionManager;
@@ -108,3 +113,5 @@ class CardTableExtension : public CardTableModRefBS {
#endif // ASSERT
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_CARDTABLEEXTENSION_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.cpp b/src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.cpp
index 9b596d841..c4c512041 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_gcTaskManager.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
+#include "gc_implementation/parallelScavenge/gcTaskThread.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "runtime/mutex.hpp"
+#include "runtime/mutexLocker.hpp"
//
// GCTask
diff --git a/src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.hpp b/src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.hpp
index 6976bf4b1..3bd3af1e3 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_GCTASKMANAGER_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_GCTASKMANAGER_HPP
+
+#include "runtime/mutex.hpp"
+#include "utilities/growableArray.hpp"
+
//
// The GCTaskManager is a queue of GCTasks, and accessors
// to allow the queue to be accessed from many threads.
@@ -636,3 +642,5 @@ private:
return _freelist;
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_GCTASKMANAGER_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.cpp b/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.cpp
index 28651a15b..41c90f9ec 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.cpp
@@ -1,6 +1,6 @@
/*
- * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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,8 +23,16 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_gcTaskThread.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
+#include "gc_implementation/parallelScavenge/gcTaskThread.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/os.hpp"
+#include "runtime/thread.hpp"
GCTaskThread::GCTaskThread(GCTaskManager* manager,
uint which,
diff --git a/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.hpp b/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.hpp
index 6968a6d96..7fc907bf0 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_GCTASKTHREAD_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_GCTASKTHREAD_HPP
+
+#include "runtime/thread.hpp"
+
// Forward declarations of classes defined here.
class GCTaskThread;
class GCTaskTimeStamp;
@@ -97,3 +102,5 @@ class GCTaskTimeStamp : public CHeapObj
void set_exit_time(jlong time) { _exit_time = time; }
void set_name(char* name) { _name = name; }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_GCTASKTHREAD_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/generationSizer.hpp b/src/share/vm/gc_implementation/parallelScavenge/generationSizer.hpp
index 9aa859242..854b09ac5 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/generationSizer.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/generationSizer.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_GENERATIONSIZER_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_GENERATIONSIZER_HPP
+
+#include "memory/collectorPolicy.hpp"
+
// There is a nice batch of tested generation sizing code in
// TwoGenerationCollectorPolicy. Lets reuse it!
@@ -67,3 +72,5 @@ class GenerationSizer : public TwoGenerationCollectorPolicy {
size_t perm_gen_size() { return PermSize; }
size_t max_perm_gen_size() { return MaxPermSize; }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_GENERATIONSIZER_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp b/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp
index e697b31a0..1b8083921 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_objectStartArray.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/objectStartArray.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
void ObjectStartArray::initialize(MemRegion reserved_region) {
// We're based on the assumption that we use the same
diff --git a/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.hpp b/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.hpp
index dcf6fc355..cea680b58 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_OBJECTSTARTARRAY_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_OBJECTSTARTARRAY_HPP
+
+#include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+#include "memory/allocation.hpp"
+#include "memory/memRegion.hpp"
+#include "oops/oop.hpp"
+
//
// This class can be used to locate the beginning of an object in the
// covered region.
@@ -160,3 +168,5 @@ class ObjectStartArray : public CHeapObj {
// "start", the method will return true.
bool object_starts_in_range(HeapWord* start_addr, HeapWord* end_addr) const;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_OBJECTSTARTARRAY_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.cpp b/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.cpp
index e8963cb8e..f43fffce1 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,22 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_parMarkBitMap.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/parMarkBitMap.hpp"
+#include "gc_implementation/parallelScavenge/parMarkBitMap.inline.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/os.hpp"
+#include "utilities/bitMap.inline.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
bool
ParMarkBitMap::initialize(MemRegion covered_region)
diff --git a/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.hpp b/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.hpp
index 02376bf2a..9f8c2042b 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARMARKBITMAP_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARMARKBITMAP_HPP
+
+#include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+#include "utilities/bitMap.inline.hpp"
+
class oopDesc;
class ParMarkBitMapClosure;
@@ -426,3 +432,5 @@ inline void ParMarkBitMap::verify_addr(HeapWord* addr) const {
assert(addr <= region_start() + region_size(), "addr too big");
}
#endif // #ifdef ASSERT
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARMARKBITMAP_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.inline.hpp b/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.inline.hpp
index aea032efb..e94f75c6e 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.inline.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARMARKBITMAP_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARMARKBITMAP_INLINE_HPP
+
inline bool
ParMarkBitMap::mark_obj(oop obj)
{
return mark_obj(obj, obj->size());
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARMARKBITMAP_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp b/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp
index f3506296d..5eebf2437 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp
@@ -22,8 +22,25 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_parallelScavengeHeap.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/adjoiningGenerations.hpp"
+#include "gc_implementation/parallelScavenge/adjoiningVirtualSpaces.hpp"
+#include "gc_implementation/parallelScavenge/cardTableExtension.hpp"
+#include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
+#include "gc_implementation/parallelScavenge/generationSizer.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.inline.hpp"
+#include "gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweep.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+#include "gc_implementation/parallelScavenge/vmPSOperations.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/vmThread.hpp"
+#include "utilities/vmError.hpp"
PSYoungGen* ParallelScavengeHeap::_young_gen = NULL;
PSOldGen* ParallelScavengeHeap::_old_gen = NULL;
diff --git a/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp b/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp
index e8f25be68..44f6640d0 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARALLELSCAVENGEHEAP_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARALLELSCAVENGEHEAP_HPP
+
+#include "gc_implementation/parallelScavenge/objectStartArray.hpp"
+#include "gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp"
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
+#include "gc_implementation/parallelScavenge/psPermGen.hpp"
+#include "gc_implementation/parallelScavenge/psYoungGen.hpp"
+#include "gc_implementation/shared/gcPolicyCounters.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "utilities/ostream.hpp"
+
class AdjoiningGenerations;
class GCTaskManager;
class PSAdaptiveSizePolicy;
@@ -263,3 +275,5 @@ inline size_t ParallelScavengeHeap::set_alignment(size_t& var, size_t val)
var = round_to(val, intra_heap_alignment());
return var;
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARALLELSCAVENGEHEAP_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.inline.hpp b/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.inline.hpp
index 182b50545..092a0392d 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.inline.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARALLELSCAVENGEHEAP_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARALLELSCAVENGEHEAP_INLINE_HPP
+
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweep.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+
inline size_t ParallelScavengeHeap::total_invocations()
{
return UseParallelOldGC ? PSParallelCompact::total_invocations() :
@@ -49,3 +57,5 @@ inline bool ParallelScavengeHeap::is_in_young(oop p) {
inline bool ParallelScavengeHeap::is_in_old_or_perm(oop p) {
return old_gen()->is_in_reserved(p) || perm_gen()->is_in_reserved(p);
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARALLELSCAVENGEHEAP_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/pcTasks.cpp b/src/share/vm/gc_implementation/parallelScavenge/pcTasks.cpp
index 27b676273..2054dc4a3 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/pcTasks.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/pcTasks.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,22 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_pcTasks.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "gc_implementation/parallelScavenge/pcTasks.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/universe.hpp"
+#include "oops/objArrayKlass.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/jniHandles.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/vmThread.hpp"
+#include "services/management.hpp"
//
// ThreadRootsMarkingTask
diff --git a/src/share/vm/gc_implementation/parallelScavenge/pcTasks.hpp b/src/share/vm/gc_implementation/parallelScavenge/pcTasks.hpp
index 3bc4f1b6f..fd6ee5e76 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/pcTasks.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/pcTasks.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PCTASKS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PCTASKS_HPP
+
+#include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#include "gc_implementation/parallelScavenge/psTasks.hpp"
+
// Tasks for parallel compaction of the old generation
//
@@ -250,3 +257,5 @@ class DrainStacksCompactionTask : public GCTask {
char* name() { return (char *)"drain-region-task"; }
virtual void do_it(GCTaskManager* manager, uint which);
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PCTASKS_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp b/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp
index 643129e8a..1ac281813 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp
@@ -22,8 +22,16 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_psAdaptiveSizePolicy.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/generationSizer.hpp"
+#include "gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp"
+#include "gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+#include "gc_implementation/shared/gcPolicyCounters.hpp"
+#include "gc_interface/gcCause.hpp"
+#include "memory/collectorPolicy.hpp"
+#include "runtime/timer.hpp"
+#include "utilities/top.hpp"
#include <math.h>
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp b/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp
index a178ee06a..e5e4e4ce9 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSADAPTIVESIZEPOLICY_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSADAPTIVESIZEPOLICY_HPP
+
+#include "gc_implementation/shared/adaptiveSizePolicy.hpp"
+#include "gc_implementation/shared/gcStats.hpp"
+#include "gc_implementation/shared/gcUtil.hpp"
+#include "gc_interface/gcCause.hpp"
+
// This class keeps statistical information and computes the
// optimal free space for both the young and old generation
// based on current application characteristics (based on gc cost
@@ -384,3 +392,5 @@ class PSAdaptiveSizePolicy : public AdaptiveSizePolicy {
// Printing support
virtual bool print_adaptive_size_policy_on(outputStream* st) const;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSADAPTIVESIZEPOLICY_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.cpp b/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.cpp
index 1ce20cdbf..24b9ddea0 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.cpp
@@ -22,8 +22,20 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_psCompactionManager.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
+#include "gc_implementation/parallelScavenge/objectStartArray.hpp"
+#include "gc_implementation/parallelScavenge/parMarkBitMap.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psCompactionManager.hpp"
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#include "oops/objArrayKlass.inline.hpp"
+#include "oops/oop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#include "utilities/stack.inline.hpp"
PSOldGen* ParCompactionManager::_old_gen = NULL;
ParCompactionManager** ParCompactionManager::_manager_array = NULL;
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp b/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp
index 24723c9e7..cbf1b7d03 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/stack.hpp"
+#include "utilities/taskqueue.hpp"
+
// Move to some global location
#define HAS_BEEN_MOVED 0x1501d01d
// End move to some global location
@@ -167,3 +174,5 @@ inline ParCompactionManager* ParCompactionManager::manager_array(int index) {
bool ParCompactionManager::marking_stacks_empty() const {
return _marking_stack.is_empty() && _objarray_stack.is_empty();
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp b/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp
index 1894cb5e7..6cf76353d 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_INLINE_HPP
+
+#include "gc_implementation/parallelScavenge/psCompactionManager.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+
void ParCompactionManager::push_objarray(oop obj, size_t index)
{
ObjArrayTask task(obj, index);
@@ -39,3 +45,5 @@ void ParCompactionManager::push_region(size_t index)
#endif
region_stack()->push(index);
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.cpp b/src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.cpp
index 092c8fbf1..7e5bc9aab 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.cpp
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_psGCAdaptivePolicyCounters.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/arguments.hpp"
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp b/src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp
index 53ea94417..c68397056 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSGCADAPTIVEPOLICYCOUNTERS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSGCADAPTIVEPOLICYCOUNTERS_HPP
+
+#include "gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp"
+#include "gc_implementation/shared/gcAdaptivePolicyCounters.hpp"
+#include "gc_implementation/shared/gcPolicyCounters.hpp"
+
// PSGCAdaptivePolicyCounters is a holder class for performance counters
// that track the data and decisions for the ergonomics policy for the
// parallel scavenge collector.
@@ -200,3 +207,5 @@ class PSGCAdaptivePolicyCounters : public GCAdaptivePolicyCounters {
return GCPolicyCounters::PSGCAdaptivePolicyCountersKind;
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSGCADAPTIVEPOLICYCOUNTERS_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.cpp b/src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.cpp
index 85438c88d..67378de14 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.cpp
@@ -1,6 +1,6 @@
/*
- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2010, 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,8 +23,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_psGenerationCounters.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/psGenerationCounters.hpp"
+#include "memory/resourceArea.hpp"
PSGenerationCounters::PSGenerationCounters(const char* name,
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.hpp b/src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.hpp
index 065129d32..a86677956 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.hpp
@@ -1,6 +1,6 @@
/*
- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2010, 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,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSGENERATIONCOUNTERS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSGENERATIONCOUNTERS_HPP
+
+#include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+#include "gc_implementation/shared/generationCounters.hpp"
+#include "runtime/perfData.hpp"
+
// A PSGenerationCounter is a holder class for performance counters
// that track a generation
@@ -41,3 +48,5 @@ class PSGenerationCounters: public GenerationCounters {
_current_size->set_value(_ps_virtual_space->committed_size());
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSGENERATIONCOUNTERS_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp b/src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp
index 9905cfe82..3efa4ceae 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp
@@ -22,8 +22,34 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_psMarkSweep.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "gc_implementation/parallelScavenge/generationSizer.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweep.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp"
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
+#include "gc_implementation/parallelScavenge/psPermGen.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+#include "gc_implementation/parallelScavenge/psYoungGen.hpp"
+#include "gc_implementation/shared/isGCActiveMark.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "gc_interface/gcCause.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/referencePolicy.hpp"
+#include "memory/referenceProcessor.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/vmThread.hpp"
+#include "services/management.hpp"
+#include "services/memoryService.hpp"
+#include "utilities/events.hpp"
+#include "utilities/stack.inline.hpp"
elapsedTimer PSMarkSweep::_accumulated_time;
unsigned int PSMarkSweep::_total_invocations = 0;
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.hpp b/src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.hpp
index 551a63f6f..832b16742 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSMARKSWEEP_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSMARKSWEEP_HPP
+
+#include "gc_implementation/shared/collectorCounters.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "utilities/stack.hpp"
+
class PSAdaptiveSizePolicy;
class PSYoungGen;
class PSOldGen;
@@ -83,3 +90,5 @@ class PSMarkSweep : public MarkSweep {
// Time since last full gc (in milliseconds)
static jlong millis_since_last_gc();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSMARKSWEEP_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psMarkSweepDecorator.cpp b/src/share/vm/gc_implementation/parallelScavenge/psMarkSweepDecorator.cpp
index 8cdad2a70..ade35fa4a 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psMarkSweepDecorator.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psMarkSweepDecorator.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,16 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_psMarkSweepDecorator.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_implementation/parallelScavenge/objectStartArray.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweep.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp"
+#include "gc_implementation/shared/liveRange.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "oops/oop.inline.hpp"
PSMarkSweepDecorator* PSMarkSweepDecorator::_destination_decorator = NULL;
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp b/src/share/vm/gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp
index 45a9d96ee..9d721d61b 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSMARKSWEEPDECORATOR_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSMARKSWEEPDECORATOR_HPP
+
+#include "gc_implementation/shared/mutableSpace.hpp"
+
//
// A PSMarkSweepDecorator is used to add "ParallelScavenge" style mark sweep operations
// to a MutableSpace.
@@ -73,3 +78,5 @@ class PSMarkSweepDecorator: public CHeapObj {
void precompact();
void compact(bool mangle_free_space);
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSMARKSWEEPDECORATOR_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp b/src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp
index 3898e2a8d..df0865ee3 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,16 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_psOldGen.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp"
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
inline const char* PSOldGen::select_name() {
return UseParallelOldGC ? "ParOldGen" : "PSOldGen";
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psOldGen.hpp b/src/share/vm/gc_implementation/parallelScavenge/psOldGen.hpp
index 27360a1cb..0d9cdd75d 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psOldGen.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psOldGen.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSOLDGEN_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSOLDGEN_HPP
+
+#include "gc_implementation/parallelScavenge/objectStartArray.hpp"
+#include "gc_implementation/parallelScavenge/psGenerationCounters.hpp"
+#include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "gc_implementation/shared/spaceCounters.hpp"
+#include "runtime/safepoint.hpp"
+
class PSMarkSweepDecorator;
class PSOldGen : public CHeapObj {
@@ -190,3 +200,5 @@ class PSOldGen : public CHeapObj {
// Save the tops of all spaces for later use during mangling.
void record_spaces_top() PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSOLDGEN_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp b/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
index 57ff986c3..79e269dc7 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
@@ -22,8 +22,39 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_psParallelCompact.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
+#include "gc_implementation/parallelScavenge/generationSizer.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.inline.hpp"
+#include "gc_implementation/parallelScavenge/pcTasks.hpp"
+#include "gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp"
+#include "gc_implementation/parallelScavenge/psCompactionManager.inline.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweep.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp"
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#include "gc_implementation/parallelScavenge/psPermGen.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.inline.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+#include "gc_implementation/parallelScavenge/psYoungGen.hpp"
+#include "gc_implementation/shared/isGCActiveMark.hpp"
+#include "gc_interface/gcCause.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/referencePolicy.hpp"
+#include "memory/referenceProcessor.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/vmThread.hpp"
+#include "services/management.hpp"
+#include "services/memoryService.hpp"
+#include "utilities/events.hpp"
+#include "utilities/stack.inline.hpp"
#include <math.h>
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp b/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp
index 1d3ade779..e69730202 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPARALLELCOMPACT_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPARALLELCOMPACT_HPP
+
+#include "gc_implementation/parallelScavenge/objectStartArray.hpp"
+#include "gc_implementation/parallelScavenge/parMarkBitMap.hpp"
+#include "gc_implementation/parallelScavenge/psCompactionManager.hpp"
+#include "gc_implementation/shared/collectorCounters.hpp"
+#include "gc_implementation/shared/markSweep.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "memory/sharedHeap.hpp"
+#include "oops/oop.hpp"
+
class ParallelScavengeHeap;
class PSAdaptiveSizePolicy;
class PSYoungGen;
@@ -1514,3 +1526,5 @@ public:
private:
ObjectStartArray* const _start_array;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPARALLELCOMPACT_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psPermGen.cpp b/src/share/vm/gc_implementation/parallelScavenge/psPermGen.cpp
index 1224f2245..60fea3165 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psPermGen.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psPermGen.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_psPermGen.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#include "gc_implementation/parallelScavenge/psPermGen.hpp"
+#include "gc_implementation/shared/gcUtil.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "oops/markOop.inline.hpp"
PSPermGen::PSPermGen(ReservedSpace rs, size_t alignment,
size_t initial_size, size_t min_size, size_t max_size,
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psPermGen.hpp b/src/share/vm/gc_implementation/parallelScavenge/psPermGen.hpp
index 43eedc6dd..7a890fc8d 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psPermGen.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psPermGen.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPERMGEN_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPERMGEN_HPP
+
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
+
class AdaptivePaddedAverage;
class PSPermGen : public PSOldGen {
@@ -51,3 +56,5 @@ class PSPermGen : public PSOldGen {
virtual const char* name() const { return "PSPermGen"; }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPERMGEN_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.cpp b/src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.cpp
index 3331a1fca..3569ed7b6 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_psPromotionLAB.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionLAB.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "oops/oop.inline.hpp"
size_t PSPromotionLAB::filler_header_size;
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.hpp b/src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.hpp
index 6e7e05c59..bed0c0cde 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONLAB_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONLAB_HPP
+
+#include "gc_implementation/parallelScavenge/objectStartArray.hpp"
+#include "memory/allocation.hpp"
+
//
// PSPromotionLAB is a parallel scavenge promotion lab. This class acts very
// much like a MutableSpace. We couldn't embed a MutableSpace, though, as
@@ -140,3 +146,5 @@ class PSOldPromotionLAB : public PSPromotionLAB {
debug_only(virtual bool lab_is_valid(MemRegion lab));
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONLAB_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.cpp b/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.cpp
index 5a8057862..8379004f6 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.cpp
@@ -22,8 +22,15 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_psPromotionManager.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.inline.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "memory/memRegion.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.psgc.inline.hpp"
PSPromotionManager** PSPromotionManager::_manager_array = NULL;
OopStarTaskQueueSet* PSPromotionManager::_stack_array_depth = NULL;
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp b/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp
index aa14478d4..80c09d913 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_HPP
+
+#include "gc_implementation/parallelScavenge/psPromotionLAB.hpp"
+#include "memory/allocation.hpp"
+#include "utilities/taskqueue.hpp"
+
//
// psPromotionManager is used by a single thread to manage object survival
// during a scavenge. The promotion manager contains thread local data only.
@@ -191,3 +198,5 @@ class PSPromotionManager : public CHeapObj {
TASKQUEUE_STATS_ONLY(inline void record_steal(StarTask& p);)
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp b/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp
index decc5e99a..eae7eaded 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_INLINE_HPP
+
+#include "gc_implementation/parallelScavenge/psPromotionManager.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+
inline PSPromotionManager* PSPromotionManager::manager_array(int index) {
assert(_manager_array != NULL, "access of NULL manager_array");
assert(index >= 0 && index <= (int)ParallelGCThreads, "out of range manager_array access");
@@ -77,3 +83,5 @@ void PSPromotionManager::record_steal(StarTask& p) {
}
}
#endif // TASKQUEUE_STATS
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp b/src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp
index 96add27c7..9cf294eb9 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp
@@ -22,9 +22,35 @@
*
*/
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/cardTableExtension.hpp"
+#include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
+#include "gc_implementation/parallelScavenge/generationSizer.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweep.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#include "gc_implementation/parallelScavenge/psTasks.hpp"
+#include "gc_implementation/shared/isGCActiveMark.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "gc_interface/gcCause.hpp"
+#include "memory/collectorPolicy.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/referencePolicy.hpp"
+#include "memory/referenceProcessor.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.psgc.inline.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/threadCritical.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
+#include "services/memoryService.hpp"
+#include "utilities/stack.inline.hpp"
-# include "incls/_precompiled.incl"
-# include "incls/_psScavenge.cpp.incl"
HeapWord* PSScavenge::_to_space_top_before_gc = NULL;
int PSScavenge::_consecutive_skipped_scavenges = 0;
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp b/src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp
index 836106d8a..f3e65a166 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSSCAVENGE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSSCAVENGE_HPP
+
+#include "gc_implementation/parallelScavenge/cardTableExtension.hpp"
+#include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+#include "gc_implementation/shared/collectorCounters.hpp"
+#include "memory/allocation.hpp"
+#include "oops/oop.hpp"
+#include "utilities/stack.hpp"
+
class GCTaskManager;
class GCTaskQueue;
class OopStack;
@@ -135,3 +145,5 @@ class PSScavenge: AllStatic {
return result;
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSSCAVENGE_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psScavenge.inline.hpp b/src/share/vm/gc_implementation/parallelScavenge/psScavenge.inline.hpp
index 3de87882f..5e67cf061 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psScavenge.inline.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psScavenge.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSSCAVENGE_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSSCAVENGE_INLINE_HPP
+
+#include "gc_implementation/parallelScavenge/cardTableExtension.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+
inline void PSScavenge::save_to_space_top_before_gc() {
ParallelScavengeHeap* heap = (ParallelScavengeHeap*)Universe::heap();
_to_space_top_before_gc = heap->young_gen()->to_space()->top();
@@ -77,3 +85,5 @@ inline void PSScavenge::copy_and_push_safe_barrier(PSPromotionManager* pm,
}
}
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSSCAVENGE_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psTasks.cpp b/src/share/vm/gc_implementation/parallelScavenge/psTasks.cpp
index 11774d941..5b38abb59 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psTasks.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psTasks.cpp
@@ -22,8 +22,25 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_psTasks.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "gc_implementation/parallelScavenge/cardTableExtension.hpp"
+#include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweep.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.inline.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+#include "gc_implementation/parallelScavenge/psTasks.hpp"
+#include "memory/iterator.hpp"
+#include "memory/universe.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.psgc.inline.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/vmThread.hpp"
+#include "services/management.hpp"
+#include "utilities/taskqueue.hpp"
//
// ScavengeRootsTask
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psTasks.hpp b/src/share/vm/gc_implementation/parallelScavenge/psTasks.hpp
index 3e60cc4f1..7ae5b21cb 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psTasks.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psTasks.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSTASKS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSTASKS_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/growableArray.hpp"
+
//
// psTasks.hpp is a collection of GCTasks used by the
// parallelScavenge collector.
@@ -144,3 +150,5 @@ class OldToYoungRootsTask : public GCTask {
virtual void do_it(GCTaskManager* manager, uint which);
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSTASKS_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.cpp b/src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.cpp
index 0368449da..8eba89397 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_psVirtualspace.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+#include "runtime/os.hpp"
+#include "runtime/virtualspace.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
// PSVirtualSpace
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.hpp b/src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.hpp
index 583cc2558..da452cab0 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSVIRTUALSPACE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSVIRTUALSPACE_HPP
+
+#include "runtime/virtualspace.hpp"
+
// VirtualSpace for the parallel scavenge collector.
//
// VirtualSpace is data structure for committing a previously reserved address
@@ -173,3 +178,5 @@ inline void PSVirtualSpace::set_committed(char* low_addr, char* high_addr) {
_committed_low_addr = low_addr;
_committed_high_addr = high_addr;
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSVIRTUALSPACE_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp b/src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp
index 4fda98889..b5e6462e7 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,16 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_psYoungGen.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+#include "gc_implementation/parallelScavenge/psYoungGen.hpp"
+#include "gc_implementation/shared/gcUtil.hpp"
+#include "gc_implementation/shared/mutableNUMASpace.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
PSYoungGen::PSYoungGen(size_t initial_size,
size_t min_size,
diff --git a/src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp b/src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp
index 20809b399..3d4c56637 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSYOUNGGEN_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSYOUNGGEN_HPP
+
+#include "gc_implementation/parallelScavenge/objectStartArray.hpp"
+#include "gc_implementation/parallelScavenge/psGenerationCounters.hpp"
+#include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "gc_implementation/shared/spaceCounters.hpp"
+
class PSMarkSweepDecorator;
class PSYoungGen : public CHeapObj {
@@ -188,3 +197,5 @@ class PSYoungGen : public CHeapObj {
void record_spaces_top() PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSYOUNGGEN_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp b/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp
index 1b86df650..453c79162 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vmPSOperations.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.inline.hpp"
+#include "gc_implementation/parallelScavenge/psMarkSweep.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#include "gc_implementation/parallelScavenge/vmPSOperations.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "utilities/dtrace.hpp"
// The following methods are used by the parallel scavenge collector
VM_ParallelGCFailedAllocation::VM_ParallelGCFailedAllocation(size_t size,
diff --git a/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.hpp b/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.hpp
index e408a4e64..500a0db07 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_VMPSOPERATIONS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_VMPSOPERATIONS_HPP
+
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/shared/vmGCOperations.hpp"
+#include "gc_interface/gcCause.hpp"
+
class VM_ParallelGCFailedAllocation: public VM_GC_Operation {
private:
size_t _size;
@@ -63,3 +70,5 @@ class VM_ParallelGCSystemGC: public VM_GC_Operation {
virtual VMOp_Type type() const { return VMOp_ParallelGCSystemGC; }
virtual void doit();
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_VMPSOPERATIONS_HPP
diff --git a/src/share/vm/gc_implementation/parallelScavenge/vmStructs_parallelgc.hpp b/src/share/vm/gc_implementation/parallelScavenge/vmStructs_parallelgc.hpp
index 370901495..bd8a393da 100644
--- a/src/share/vm/gc_implementation/parallelScavenge/vmStructs_parallelgc.hpp
+++ b/src/share/vm/gc_implementation/parallelScavenge/vmStructs_parallelgc.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_VMSTRUCTS_PARALLELGC_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_VMSTRUCTS_PARALLELGC_HPP
+
#define VM_STRUCTS_PARALLELGC(nonstatic_field, \
static_field) \
\
@@ -93,3 +96,5 @@
declare_toplevel_type(ASPSOldGen*) \
declare_toplevel_type(PSPermGen*) \
declare_toplevel_type(ParallelScavengeHeap*)
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_VMSTRUCTS_PARALLELGC_HPP
diff --git a/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp b/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp
index 60f2f1fd6..4c933f85b 100644
--- a/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp
+++ b/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp
@@ -21,9 +21,13 @@
* questions.
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_adaptiveSizePolicy.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/adaptiveSizePolicy.hpp"
+#include "gc_interface/gcCause.hpp"
+#include "memory/collectorPolicy.hpp"
+#include "runtime/timer.hpp"
+#include "utilities/ostream.hpp"
elapsedTimer AdaptiveSizePolicy::_minor_timer;
elapsedTimer AdaptiveSizePolicy::_major_timer;
diff --git a/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.hpp b/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.hpp
index 6bf9da53b..4822eb4bf 100644
--- a/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.hpp
+++ b/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_ADAPTIVESIZEPOLICY_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_ADAPTIVESIZEPOLICY_HPP
+
+#include "gc_implementation/shared/gcUtil.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "gc_interface/gcCause.hpp"
+#include "memory/allocation.hpp"
+#include "memory/universe.hpp"
+
// This class keeps statistical information and computes the
// size of the heap.
@@ -503,3 +512,5 @@ class AdaptiveSizePolicyOutput : StackObj {
}
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_ADAPTIVESIZEPOLICY_HPP
diff --git a/src/share/vm/gc_implementation/shared/ageTable.cpp b/src/share/vm/gc_implementation/shared/ageTable.cpp
index 189be92e8..bc74db8f7 100644
--- a/src/share/vm/gc_implementation/shared/ageTable.cpp
+++ b/src/share/vm/gc_implementation/shared/ageTable.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,12 +22,17 @@
*
*/
+#include "precompiled.hpp"
+#include "gc_implementation/shared/ageTable.hpp"
+#include "gc_implementation/shared/gcPolicyCounters.hpp"
+#include "memory/collectorPolicy.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/sharedHeap.hpp"
+#include "utilities/copy.hpp"
+
/* Copyright (c) 1992-2009 Oracle and/or its affiliates, and Stanford University.
See the LICENSE file for license information. */
-# include "incls/_precompiled.incl"
-# include "incls/_ageTable.cpp.incl"
-
ageTable::ageTable(bool global) {
clear();
diff --git a/src/share/vm/gc_implementation/shared/ageTable.hpp b/src/share/vm/gc_implementation/shared/ageTable.hpp
index 5343e8844..d763157e4 100644
--- a/src/share/vm/gc_implementation/shared/ageTable.hpp
+++ b/src/share/vm/gc_implementation/shared/ageTable.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_AGETABLE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_AGETABLE_HPP
+
+#include "oops/markOop.hpp"
+#include "oops/oop.hpp"
+#include "runtime/perfData.hpp"
+
/* Copyright (c) 1992-2009 Oracle and/or its affiliates, and Stanford University.
See the LICENSE file for license information. */
@@ -64,3 +71,5 @@ class ageTable VALUE_OBJ_CLASS_SPEC {
private:
PerfVariable* _perf_sizes[table_size];
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_AGETABLE_HPP
diff --git a/src/share/vm/gc_implementation/shared/allocationStats.cpp b/src/share/vm/gc_implementation/shared/allocationStats.cpp
index 67dcac43b..c24fc3bbf 100644
--- a/src/share/vm/gc_implementation/shared/allocationStats.cpp
+++ b/src/share/vm/gc_implementation/shared/allocationStats.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_allocationStats.cpp.incl"
+#include "precompiled.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/shared/allocationStats.hpp"
+#include "utilities/ostream.hpp"
+#endif
// Technically this should be derived from machine speed, and
// ideally it would be dynamically adjusted.
diff --git a/src/share/vm/gc_implementation/shared/allocationStats.hpp b/src/share/vm/gc_implementation/shared/allocationStats.hpp
index 0ecf83e4c..b2d410ad6 100644
--- a/src/share/vm/gc_implementation/shared/allocationStats.hpp
+++ b/src/share/vm/gc_implementation/shared/allocationStats.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP
+
+#ifndef SERIALGC
+#include "gc_implementation/shared/gcUtil.hpp"
+#include "memory/allocation.hpp"
+#include "utilities/globalDefinitions.hpp"
+#endif
+
class AllocationStats VALUE_OBJ_CLASS_SPEC {
// A duration threshold (in ms) used to filter
// possibly unreliable samples.
@@ -157,3 +166,5 @@ class AllocationStats VALUE_OBJ_CLASS_SPEC {
void set_returnedBytes(size_t v) { _returnedBytes = v; }
)
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP
diff --git a/src/share/vm/gc_implementation/shared/cSpaceCounters.cpp b/src/share/vm/gc_implementation/shared/cSpaceCounters.cpp
index e947845a7..e68207230 100644
--- a/src/share/vm/gc_implementation/shared/cSpaceCounters.cpp
+++ b/src/share/vm/gc_implementation/shared/cSpaceCounters.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_cSpaceCounters.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/cSpaceCounters.hpp"
+#include "memory/resourceArea.hpp"
CSpaceCounters::CSpaceCounters(const char* name, int ordinal, size_t max_size,
ContiguousSpace* s, GenerationCounters* gc) :
diff --git a/src/share/vm/gc_implementation/shared/cSpaceCounters.hpp b/src/share/vm/gc_implementation/shared/cSpaceCounters.hpp
index 202968c61..d4a860eb8 100644
--- a/src/share/vm/gc_implementation/shared/cSpaceCounters.hpp
+++ b/src/share/vm/gc_implementation/shared/cSpaceCounters.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_CSPACECOUNTERS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_CSPACECOUNTERS_HPP
+
+#include "gc_implementation/shared/generationCounters.hpp"
+#include "memory/space.inline.hpp"
+#include "runtime/perfData.hpp"
+
// A CSpaceCounters is a holder class for performance counters
// that track a space;
@@ -75,3 +82,5 @@ class ContiguousSpaceUsedHelper : public PerfLongSampleHelper {
return _space->used();
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_CSPACECOUNTERS_HPP
diff --git a/src/share/vm/gc_implementation/shared/collectorCounters.cpp b/src/share/vm/gc_implementation/shared/collectorCounters.cpp
index 83549a191..91dad5e66 100644
--- a/src/share/vm/gc_implementation/shared/collectorCounters.cpp
+++ b/src/share/vm/gc_implementation/shared/collectorCounters.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_collectorCounters.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/collectorCounters.hpp"
+#include "memory/resourceArea.hpp"
CollectorCounters::CollectorCounters(const char* name, int ordinal) {
diff --git a/src/share/vm/gc_implementation/shared/collectorCounters.hpp b/src/share/vm/gc_implementation/shared/collectorCounters.hpp
index 8713c8ff2..b793f7b24 100644
--- a/src/share/vm/gc_implementation/shared/collectorCounters.hpp
+++ b/src/share/vm/gc_implementation/shared/collectorCounters.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_COLLECTORCOUNTERS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_COLLECTORCOUNTERS_HPP
+
+#include "runtime/perfData.hpp"
+
// CollectorCounters is a holder class for performance counters
// that track a collector
@@ -78,3 +83,5 @@ class TraceCollectorStats: public PerfTraceTimedEvent {
if (UsePerfData) _c->last_exit_counter()->set_value(os::elapsed_counter());
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_COLLECTORCOUNTERS_HPP
diff --git a/src/share/vm/gc_implementation/shared/concurrentGCThread.cpp b/src/share/vm/gc_implementation/shared/concurrentGCThread.cpp
index 6b81ed95f..594e70aba 100644
--- a/src/share/vm/gc_implementation/shared/concurrentGCThread.cpp
+++ b/src/share/vm/gc_implementation/shared/concurrentGCThread.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,10 +22,17 @@
*
*/
-// CopyrightVersion 1.2
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_implementation/shared/concurrentGCThread.hpp"
+#include "oops/instanceRefKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/init.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
-# include "incls/_precompiled.incl"
-# include "incls/_concurrentGCThread.cpp.incl"
+// CopyrightVersion 1.2
int ConcurrentGCThread::_CGC_flag = CGC_nil;
diff --git a/src/share/vm/gc_implementation/shared/concurrentGCThread.hpp b/src/share/vm/gc_implementation/shared/concurrentGCThread.hpp
index f1cf29a8d..4f347b64f 100644
--- a/src/share/vm/gc_implementation/shared/concurrentGCThread.hpp
+++ b/src/share/vm/gc_implementation/shared/concurrentGCThread.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_CONCURRENTGCTHREAD_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_CONCURRENTGCTHREAD_HPP
+
+#ifndef SERIALGC
+#include "runtime/thread.hpp"
+#endif
+
class VoidClosure;
// A SuspendibleThreadSet is (obviously) a set of threads that can be
@@ -165,3 +172,5 @@ class SurrogateLockerThread: public JavaThread {
void manipulatePLL(SLT_msg_type msg);
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_CONCURRENTGCTHREAD_HPP
diff --git a/src/share/vm/gc_implementation/shared/gSpaceCounters.cpp b/src/share/vm/gc_implementation/shared/gSpaceCounters.cpp
index bc9561e44..3d95950e8 100644
--- a/src/share/vm/gc_implementation/shared/gSpaceCounters.cpp
+++ b/src/share/vm/gc_implementation/shared/gSpaceCounters.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_gSpaceCounters.cpp.incl"
+#include "precompiled.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/shared/gSpaceCounters.hpp"
+#include "memory/generation.hpp"
+#include "memory/resourceArea.hpp"
+#endif
GSpaceCounters::GSpaceCounters(const char* name, int ordinal, size_t max_size,
Generation* g, GenerationCounters* gc,
diff --git a/src/share/vm/gc_implementation/shared/gSpaceCounters.hpp b/src/share/vm/gc_implementation/shared/gSpaceCounters.hpp
index ed06ba75b..85764c4f7 100644
--- a/src/share/vm/gc_implementation/shared/gSpaceCounters.hpp
+++ b/src/share/vm/gc_implementation/shared/gSpaceCounters.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GSPACECOUNTERS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_GSPACECOUNTERS_HPP
+
+#ifndef SERIALGC
+#include "gc_implementation/shared/generationCounters.hpp"
+#include "memory/generation.hpp"
+#include "runtime/perfData.hpp"
+#endif
+
// A GSpaceCounter is a holder class for performance counters
// that track a space;
@@ -100,3 +109,5 @@ class GenerationUsedHelper : public PerfLongSampleHelper {
return _gen->used();
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_GSPACECOUNTERS_HPP
diff --git a/src/share/vm/gc_implementation/shared/gcAdaptivePolicyCounters.cpp b/src/share/vm/gc_implementation/shared/gcAdaptivePolicyCounters.cpp
index 4a86761f7..fe4e8c35f 100644
--- a/src/share/vm/gc_implementation/shared/gcAdaptivePolicyCounters.cpp
+++ b/src/share/vm/gc_implementation/shared/gcAdaptivePolicyCounters.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_gcAdaptivePolicyCounters.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/gcAdaptivePolicyCounters.hpp"
+#include "memory/resourceArea.hpp"
// This class keeps statistical information and computes the
// size of the heap.
diff --git a/src/share/vm/gc_implementation/shared/gcAdaptivePolicyCounters.hpp b/src/share/vm/gc_implementation/shared/gcAdaptivePolicyCounters.hpp
index 927caa43f..30e78244a 100644
--- a/src/share/vm/gc_implementation/shared/gcAdaptivePolicyCounters.hpp
+++ b/src/share/vm/gc_implementation/shared/gcAdaptivePolicyCounters.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCADAPTIVEPOLICYCOUNTERS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCADAPTIVEPOLICYCOUNTERS_HPP
+
+#ifndef SERIALGC
+#include "gc_implementation/shared/adaptiveSizePolicy.hpp"
+#include "gc_implementation/shared/gcPolicyCounters.hpp"
+#endif
+
// This class keeps statistical information and computes the
// size of the heap.
@@ -222,3 +230,5 @@ class GCAdaptivePolicyCounters : public GCPolicyCounters {
return GCPolicyCounters::GCAdaptivePolicyCountersKind;
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_GCADAPTIVEPOLICYCOUNTERS_HPP
diff --git a/src/share/vm/gc_implementation/shared/gcPolicyCounters.cpp b/src/share/vm/gc_implementation/shared/gcPolicyCounters.cpp
index 00d15d38b..23a710b97 100644
--- a/src/share/vm/gc_implementation/shared/gcPolicyCounters.cpp
+++ b/src/share/vm/gc_implementation/shared/gcPolicyCounters.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_gcPolicyCounters.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/gcPolicyCounters.hpp"
+#include "memory/resourceArea.hpp"
GCPolicyCounters::GCPolicyCounters(const char* name, int collectors,
int generations) {
diff --git a/src/share/vm/gc_implementation/shared/gcPolicyCounters.hpp b/src/share/vm/gc_implementation/shared/gcPolicyCounters.hpp
index 9c0670b39..6d4494c0f 100644
--- a/src/share/vm/gc_implementation/shared/gcPolicyCounters.hpp
+++ b/src/share/vm/gc_implementation/shared/gcPolicyCounters.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCPOLICYCOUNTERS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCPOLICYCOUNTERS_HPP
+
+#include "runtime/perfData.hpp"
+
// GCPolicyCounters is a holder class for performance counters
// that track a generation
@@ -69,3 +74,5 @@ class GCPolicyCounters: public CHeapObj {
return GCPolicyCounters::GCPolicyCountersKind;
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_GCPOLICYCOUNTERS_HPP
diff --git a/src/share/vm/gc_implementation/shared/gcStats.cpp b/src/share/vm/gc_implementation/shared/gcStats.cpp
index ef65825e9..faef280f6 100644
--- a/src/share/vm/gc_implementation/shared/gcStats.cpp
+++ b/src/share/vm/gc_implementation/shared/gcStats.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_gcStats.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/gcStats.hpp"
+#include "gc_implementation/shared/gcUtil.hpp"
GCStats::GCStats() {
_avg_promoted = new AdaptivePaddedNoZeroDevAverage(
diff --git a/src/share/vm/gc_implementation/shared/gcStats.hpp b/src/share/vm/gc_implementation/shared/gcStats.hpp
index d99c84f95..070300e9b 100644
--- a/src/share/vm/gc_implementation/shared/gcStats.hpp
+++ b/src/share/vm/gc_implementation/shared/gcStats.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCSTATS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCSTATS_HPP
+
+#include "gc_implementation/shared/gcUtil.hpp"
+
class GCStats : public CHeapObj {
protected:
// Avg amount promoted; used for avoiding promotion undo
@@ -61,3 +66,5 @@ class CMSGCStats : public GCStats {
return CMSGCStatsKind;
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_GCSTATS_HPP
diff --git a/src/share/vm/gc_implementation/shared/gcUtil.cpp b/src/share/vm/gc_implementation/shared/gcUtil.cpp
index 4380641f3..267f73d3b 100644
--- a/src/share/vm/gc_implementation/shared/gcUtil.cpp
+++ b/src/share/vm/gc_implementation/shared/gcUtil.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_gcUtil.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/gcUtil.hpp"
// Catch-all file for utility classes
diff --git a/src/share/vm/gc_implementation/shared/gcUtil.hpp b/src/share/vm/gc_implementation/shared/gcUtil.hpp
index 97bd68313..8dd3258de 100644
--- a/src/share/vm/gc_implementation/shared/gcUtil.hpp
+++ b/src/share/vm/gc_implementation/shared/gcUtil.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCUTIL_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCUTIL_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/timer.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/ostream.hpp"
+
// Catch-all file for utility classes
// A weighted average maintains a running, weighted average
@@ -206,3 +215,5 @@ class GCPauseTimer : StackObj {
_timer->start();
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_GCUTIL_HPP
diff --git a/src/share/vm/gc_implementation/shared/generationCounters.cpp b/src/share/vm/gc_implementation/shared/generationCounters.cpp
index 143bf5b96..454818933 100644
--- a/src/share/vm/gc_implementation/shared/generationCounters.cpp
+++ b/src/share/vm/gc_implementation/shared/generationCounters.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_generationCounters.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/generationCounters.hpp"
+#include "memory/resourceArea.hpp"
GenerationCounters::GenerationCounters(const char* name,
diff --git a/src/share/vm/gc_implementation/shared/generationCounters.hpp b/src/share/vm/gc_implementation/shared/generationCounters.hpp
index 4b1479945..4fd05e493 100644
--- a/src/share/vm/gc_implementation/shared/generationCounters.hpp
+++ b/src/share/vm/gc_implementation/shared/generationCounters.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GENERATIONCOUNTERS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_GENERATIONCOUNTERS_HPP
+
+#include "runtime/perfData.hpp"
+#include "runtime/virtualspace.hpp"
+
// A GenerationCounter is a holder class for performance counters
// that track a generation
@@ -60,3 +66,5 @@ class GenerationCounters: public CHeapObj {
const char* name_space() const { return _name_space; }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_GENERATIONCOUNTERS_HPP
diff --git a/src/share/vm/gc_implementation/shared/immutableSpace.cpp b/src/share/vm/gc_implementation/shared/immutableSpace.cpp
index b09e7ef26..de0816556 100644
--- a/src/share/vm/gc_implementation/shared/immutableSpace.cpp
+++ b/src/share/vm/gc_implementation/shared/immutableSpace.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_immutableSpace.cpp.incl"
+#include "precompiled.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/shared/immutableSpace.hpp"
+#include "memory/universe.hpp"
+#include "oops/oop.inline.hpp"
+#endif
void ImmutableSpace::initialize(MemRegion mr) {
HeapWord* bottom = mr.start();
diff --git a/src/share/vm/gc_implementation/shared/immutableSpace.hpp b/src/share/vm/gc_implementation/shared/immutableSpace.hpp
index 0c71e8e98..bc5c1bd13 100644
--- a/src/share/vm/gc_implementation/shared/immutableSpace.hpp
+++ b/src/share/vm/gc_implementation/shared/immutableSpace.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_IMMUTABLESPACE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_IMMUTABLESPACE_HPP
+
+#include "memory/iterator.hpp"
+
// An ImmutableSpace is a viewport into a contiguous range
// (or subrange) of previously allocated objects.
@@ -62,3 +67,5 @@ class ImmutableSpace: public CHeapObj {
virtual void print_short() const PRODUCT_RETURN;
virtual void verify(bool allow_dirty);
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_IMMUTABLESPACE_HPP
diff --git a/src/share/vm/gc_implementation/shared/isGCActiveMark.hpp b/src/share/vm/gc_implementation/shared/isGCActiveMark.hpp
index e7354d376..4d3641724 100644
--- a/src/share/vm/gc_implementation/shared/isGCActiveMark.hpp
+++ b/src/share/vm/gc_implementation/shared/isGCActiveMark.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_ISGCACTIVEMARK_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_ISGCACTIVEMARK_HPP
+
+#ifndef SERIALGC
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#endif
+
// This class provides a method for block structured setting of the
// _is_gc_active state without requiring accessors in CollectedHeap
@@ -39,3 +46,5 @@ class IsGCActiveMark : public StackObj {
heap->_is_gc_active = false;
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_ISGCACTIVEMARK_HPP
diff --git a/src/share/vm/gc_implementation/shared/liveRange.hpp b/src/share/vm/gc_implementation/shared/liveRange.hpp
index d876f2467..1cf300a62 100644
--- a/src/share/vm/gc_implementation/shared/liveRange.hpp
+++ b/src/share/vm/gc_implementation/shared/liveRange.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_LIVERANGE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_LIVERANGE_HPP
+
+#include "memory/memRegion.hpp"
+#include "utilities/copy.hpp"
+
// This is a shared helper class used during phase 3 and 4 to move all the objects
// Dead regions in a Space are linked together to keep track of the live regions
// so that the live data can be traversed quickly without having to look at each
@@ -46,3 +52,5 @@ public:
Copy::aligned_conjoint_words(start(), destination, word_size());
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_LIVERANGE_HPP
diff --git a/src/share/vm/gc_implementation/shared/markSweep.cpp b/src/share/vm/gc_implementation/shared/markSweep.cpp
index 5ddfbf039..a72c715c0 100644
--- a/src/share/vm/gc_implementation/shared/markSweep.cpp
+++ b/src/share/vm/gc_implementation/shared/markSweep.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_markSweep.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileBroker.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/objArrayKlass.inline.hpp"
+#include "oops/oop.inline.hpp"
Stack<oop> MarkSweep::_marking_stack;
Stack<DataLayout*> MarkSweep::_revisit_mdo_stack;
diff --git a/src/share/vm/gc_implementation/shared/markSweep.hpp b/src/share/vm/gc_implementation/shared/markSweep.hpp
index a4939080b..b9aa63547 100644
--- a/src/share/vm/gc_implementation/shared/markSweep.hpp
+++ b/src/share/vm/gc_implementation/shared/markSweep.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_MARKSWEEP_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_MARKSWEEP_HPP
+
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/universe.hpp"
+#include "oops/markOop.hpp"
+#include "oops/oop.hpp"
+#include "runtime/timer.hpp"
+#include "utilities/growableArray.hpp"
+#include "utilities/stack.hpp"
+#include "utilities/taskqueue.hpp"
+
class ReferenceProcessor;
class DataLayout;
@@ -248,3 +260,5 @@ public:
_obj->set_mark(_mark);
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_MARKSWEEP_HPP
diff --git a/src/share/vm/gc_implementation/shared/markSweep.inline.hpp b/src/share/vm/gc_implementation/shared/markSweep.inline.hpp
index 933e3baad..3381f8cb8 100644
--- a/src/share/vm/gc_implementation/shared/markSweep.inline.hpp
+++ b/src/share/vm/gc_implementation/shared/markSweep.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_MARKSWEEP_INLINE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_MARKSWEEP_INLINE_HPP
+
+#include "gc_implementation/shared/markSweep.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "utilities/stack.inline.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#endif
+
inline void MarkSweep::mark_object(oop obj) {
// some marks may contain information we need to preserve so we store them away
// and overwrite the mark. We'll restore it at the end of markSweep.
@@ -115,3 +125,5 @@ template <class T> inline void MarkSweep::KeepAliveClosure::do_oop_work(T* p) {
#endif
mark_and_push(p);
}
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_MARKSWEEP_INLINE_HPP
diff --git a/src/share/vm/gc_implementation/shared/mutableNUMASpace.cpp b/src/share/vm/gc_implementation/shared/mutableNUMASpace.cpp
index 22cace7a2..aacaf3553 100644
--- a/src/share/vm/gc_implementation/shared/mutableNUMASpace.cpp
+++ b/src/share/vm/gc_implementation/shared/mutableNUMASpace.cpp
@@ -1,6 +1,6 @@
/*
- * Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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,8 +23,20 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_mutableNUMASpace.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/mutableNUMASpace.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "memory/sharedHeap.hpp"
+#include "oops/oop.inline.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
MutableNUMASpace::MutableNUMASpace(size_t alignment) : MutableSpace(alignment) {
diff --git a/src/share/vm/gc_implementation/shared/mutableNUMASpace.hpp b/src/share/vm/gc_implementation/shared/mutableNUMASpace.hpp
index fed86886c..7b70e6e29 100644
--- a/src/share/vm/gc_implementation/shared/mutableNUMASpace.hpp
+++ b/src/share/vm/gc_implementation/shared/mutableNUMASpace.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_MUTABLENUMASPACE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_MUTABLENUMASPACE_HPP
+
+#ifndef SERIALGC
+#include "gc_implementation/shared/gcUtil.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#endif
+
/*
* The NUMA-aware allocator (MutableNUMASpace) is basically a modification
* of MutableSpace which preserves interfaces but implements different
@@ -221,3 +229,5 @@ class MutableNUMASpace : public MutableSpace {
virtual void set_top(HeapWord* value);
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_MUTABLENUMASPACE_HPP
diff --git a/src/share/vm/gc_implementation/shared/mutableSpace.cpp b/src/share/vm/gc_implementation/shared/mutableSpace.cpp
index 4fc51132a..41f636582 100644
--- a/src/share/vm/gc_implementation/shared/mutableSpace.cpp
+++ b/src/share/vm/gc_implementation/shared/mutableSpace.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_mutableSpace.cpp.incl"
+#include "precompiled.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/thread.hpp"
+#endif
MutableSpace::MutableSpace(size_t alignment): ImmutableSpace(), _top(NULL), _alignment(alignment) {
assert(MutableSpace::alignment() >= 0 &&
diff --git a/src/share/vm/gc_implementation/shared/mutableSpace.hpp b/src/share/vm/gc_implementation/shared/mutableSpace.hpp
index 25f6ae63c..01fb23f05 100644
--- a/src/share/vm/gc_implementation/shared/mutableSpace.hpp
+++ b/src/share/vm/gc_implementation/shared/mutableSpace.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_MUTABLESPACE_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_MUTABLESPACE_HPP
+
+#include "gc_implementation/shared/immutableSpace.hpp"
+#include "memory/memRegion.hpp"
+#include "utilities/copy.hpp"
+
// A MutableSpace is a subtype of ImmutableSpace that supports the
// concept of allocation. This includes the concepts that a space may
// be only partially full, and the querry methods that go with such
@@ -136,3 +143,5 @@ class MutableSpace: public ImmutableSpace {
virtual void print_short_on(outputStream* st) const;
virtual void verify(bool allow_dirty);
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_MUTABLESPACE_HPP
diff --git a/src/share/vm/gc_implementation/shared/spaceCounters.cpp b/src/share/vm/gc_implementation/shared/spaceCounters.cpp
index 0cd258186..a5815c921 100644
--- a/src/share/vm/gc_implementation/shared/spaceCounters.cpp
+++ b/src/share/vm/gc_implementation/shared/spaceCounters.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_spaceCounters.cpp.incl"
+#include "precompiled.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/shared/spaceCounters.hpp"
+#include "memory/resourceArea.hpp"
+#endif
SpaceCounters::SpaceCounters(const char* name, int ordinal, size_t max_size,
MutableSpace* m, GenerationCounters* gc) :
diff --git a/src/share/vm/gc_implementation/shared/spaceCounters.hpp b/src/share/vm/gc_implementation/shared/spaceCounters.hpp
index 0f032bdf6..f75a9f26c 100644
--- a/src/share/vm/gc_implementation/shared/spaceCounters.hpp
+++ b/src/share/vm/gc_implementation/shared/spaceCounters.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACECOUNTERS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACECOUNTERS_HPP
+
+#ifndef SERIALGC
+#include "gc_implementation/shared/generationCounters.hpp"
+#include "gc_implementation/shared/immutableSpace.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "runtime/perfData.hpp"
+#endif
+
// A SpaceCounter is a holder class for performance counters
// that track a space;
@@ -75,3 +85,5 @@ class MutableSpaceUsedHelper: public PerfLongSampleHelper {
return _m->used_in_bytes();
}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACECOUNTERS_HPP
diff --git a/src/share/vm/gc_implementation/shared/spaceDecorator.cpp b/src/share/vm/gc_implementation/shared/spaceDecorator.cpp
index 83addff31..2de5846ab 100644
--- a/src/share/vm/gc_implementation/shared/spaceDecorator.cpp
+++ b/src/share/vm/gc_implementation/shared/spaceDecorator.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_spaceDecorator.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "memory/space.inline.hpp"
+#include "utilities/copy.hpp"
// Catch-all file for utility classes
diff --git a/src/share/vm/gc_implementation/shared/spaceDecorator.hpp b/src/share/vm/gc_implementation/shared/spaceDecorator.hpp
index e5b923038..c41a5eb59 100644
--- a/src/share/vm/gc_implementation/shared/spaceDecorator.hpp
+++ b/src/share/vm/gc_implementation/shared/spaceDecorator.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACEDECORATOR_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACEDECORATOR_HPP
+
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "memory/space.hpp"
+#include "utilities/globalDefinitions.hpp"
+
class SpaceDecorator: public AllStatic {
public:
// Initialization flags.
@@ -139,3 +146,5 @@ class MutableSpaceMangler: public SpaceMangler {
public:
MutableSpaceMangler(MutableSpace* sp) : SpaceMangler(), _sp(sp) {}
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACEDECORATOR_HPP
diff --git a/src/share/vm/gc_implementation/shared/vmGCOperations.cpp b/src/share/vm/gc_implementation/shared/vmGCOperations.cpp
index 7575e03ac..350d6dbac 100644
--- a/src/share/vm/gc_implementation/shared/vmGCOperations.cpp
+++ b/src/share/vm/gc_implementation/shared/vmGCOperations.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -21,9 +21,25 @@
* questions.
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vmGCOperations.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classLoader.hpp"
+#include "classfile/javaClasses.hpp"
+#include "gc_implementation/shared/vmGCOperations.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/oopFactory.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/instanceRefKlass.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/init.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/preserveException.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#endif
HS_DTRACE_PROBE_DECL1(hotspot, gc__begin, bool);
HS_DTRACE_PROBE_DECL(hotspot, gc__end);
diff --git a/src/share/vm/gc_implementation/shared/vmGCOperations.hpp b/src/share/vm/gc_implementation/shared/vmGCOperations.hpp
index b3a202902..93611bdaf 100644
--- a/src/share/vm/gc_implementation/shared/vmGCOperations.hpp
+++ b/src/share/vm/gc_implementation/shared/vmGCOperations.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_VMGCOPERATIONS_HPP
+#define SHARE_VM_GC_IMPLEMENTATION_SHARED_VMGCOPERATIONS_HPP
+
+#include "memory/heapInspection.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/jniHandles.hpp"
+#include "runtime/synchronizer.hpp"
+#include "runtime/vm_operations.hpp"
+
// The following class hierarchy represents
// a set of operations (VM_Operation) related to GC.
//
@@ -199,3 +208,5 @@ class VM_GenCollectForPermanentAllocation: public VM_GC_Operation {
virtual void doit();
HeapWord* result() const { return _res; }
};
+
+#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_VMGCOPERATIONS_HPP
diff --git a/src/share/vm/gc_interface/collectedHeap.cpp b/src/share/vm/gc_interface/collectedHeap.cpp
index ad13d8bb4..83a6777b7 100644
--- a/src/share/vm/gc_interface/collectedHeap.cpp
+++ b/src/share/vm/gc_interface/collectedHeap.cpp
@@ -22,8 +22,23 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_collectedHeap.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_implementation/shared/vmGCOperations.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/init.hpp"
+#include "services/heapDumper.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
#ifdef ASSERT
diff --git a/src/share/vm/gc_interface/collectedHeap.hpp b/src/share/vm/gc_interface/collectedHeap.hpp
index c737eb1da..c6070afb6 100644
--- a/src/share/vm/gc_interface/collectedHeap.hpp
+++ b/src/share/vm/gc_interface/collectedHeap.hpp
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_HPP
+#define SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_HPP
+
+#include "gc_interface/gcCause.hpp"
+#include "memory/allocation.hpp"
+#include "memory/barrierSet.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/perfData.hpp"
+#include "runtime/safepoint.hpp"
+
// A "CollectedHeap" is an implementation of a java heap for HotSpot. This
// is an abstract class: there may be many different kinds of heaps. This
// class defines the functions that a heap must implement, and contains
@@ -644,3 +654,5 @@ class GCCauseSetter : StackObj {
_heap->set_gc_cause(_previous_cause);
}
};
+
+#endif // SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_HPP
diff --git a/src/share/vm/gc_interface/collectedHeap.inline.hpp b/src/share/vm/gc_interface/collectedHeap.inline.hpp
index 630ad4232..c9f5f0111 100644
--- a/src/share/vm/gc_interface/collectedHeap.inline.hpp
+++ b/src/share/vm/gc_interface/collectedHeap.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,28 @@
*
*/
+#ifndef SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_INLINE_HPP
+#define SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_INLINE_HPP
+
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/threadLocalAllocBuffer.inline.hpp"
+#include "memory/universe.hpp"
+#include "oops/arrayOop.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/thread.hpp"
+#include "services/lowMemoryDetector.hpp"
+#include "utilities/copy.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
// Inline allocation implementations.
void CollectedHeap::post_allocation_setup_common(KlassHandle klass,
@@ -368,3 +390,5 @@ inline void CollectedHeap::reset_promotion_should_fail() {
reset_promotion_should_fail(&_promotion_failure_alot_count);
}
#endif // #ifndef PRODUCT
+
+#endif // SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_INLINE_HPP
diff --git a/src/share/vm/gc_interface/gcCause.cpp b/src/share/vm/gc_interface/gcCause.cpp
index e96f55a86..5868cd9c9 100644
--- a/src/share/vm/gc_interface/gcCause.cpp
+++ b/src/share/vm/gc_interface/gcCause.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_gcCause.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_interface/gcCause.hpp"
const char* GCCause::to_string(GCCause::Cause cause) {
switch (cause) {
diff --git a/src/share/vm/gc_interface/gcCause.hpp b/src/share/vm/gc_interface/gcCause.hpp
index 6734afcb7..af40d9893 100644
--- a/src/share/vm/gc_interface/gcCause.hpp
+++ b/src/share/vm/gc_interface/gcCause.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_GC_INTERFACE_GCCAUSE_HPP
+#define SHARE_VM_GC_INTERFACE_GCCAUSE_HPP
+
+#include "memory/allocation.hpp"
+
//
// This class exposes implementation details of the various
// collector(s), and we need to be very careful with it. If
@@ -83,3 +88,5 @@ class GCCause : public AllStatic {
// Return true if the GCCause is for a full collection.
static bool is_for_full_collection(GCCause::Cause cause) PRODUCT_RETURN0;
};
+
+#endif // SHARE_VM_GC_INTERFACE_GCCAUSE_HPP
diff --git a/src/share/vm/includeDB_compiler1 b/src/share/vm/includeDB_compiler1
deleted file mode 100644
index 71fbea13d..000000000
--- a/src/share/vm/includeDB_compiler1
+++ /dev/null
@@ -1,454 +0,0 @@
-//
-// Copyright (c) 1999, 2010, 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.
-//
-
-// NOTE: DO NOT CHANGE THIS COPYRIGHT TO NEW STYLE - IT WILL BREAK makeDeps!
-
-allocation.hpp c1_globals.hpp
-
-c1_CFGPrinter.cpp c1_CFGPrinter.hpp
-c1_CFGPrinter.cpp c1_IR.hpp
-c1_CFGPrinter.cpp c1_InstructionPrinter.hpp
-c1_CFGPrinter.cpp c1_LIR.hpp
-c1_CFGPrinter.cpp c1_LinearScan.hpp
-c1_CFGPrinter.cpp c1_ValueStack.hpp
-
-c1_CFGPrinter.hpp c1_Compilation.hpp
-c1_CFGPrinter.hpp c1_Instruction.hpp
-
-cardTableModRefBS.cpp c1_LIR.hpp
-cardTableModRefBS.cpp c1_LIRGenerator.hpp
-
-c1_Canonicalizer.cpp c1_Canonicalizer.hpp
-c1_Canonicalizer.cpp c1_InstructionPrinter.hpp
-c1_Canonicalizer.cpp ciArray.hpp
-c1_Canonicalizer.cpp sharedRuntime.hpp
-
-c1_Canonicalizer.hpp c1_Instruction.hpp
-
-c1_CodeStubs.hpp array.hpp
-c1_CodeStubs.hpp c1_FrameMap.hpp
-c1_CodeStubs.hpp c1_IR.hpp
-c1_CodeStubs.hpp c1_Instruction.hpp
-c1_CodeStubs.hpp c1_LIR.hpp
-c1_CodeStubs.hpp c1_Runtime1.hpp
-
-c1_CodeStubs_<arch>.cpp c1_CodeStubs.hpp
-c1_CodeStubs_<arch>.cpp c1_FrameMap.hpp
-c1_CodeStubs_<arch>.cpp c1_LIRAssembler.hpp
-c1_CodeStubs_<arch>.cpp c1_MacroAssembler.hpp
-c1_CodeStubs_<arch>.cpp c1_Runtime1.hpp
-c1_CodeStubs_<arch>.cpp g1SATBCardTableModRefBS.hpp
-c1_CodeStubs_<arch>.cpp nativeInst_<arch>.hpp
-c1_CodeStubs_<arch>.cpp sharedRuntime.hpp
-c1_CodeStubs_<arch>.cpp vmreg_<arch>.inline.hpp
-
-c1_Compilation.cpp c1_CFGPrinter.hpp
-c1_Compilation.cpp c1_Compilation.hpp
-c1_Compilation.cpp c1_IR.hpp
-c1_Compilation.cpp c1_LIRAssembler.hpp
-c1_Compilation.cpp c1_LinearScan.hpp
-c1_Compilation.cpp c1_MacroAssembler.hpp
-c1_Compilation.cpp c1_ValueMap.hpp
-c1_Compilation.cpp c1_ValueStack.hpp
-c1_Compilation.cpp debugInfoRec.hpp
-c1_Compilation.hpp ciEnv.hpp
-c1_Compilation.hpp exceptionHandlerTable.hpp
-c1_Compilation.hpp resourceArea.hpp
-
-c1_Compiler.cpp allocation.hpp
-c1_Compiler.cpp allocation.inline.hpp
-c1_Compiler.cpp arguments.hpp
-c1_Compiler.cpp c1_Compilation.hpp
-c1_Compiler.cpp c1_Compiler.hpp
-c1_Compiler.cpp c1_FrameMap.hpp
-c1_Compiler.cpp c1_GraphBuilder.hpp
-c1_Compiler.cpp c1_LinearScan.hpp
-c1_Compiler.cpp c1_MacroAssembler.hpp
-c1_Compiler.cpp c1_Runtime1.hpp
-c1_Compiler.cpp c1_ValueType.hpp
-c1_Compiler.cpp compileBroker.hpp
-c1_Compiler.cpp compilerOracle.hpp
-c1_Compiler.cpp interfaceSupport.hpp
-c1_Compiler.cpp linkResolver.hpp
-c1_Compiler.cpp nativeLookup.hpp
-c1_Compiler.cpp resourceArea.hpp
-c1_Compiler.cpp sharedRuntime.hpp
-
-c1_Compiler.hpp abstractCompiler.hpp
-
-c1_Defs.cpp c1_Defs.hpp
-
-c1_Defs.hpp globalDefinitions.hpp
-c1_Defs.hpp register_<arch>.hpp
-
-c1_Defs_<arch>.hpp generate_platform_dependent_include
-
-c1_FpuStackSim.hpp allocation.hpp
-c1_FpuStackSim.hpp c1_FrameMap.hpp
-
-c1_FpuStackSim_<arch>.cpp array.hpp
-c1_FpuStackSim_<arch>.cpp c1_FpuStackSim.hpp
-c1_FpuStackSim_<arch>.cpp c1_FrameMap.hpp
-c1_FpuStackSim_<arch>.cpp ostream.hpp
-
-c1_FpuStackSim_<arch>.hpp generate_platform_dependent_include
-
-c1_FrameMap.cpp c1_FrameMap.hpp
-c1_FrameMap.cpp c1_LIR.hpp
-c1_FrameMap.cpp sharedRuntime.hpp
-c1_FrameMap.cpp vmreg_<arch>.inline.hpp
-
-c1_FrameMap.hpp allocation.hpp
-c1_FrameMap.hpp assembler.hpp
-c1_FrameMap.hpp c1_Defs.hpp
-c1_FrameMap.hpp c1_LIR.hpp
-c1_FrameMap.hpp frame.hpp
-c1_FrameMap.hpp globalDefinitions.hpp
-c1_FrameMap.hpp synchronizer.hpp
-c1_FrameMap.hpp vmreg.hpp
-
-c1_FrameMap_<arch>.cpp c1_FrameMap.hpp
-c1_FrameMap_<arch>.cpp c1_LIR.hpp
-c1_FrameMap_<arch>.cpp sharedRuntime.hpp
-c1_FrameMap_<arch>.cpp vmreg_<arch>.inline.hpp
-
-c1_FrameMap_<arch>.hpp generate_platform_dependent_include
-
-c1_globals.cpp c1_globals.hpp
-
-c1_globals.hpp c1_globals_<arch>.hpp
-c1_globals.hpp c1_globals_<os_family>.hpp
-c1_globals.hpp globals.hpp
-
-c1_globals_<arch>.hpp globalDefinitions.hpp
-c1_globals_<arch>.hpp macros.hpp
-
-c1_globals_<os_family>.hpp globalDefinitions.hpp
-c1_globals_<os_family>.hpp macros.hpp
-
-c1_GraphBuilder.cpp bitMap.inline.hpp
-c1_GraphBuilder.cpp bytecode.hpp
-c1_GraphBuilder.cpp c1_CFGPrinter.hpp
-c1_GraphBuilder.cpp c1_Canonicalizer.hpp
-c1_GraphBuilder.cpp c1_Compilation.hpp
-c1_GraphBuilder.cpp c1_GraphBuilder.hpp
-c1_GraphBuilder.cpp c1_InstructionPrinter.hpp
-c1_GraphBuilder.cpp ciField.hpp
-c1_GraphBuilder.cpp ciKlass.hpp
-c1_GraphBuilder.cpp sharedRuntime.hpp
-
-c1_GraphBuilder.hpp c1_IR.hpp
-c1_GraphBuilder.hpp c1_Instruction.hpp
-c1_GraphBuilder.hpp c1_ValueMap.hpp
-c1_GraphBuilder.hpp c1_ValueStack.hpp
-c1_GraphBuilder.hpp ciMethodData.hpp
-c1_GraphBuilder.hpp ciStreams.hpp
-
-c1_IR.cpp bitMap.inline.hpp
-c1_IR.cpp c1_Compilation.hpp
-c1_IR.cpp c1_FrameMap.hpp
-c1_IR.cpp c1_GraphBuilder.hpp
-c1_IR.cpp c1_IR.hpp
-c1_IR.cpp c1_InstructionPrinter.hpp
-c1_IR.cpp c1_Optimizer.hpp
-
-c1_IR.hpp allocation.hpp
-c1_IR.hpp c1_Instruction.hpp
-c1_IR.hpp ciExceptionHandler.hpp
-c1_IR.hpp ciMethod.hpp
-c1_IR.hpp ciStreams.hpp
-
-c1_Instruction.cpp c1_IR.hpp
-c1_Instruction.cpp c1_Instruction.hpp
-c1_Instruction.cpp c1_InstructionPrinter.hpp
-c1_Instruction.cpp c1_ValueStack.hpp
-c1_Instruction.cpp ciObjArrayKlass.hpp
-c1_Instruction.cpp ciTypeArrayKlass.hpp
-
-c1_Instruction.hpp c1_Compilation.hpp
-c1_Instruction.hpp c1_LIR.hpp
-c1_Instruction.hpp c1_ValueType.hpp
-c1_Instruction.hpp ciField.hpp
-
-c1_InstructionPrinter.cpp c1_InstructionPrinter.hpp
-c1_InstructionPrinter.cpp c1_ValueStack.hpp
-c1_InstructionPrinter.cpp ciArray.hpp
-c1_InstructionPrinter.cpp ciInstance.hpp
-c1_InstructionPrinter.cpp ciObject.hpp
-
-c1_InstructionPrinter.hpp c1_IR.hpp
-c1_InstructionPrinter.hpp c1_Instruction.hpp
-c1_InstructionPrinter.hpp c1_Runtime1.hpp
-
-c1_LIR.cpp c1_InstructionPrinter.hpp
-c1_LIR.cpp c1_LIR.hpp
-c1_LIR.cpp c1_LIRAssembler.hpp
-c1_LIR.cpp ciInstance.hpp
-c1_LIR.cpp sharedRuntime.hpp
-
-c1_LIR.hpp c1_ValueType.hpp
-
-c1_LIRAssembler.cpp c1_Compilation.hpp
-c1_LIRAssembler.cpp c1_Instruction.hpp
-c1_LIRAssembler.cpp c1_InstructionPrinter.hpp
-c1_LIRAssembler.cpp c1_LIRAssembler.hpp
-c1_LIRAssembler.cpp c1_MacroAssembler.hpp
-c1_LIRAssembler.cpp c1_ValueStack.hpp
-c1_LIRAssembler.cpp ciInstance.hpp
-c1_LIRAssembler.cpp nativeInst_<arch>.hpp
-c1_LIRAssembler.cpp vmreg_<arch>.inline.hpp
-
-c1_LIRAssembler.hpp c1_CodeStubs.hpp
-c1_LIRAssembler.hpp ciMethodData.hpp
-c1_LIRAssembler.hpp methodDataOop.hpp
-c1_LIRAssembler.hpp top.hpp
-
-c1_LIRAssembler_<arch>.cpp barrierSet.hpp
-c1_LIRAssembler_<arch>.cpp c1_Compilation.hpp
-c1_LIRAssembler_<arch>.cpp c1_LIRAssembler.hpp
-c1_LIRAssembler_<arch>.cpp c1_MacroAssembler.hpp
-c1_LIRAssembler_<arch>.cpp c1_Runtime1.hpp
-c1_LIRAssembler_<arch>.cpp c1_ValueStack.hpp
-c1_LIRAssembler_<arch>.cpp cardTableModRefBS.hpp
-c1_LIRAssembler_<arch>.cpp ciArrayKlass.hpp
-c1_LIRAssembler_<arch>.cpp ciInstance.hpp
-c1_LIRAssembler_<arch>.cpp collectedHeap.hpp
-c1_LIRAssembler_<arch>.cpp nativeInst_<arch>.hpp
-c1_LIRAssembler_<arch>.cpp objArrayKlass.hpp
-c1_LIRAssembler_<arch>.cpp sharedRuntime.hpp
-
-c1_LIRAssembler_<arch>.hpp generate_platform_dependent_include
-
-c1_LIRGenerator.cpp bitMap.inline.hpp
-c1_LIRGenerator.cpp c1_Compilation.hpp
-c1_LIRGenerator.cpp c1_FrameMap.hpp
-c1_LIRGenerator.cpp c1_Instruction.hpp
-c1_LIRGenerator.cpp c1_LIRAssembler.hpp
-c1_LIRGenerator.cpp c1_LIRGenerator.hpp
-c1_LIRGenerator.cpp c1_ValueStack.hpp
-c1_LIRGenerator.cpp ciArrayKlass.hpp
-c1_LIRGenerator.cpp ciCPCache.hpp
-c1_LIRGenerator.cpp ciInstance.hpp
-c1_LIRGenerator.cpp heapRegion.hpp
-c1_LIRGenerator.cpp sharedRuntime.hpp
-c1_LIRGenerator.cpp stubRoutines.hpp
-
-c1_LIRGenerator.hpp c1_Instruction.hpp
-c1_LIRGenerator.hpp c1_LIR.hpp
-c1_LIRGenerator.hpp ciMethodData.hpp
-c1_LIRGenerator.hpp sizes.hpp
-
-c1_LIRGenerator_<arch>.cpp c1_Compilation.hpp
-c1_LIRGenerator_<arch>.cpp c1_FrameMap.hpp
-c1_LIRGenerator_<arch>.cpp c1_Instruction.hpp
-c1_LIRGenerator_<arch>.cpp c1_LIRAssembler.hpp
-c1_LIRGenerator_<arch>.cpp c1_LIRGenerator.hpp
-c1_LIRGenerator_<arch>.cpp c1_Runtime1.hpp
-c1_LIRGenerator_<arch>.cpp c1_ValueStack.hpp
-c1_LIRGenerator_<arch>.cpp ciArray.hpp
-c1_LIRGenerator_<arch>.cpp ciObjArrayKlass.hpp
-c1_LIRGenerator_<arch>.cpp ciTypeArrayKlass.hpp
-c1_LIRGenerator_<arch>.cpp sharedRuntime.hpp
-c1_LIRGenerator_<arch>.cpp vmreg_<arch>.inline.hpp
-c1_LIRGenerator_<arch>.cpp stubRoutines.hpp
-
-
-c1_LinearScan.cpp bitMap.inline.hpp
-c1_LinearScan.cpp c1_CFGPrinter.hpp
-c1_LinearScan.cpp c1_CodeStubs.hpp
-c1_LinearScan.cpp c1_Compilation.hpp
-c1_LinearScan.cpp c1_FrameMap.hpp
-c1_LinearScan.cpp c1_IR.hpp
-c1_LinearScan.cpp c1_LIRGenerator.hpp
-c1_LinearScan.cpp c1_LinearScan.hpp
-c1_LinearScan.cpp c1_ValueStack.hpp
-c1_LinearScan.cpp vmreg_<arch>.inline.hpp
-
-c1_LinearScan.hpp c1_FpuStackSim.hpp
-c1_LinearScan.hpp c1_FrameMap.hpp
-c1_LinearScan.hpp c1_IR.hpp
-c1_LinearScan.hpp c1_Instruction.hpp
-c1_LinearScan.hpp c1_LIR.hpp
-c1_LinearScan.hpp c1_LIRGenerator.hpp
-
-c1_LinearScan_<arch>.cpp bitMap.inline.hpp
-c1_LinearScan_<arch>.cpp c1_Instruction.hpp
-c1_LinearScan_<arch>.cpp c1_LinearScan.hpp
-
-c1_LinearScan_<arch>.hpp generate_platform_dependent_include
-
-c1_MacroAssembler.hpp assembler.hpp
-c1_MacroAssembler.hpp assembler_<arch>.inline.hpp
-
-c1_MacroAssembler_<arch>.cpp arrayOop.hpp
-c1_MacroAssembler_<arch>.cpp basicLock.hpp
-c1_MacroAssembler_<arch>.cpp biasedLocking.hpp
-c1_MacroAssembler_<arch>.cpp c1_MacroAssembler.hpp
-c1_MacroAssembler_<arch>.cpp c1_Runtime1.hpp
-c1_MacroAssembler_<arch>.cpp collectedHeap.hpp
-c1_MacroAssembler_<arch>.cpp interpreter.hpp
-c1_MacroAssembler_<arch>.cpp markOop.hpp
-c1_MacroAssembler_<arch>.cpp os.hpp
-c1_MacroAssembler_<arch>.cpp stubRoutines.hpp
-c1_MacroAssembler_<arch>.cpp systemDictionary.hpp
-
-c1_MacroAssembler_<arch>.hpp generate_platform_dependent_include
-
-c1_Optimizer.cpp bitMap.inline.hpp
-c1_Optimizer.cpp c1_Canonicalizer.hpp
-c1_Optimizer.cpp c1_Optimizer.hpp
-c1_Optimizer.cpp c1_ValueMap.hpp
-c1_Optimizer.cpp c1_ValueSet.hpp
-c1_Optimizer.cpp c1_ValueStack.hpp
-
-c1_Optimizer.hpp allocation.hpp
-c1_Optimizer.hpp c1_IR.hpp
-c1_Optimizer.hpp c1_Instruction.hpp
-
-c1_Runtime1.cpp allocation.inline.hpp
-c1_Runtime1.cpp barrierSet.hpp
-c1_Runtime1.cpp biasedLocking.hpp
-c1_Runtime1.cpp bytecode.hpp
-c1_Runtime1.cpp c1_CodeStubs.hpp
-c1_Runtime1.cpp c1_Defs.hpp
-c1_Runtime1.cpp c1_FrameMap.hpp
-c1_Runtime1.cpp c1_LIRAssembler.hpp
-c1_Runtime1.cpp c1_MacroAssembler.hpp
-c1_Runtime1.cpp c1_Runtime1.hpp
-c1_Runtime1.cpp codeBlob.hpp
-c1_Runtime1.cpp codeBuffer.hpp
-c1_Runtime1.cpp collectedHeap.hpp
-c1_Runtime1.cpp compilationPolicy.hpp
-c1_Runtime1.cpp compiledIC.hpp
-c1_Runtime1.cpp copy.hpp
-c1_Runtime1.cpp disassembler.hpp
-c1_Runtime1.cpp events.hpp
-c1_Runtime1.cpp interfaceSupport.hpp
-c1_Runtime1.cpp interpreter.hpp
-c1_Runtime1.cpp javaCalls.hpp
-c1_Runtime1.cpp objArrayKlass.hpp
-c1_Runtime1.cpp oop.inline.hpp
-c1_Runtime1.cpp oopFactory.hpp
-c1_Runtime1.cpp pcDesc.hpp
-c1_Runtime1.cpp resourceArea.hpp
-c1_Runtime1.cpp scopeDesc.hpp
-c1_Runtime1.cpp sharedRuntime.hpp
-c1_Runtime1.cpp systemDictionary.hpp
-c1_Runtime1.cpp threadCritical.hpp
-c1_Runtime1.cpp vframe.hpp
-c1_Runtime1.cpp vframeArray.hpp
-c1_Runtime1.cpp vmSymbols.hpp
-c1_Runtime1.cpp vtableStubs.hpp
-
-c1_Runtime1.hpp allocation.hpp
-c1_Runtime1.hpp c1_FrameMap.hpp
-c1_Runtime1.hpp deoptimization.hpp
-c1_Runtime1.hpp interpreter.hpp
-c1_Runtime1.hpp stubs.hpp
-
-c1_Runtime1_<arch>.cpp c1_Defs.hpp
-c1_Runtime1_<arch>.cpp c1_MacroAssembler.hpp
-c1_Runtime1_<arch>.cpp c1_Runtime1.hpp
-c1_Runtime1_<arch>.cpp compiledICHolderOop.hpp
-c1_Runtime1_<arch>.cpp interpreter.hpp
-c1_Runtime1_<arch>.cpp jvmtiExport.hpp
-c1_Runtime1_<arch>.cpp nativeInst_<arch>.hpp
-c1_Runtime1_<arch>.cpp oop.inline.hpp
-c1_Runtime1_<arch>.cpp register_<arch>.hpp
-c1_Runtime1_<arch>.cpp sharedRuntime.hpp
-c1_Runtime1_<arch>.cpp signature.hpp
-c1_Runtime1_<arch>.cpp vframeArray.hpp
-c1_Runtime1_<arch>.cpp vmreg_<arch>.inline.hpp
-
-c1_ValueMap.cpp bitMap.inline.hpp
-c1_ValueMap.cpp c1_Canonicalizer.hpp
-c1_ValueMap.cpp c1_IR.hpp
-c1_ValueMap.cpp c1_ValueMap.hpp
-
-c1_ValueMap.hpp allocation.hpp
-c1_ValueMap.hpp c1_Instruction.hpp
-c1_ValueMap.hpp c1_ValueSet.hpp
-
-c1_ValueSet.cpp c1_ValueSet.hpp
-
-c1_ValueSet.hpp allocation.hpp
-c1_ValueSet.hpp bitMap.inline.hpp
-c1_ValueSet.hpp c1_Instruction.hpp
-
-c1_ValueStack.cpp c1_IR.hpp
-c1_ValueStack.cpp c1_InstructionPrinter.hpp
-c1_ValueStack.cpp c1_ValueStack.hpp
-
-c1_ValueStack.hpp c1_Instruction.hpp
-c1_ValueType.cpp c1_ValueType.hpp
-c1_ValueType.cpp ciArray.hpp
-c1_ValueType.cpp ciInstance.hpp
-c1_ValueType.cpp ciNullObject.hpp
-
-c1_ValueType.hpp c1_Compilation.hpp
-c1_ValueType.hpp ciConstant.hpp
-
-ciEnv.cpp c1_Runtime1.hpp
-
-codeBlob.cpp c1_Runtime1.hpp
-
-compileBroker.cpp c1_Compiler.hpp
-
-frame_<arch>.cpp c1_Runtime1.hpp
-frame_<arch>.cpp vframeArray.hpp
-
-globals.cpp c1_globals.hpp
-
-globals.hpp c1_globals_<arch>.hpp
-globals.hpp c1_globals_<os_family>.hpp
-
-instanceKlass.cpp c1_Compiler.hpp
-
-interpreter_<arch_model>.cpp c1_Runtime1.hpp
-
-java.cpp c1_Compiler.hpp
-java.cpp c1_Runtime1.hpp
-
-nativeInst_<arch>.cpp c1_Runtime1.hpp
-
-oopMap.cpp c1_Defs.hpp
-
-os_<os_family>.cpp c1_Runtime1.hpp
-
-os_<os_arch>.cpp c1_Runtime1.hpp
-
-safepoint.cpp c1_globals.hpp
-
-sharedRuntime.cpp c1_Runtime1.hpp
-
-sharedRuntime_<arch_model>.cpp c1_Runtime1.hpp
-
-thread.cpp c1_Compiler.hpp
-
-top.hpp c1_globals.hpp
-
-vmStructs.hpp c1_Runtime1.hpp
-
-c1_Canonicalizer.cpp c1_ValueStack.hpp
-
-c1_LIR.cpp c1_ValueStack.hpp
diff --git a/src/share/vm/includeDB_compiler2 b/src/share/vm/includeDB_compiler2
deleted file mode 100644
index 59e1794a8..000000000
--- a/src/share/vm/includeDB_compiler2
+++ /dev/null
@@ -1,1164 +0,0 @@
-//
-// Copyright (c) 2000, 2010, 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.
-//
-//
-
-ad_<arch_model>.cpp adGlobals_<arch_model>.hpp
-ad_<arch_model>.cpp ad_<arch_model>.hpp
-ad_<arch_model>.cpp allocation.inline.hpp
-ad_<arch_model>.cpp assembler.hpp
-ad_<arch_model>.cpp assembler_<arch>.inline.hpp
-ad_<arch_model>.cpp biasedLocking.hpp
-ad_<arch_model>.cpp cfgnode.hpp
-ad_<arch_model>.cpp collectedHeap.inline.hpp
-ad_<arch_model>.cpp compiledICHolderOop.hpp
-ad_<arch_model>.cpp growableArray.hpp
-ad_<arch_model>.cpp locknode.hpp
-ad_<arch_model>.cpp markOop.hpp
-ad_<arch_model>.cpp methodOop.hpp
-ad_<arch_model>.cpp nativeInst_<arch>.hpp
-ad_<arch_model>.cpp oop.inline.hpp
-ad_<arch_model>.cpp oop.inline2.hpp
-ad_<arch_model>.cpp opcodes.hpp
-ad_<arch_model>.cpp regalloc.hpp
-ad_<arch_model>.cpp regmask.hpp
-ad_<arch_model>.cpp runtime.hpp
-ad_<arch_model>.cpp sharedRuntime.hpp
-ad_<arch_model>.cpp stubRoutines.hpp
-ad_<arch_model>.cpp vmreg.hpp
-ad_<arch_model>.cpp vmreg_<arch>.inline.hpp
-
-ad_<arch_model>.hpp addnode.hpp
-ad_<arch_model>.hpp machnode.hpp
-ad_<arch_model>.hpp matcher.hpp
-ad_<arch_model>.hpp opcodes.hpp
-ad_<arch_model>.hpp regalloc.hpp
-ad_<arch_model>.hpp resourceArea.hpp
-ad_<arch_model>.hpp subnode.hpp
-ad_<arch_model>.hpp vectornode.hpp
-
-ad_<arch_model>_clone.cpp ad_<arch_model>.hpp
-
-ad_<arch_model>_expand.cpp ad_<arch_model>.hpp
-
-ad_<arch_model>_format.cpp ad_<arch_model>.hpp
-
-ad_<arch_model>_gen.cpp ad_<arch_model>.hpp
-ad_<arch_model>_gen.cpp cfgnode.hpp
-ad_<arch_model>_gen.cpp locknode.hpp
-
-ad_<arch_model>_misc.cpp ad_<arch_model>.hpp
-
-ad_<arch_model>_peephole.cpp ad_<arch_model>.hpp
-
-ad_<arch_model>_pipeline.cpp ad_<arch_model>.hpp
-
-addnode.cpp addnode.hpp
-addnode.cpp allocation.inline.hpp
-addnode.cpp cfgnode.hpp
-addnode.cpp connode.hpp
-addnode.cpp machnode.hpp
-addnode.cpp mulnode.hpp
-addnode.cpp phaseX.hpp
-addnode.cpp subnode.hpp
-
-addnode.hpp node.hpp
-addnode.hpp opcodes.hpp
-addnode.hpp type.hpp
-
-adlcVMDeps.hpp allocation.hpp
-
-allocation.hpp c2_globals.hpp
-
-bcEscapeAnalyzer.cpp bcEscapeAnalyzer.hpp
-bcEscapeAnalyzer.cpp bitMap.inline.hpp
-bcEscapeAnalyzer.cpp bytecode.hpp
-bcEscapeAnalyzer.cpp ciConstant.hpp
-bcEscapeAnalyzer.cpp ciField.hpp
-bcEscapeAnalyzer.cpp ciMethodBlocks.hpp
-bcEscapeAnalyzer.cpp ciStreams.hpp
-
-bcEscapeAnalyzer.hpp allocation.hpp
-bcEscapeAnalyzer.hpp ciMethod.hpp
-bcEscapeAnalyzer.hpp ciMethodData.hpp
-bcEscapeAnalyzer.hpp dependencies.hpp
-bcEscapeAnalyzer.hpp growableArray.hpp
-bcEscapeAnalyzer.hpp vectset.hpp
-
-block.cpp allocation.inline.hpp
-block.cpp block.hpp
-block.cpp cfgnode.hpp
-block.cpp chaitin.hpp
-block.cpp copy.hpp
-block.cpp loopnode.hpp
-block.cpp machnode.hpp
-block.cpp matcher.hpp
-block.cpp opcodes.hpp
-block.cpp rootnode.hpp
-block.cpp vectset.hpp
-
-block.hpp multnode.hpp
-block.hpp node.hpp
-block.hpp phase.hpp
-
-buildOopMap.cpp addnode.hpp
-buildOopMap.cpp callnode.hpp
-buildOopMap.cpp compile.hpp
-buildOopMap.cpp machnode.hpp
-buildOopMap.cpp matcher.hpp
-buildOopMap.cpp oopMap.hpp
-buildOopMap.cpp phase.hpp
-buildOopMap.cpp regalloc.hpp
-buildOopMap.cpp rootnode.hpp
-buildOopMap.cpp vmreg_<arch>.inline.hpp
-
-bytecodeInfo.cpp callGenerator.hpp
-bytecodeInfo.cpp compileLog.hpp
-bytecodeInfo.cpp handles.inline.hpp
-bytecodeInfo.cpp linkResolver.hpp
-bytecodeInfo.cpp objArrayKlass.hpp
-bytecodeInfo.cpp parse.hpp
-bytecodeInfo.cpp systemDictionary.hpp
-bytecodeInfo.cpp vmSymbols.hpp
-
-bytecodeInterpreter.hpp methodDataOop.hpp
-
-c2_globals.cpp c2_globals.hpp
-
-c2_globals.hpp c2_globals_<arch>.hpp
-c2_globals.hpp c2_globals_<os_family>.hpp
-c2_globals.hpp globals.hpp
-
-c2_globals_<arch>.hpp globalDefinitions.hpp
-c2_globals_<arch>.hpp macros.hpp
-
-c2_globals_<os_family>.hpp globalDefinitions.hpp
-c2_globals_<os_family>.hpp macros.hpp
-
-c2_init_<arch>.cpp compile.hpp
-c2_init_<arch>.cpp node.hpp
-
-c2compiler.cpp ad_<arch_model>.hpp
-c2compiler.cpp c2compiler.hpp
-c2compiler.cpp runtime.hpp
-
-c2compiler.hpp abstractCompiler.hpp
-
-callGenerator.cpp addnode.hpp
-callGenerator.cpp bcEscapeAnalyzer.hpp
-callGenerator.cpp callGenerator.hpp
-callGenerator.cpp callnode.hpp
-callGenerator.cpp cfgnode.hpp
-callGenerator.cpp compileLog.hpp
-callGenerator.cpp connode.hpp
-callGenerator.cpp ciCPCache.hpp
-callGenerator.cpp ciMethodHandle.hpp
-callGenerator.cpp javaClasses.hpp
-callGenerator.cpp parse.hpp
-callGenerator.cpp rootnode.hpp
-callGenerator.cpp runtime.hpp
-callGenerator.cpp subnode.hpp
-
-callGenerator.hpp callnode.hpp
-callGenerator.hpp compile.hpp
-callGenerator.hpp deoptimization.hpp
-callGenerator.hpp type.hpp
-
-callnode.cpp callnode.hpp
-callnode.cpp bcEscapeAnalyzer.hpp
-callnode.cpp escape.hpp
-callnode.cpp locknode.hpp
-callnode.cpp machnode.hpp
-callnode.cpp matcher.hpp
-callnode.cpp oopMap.hpp
-callnode.cpp parse.hpp
-callnode.cpp regalloc.hpp
-callnode.cpp regmask.hpp
-callnode.cpp rootnode.hpp
-callnode.cpp runtime.hpp
-
-callnode.hpp connode.hpp
-callnode.hpp mulnode.hpp
-callnode.hpp multnode.hpp
-callnode.hpp opcodes.hpp
-callnode.hpp phaseX.hpp
-callnode.hpp type.hpp
-
-cfgnode.cpp addnode.hpp
-cfgnode.cpp allocation.inline.hpp
-cfgnode.cpp cfgnode.hpp
-cfgnode.cpp connode.hpp
-cfgnode.cpp loopnode.hpp
-cfgnode.cpp machnode.hpp
-cfgnode.cpp mulnode.hpp
-cfgnode.cpp objArrayKlass.hpp
-cfgnode.cpp phaseX.hpp
-cfgnode.cpp regmask.hpp
-cfgnode.cpp runtime.hpp
-cfgnode.cpp subnode.hpp
-cfgnode.cpp systemDictionary.hpp
-
-cfgnode.hpp multnode.hpp
-cfgnode.hpp node.hpp
-cfgnode.hpp opcodes.hpp
-cfgnode.hpp type.hpp
-
-chaitin.cpp addnode.hpp
-chaitin.cpp allocation.inline.hpp
-chaitin.cpp block.hpp
-chaitin.cpp callnode.hpp
-chaitin.cpp cfgnode.hpp
-chaitin.cpp chaitin.hpp
-chaitin.cpp coalesce.hpp
-chaitin.cpp compileLog.hpp
-chaitin.cpp connode.hpp
-chaitin.cpp indexSet.hpp
-chaitin.cpp machnode.hpp
-chaitin.cpp memnode.hpp
-chaitin.cpp oopMap.hpp
-chaitin.cpp opcodes.hpp
-chaitin.cpp rootnode.hpp
-
-chaitin.hpp connode.hpp
-chaitin.hpp live.hpp
-chaitin.hpp matcher.hpp
-chaitin.hpp phase.hpp
-chaitin.hpp port.hpp
-chaitin.hpp regalloc.hpp
-chaitin.hpp regmask.hpp
-chaitin.hpp resourceArea.hpp
-chaitin.hpp vmreg.hpp
-
-chaitin_<os_family>.cpp chaitin.hpp
-chaitin_<os_family>.cpp machnode.hpp
-
-ciEnv.cpp compileLog.hpp
-ciEnv.cpp runtime.hpp
-
-ciMethod.cpp bcEscapeAnalyzer.hpp
-ciMethod.cpp ciTypeFlow.hpp
-ciMethod.cpp methodOop.hpp
-
-ciTypeFlow.cpp allocation.inline.hpp
-ciTypeFlow.cpp bytecode.hpp
-ciTypeFlow.cpp bytecodes.hpp
-ciTypeFlow.cpp ciConstant.hpp
-ciTypeFlow.cpp ciField.hpp
-ciTypeFlow.cpp ciMethod.hpp
-ciTypeFlow.cpp ciMethodData.hpp
-ciTypeFlow.cpp ciObjArrayKlass.hpp
-ciTypeFlow.cpp ciStreams.hpp
-ciTypeFlow.cpp ciTypeArrayKlass.hpp
-ciTypeFlow.cpp ciTypeFlow.hpp
-ciTypeFlow.cpp compileLog.hpp
-ciTypeFlow.cpp deoptimization.hpp
-ciTypeFlow.cpp growableArray.hpp
-
-ciTypeFlow.hpp ciEnv.hpp
-ciTypeFlow.hpp ciKlass.hpp
-ciTypeFlow.hpp ciMethodBlocks.hpp
-
-classes.cpp addnode.hpp
-classes.cpp callnode.hpp
-classes.cpp cfgnode.hpp
-classes.cpp connode.hpp
-classes.cpp divnode.hpp
-classes.cpp locknode.hpp
-classes.cpp loopnode.hpp
-classes.cpp machnode.hpp
-classes.cpp memnode.hpp
-classes.cpp mulnode.hpp
-classes.cpp multnode.hpp
-classes.cpp node.hpp
-classes.cpp rootnode.hpp
-classes.cpp subnode.hpp
-classes.cpp vectornode.hpp
-
-classes.hpp top.hpp
-
-coalesce.cpp allocation.inline.hpp
-coalesce.cpp block.hpp
-coalesce.cpp cfgnode.hpp
-coalesce.cpp chaitin.hpp
-coalesce.cpp coalesce.hpp
-coalesce.cpp connode.hpp
-coalesce.cpp indexSet.hpp
-coalesce.cpp machnode.hpp
-coalesce.cpp matcher.hpp
-coalesce.cpp regmask.hpp
-
-coalesce.hpp phase.hpp
-
-compile.cpp ad_<arch_model>.hpp
-compile.cpp addnode.hpp
-compile.cpp arguments.hpp
-compile.cpp assembler.hpp
-compile.cpp block.hpp
-compile.cpp c2compiler.hpp
-compile.cpp callGenerator.hpp
-compile.cpp callnode.hpp
-compile.cpp cfgnode.hpp
-compile.cpp chaitin.hpp
-compile.cpp compile.hpp
-compile.cpp compileLog.hpp
-compile.cpp connode.hpp
-compile.cpp copy.hpp
-compile.cpp divnode.hpp
-compile.cpp escape.hpp
-compile.cpp exceptionHandlerTable.hpp
-compile.cpp loopnode.hpp
-compile.cpp machnode.hpp
-compile.cpp macro.hpp
-compile.cpp matcher.hpp
-compile.cpp memnode.hpp
-compile.cpp mulnode.hpp
-compile.cpp nmethod.hpp
-compile.cpp node.hpp
-compile.cpp oopMap.hpp
-compile.cpp opcodes.hpp
-compile.cpp output.hpp
-compile.cpp parse.hpp
-compile.cpp phaseX.hpp
-compile.cpp rootnode.hpp
-compile.cpp runtime.hpp
-compile.cpp signature.hpp
-compile.cpp stringopts.hpp
-compile.cpp stubRoutines.hpp
-compile.cpp systemDictionary.hpp
-compile.cpp timer.hpp
-compile.cpp type.hpp
-compile.cpp vectornode.hpp
-
-compile.hpp codeBuffer.hpp
-compile.hpp compilerInterface.hpp
-compile.hpp compilerOracle.hpp
-compile.hpp debugInfoRec.hpp
-compile.hpp deoptimization.hpp
-compile.hpp dict.hpp
-compile.hpp exceptionHandlerTable.hpp
-compile.hpp idealGraphPrinter.hpp
-compile.hpp phase.hpp
-compile.hpp port.hpp
-compile.hpp regmask.hpp
-compile.hpp resourceArea.hpp
-compile.hpp vectset.hpp
-compile.hpp vmThread.hpp
-
-compileBroker.cpp c2compiler.hpp
-
-connode.cpp addnode.hpp
-connode.cpp allocation.inline.hpp
-connode.cpp compile.hpp
-connode.cpp connode.hpp
-connode.cpp machnode.hpp
-connode.cpp matcher.hpp
-connode.cpp memnode.hpp
-connode.cpp phaseX.hpp
-connode.cpp sharedRuntime.hpp
-connode.cpp subnode.hpp
-
-connode.hpp node.hpp
-connode.hpp opcodes.hpp
-connode.hpp type.hpp
-
-deoptimization.cpp ad_<arch_model>.hpp
-
-dfa_<arch_model>.cpp ad_<arch_model>.hpp
-dfa_<arch_model>.cpp matcher.hpp
-dfa_<arch_model>.cpp opcodes.hpp
-
-dict.cpp allocation.inline.hpp
-dict.cpp dict.hpp
-dict.cpp resourceArea.hpp
-dict.cpp thread.hpp
-
-dict.hpp port.hpp
-
-divnode.cpp addnode.hpp
-divnode.cpp allocation.inline.hpp
-divnode.cpp connode.hpp
-divnode.cpp divnode.hpp
-divnode.cpp machnode.hpp
-divnode.cpp matcher.hpp
-divnode.cpp mulnode.hpp
-divnode.cpp phaseX.hpp
-divnode.cpp subnode.hpp
-
-divnode.hpp multnode.hpp
-divnode.hpp node.hpp
-divnode.hpp opcodes.hpp
-divnode.hpp type.hpp
-
-doCall.cpp addnode.hpp
-doCall.cpp callGenerator.hpp
-doCall.cpp ciCallSite.hpp
-doCall.cpp ciCPCache.hpp
-doCall.cpp ciMethodHandle.hpp
-doCall.cpp cfgnode.hpp
-doCall.cpp compileLog.hpp
-doCall.cpp linkResolver.hpp
-doCall.cpp mulnode.hpp
-doCall.cpp nativeLookup.hpp
-doCall.cpp parse.hpp
-doCall.cpp rootnode.hpp
-doCall.cpp runtime.hpp
-doCall.cpp sharedRuntime.hpp
-doCall.cpp subnode.hpp
-doCall.cpp vmSymbols.hpp
-
-domgraph.cpp allocation.hpp
-domgraph.cpp block.hpp
-domgraph.cpp machnode.hpp
-domgraph.cpp phaseX.hpp
-domgraph.cpp rootnode.hpp
-domgraph.cpp vectset.hpp
-
-escape.cpp allocation.hpp
-escape.cpp bcEscapeAnalyzer.hpp
-escape.cpp c2compiler.hpp
-escape.cpp callnode.hpp
-escape.cpp cfgnode.hpp
-escape.cpp compile.hpp
-escape.cpp escape.hpp
-escape.cpp phaseX.hpp
-escape.cpp rootnode.hpp
-escape.cpp vectset.hpp
-
-escape.hpp addnode.hpp
-escape.hpp growableArray.hpp
-escape.hpp node.hpp
-
-frame.hpp adGlobals_<arch_model>.hpp
-
-gcm.cpp ad_<arch_model>.hpp
-gcm.cpp allocation.inline.hpp
-gcm.cpp block.hpp
-gcm.cpp c2compiler.hpp
-gcm.cpp callnode.hpp
-gcm.cpp cfgnode.hpp
-gcm.cpp deoptimization.hpp
-gcm.cpp machnode.hpp
-gcm.cpp opcodes.hpp
-gcm.cpp phaseX.hpp
-gcm.cpp rootnode.hpp
-gcm.cpp runtime.hpp
-gcm.cpp vectset.hpp
-
-generateOptoStub.cpp addnode.hpp
-generateOptoStub.cpp callnode.hpp
-generateOptoStub.cpp cfgnode.hpp
-generateOptoStub.cpp compile.hpp
-generateOptoStub.cpp connode.hpp
-generateOptoStub.cpp locknode.hpp
-generateOptoStub.cpp memnode.hpp
-generateOptoStub.cpp mulnode.hpp
-generateOptoStub.cpp node.hpp
-generateOptoStub.cpp parse.hpp
-generateOptoStub.cpp phaseX.hpp
-generateOptoStub.cpp rootnode.hpp
-generateOptoStub.cpp runtime.hpp
-generateOptoStub.cpp type.hpp
-
-globals.hpp c2_globals_<arch>.hpp
-globals.hpp c2_globals_<os_family>.hpp
-
-globals.cpp c2_globals.hpp
-
-graphKit.cpp addnode.hpp
-graphKit.cpp barrierSet.hpp
-graphKit.cpp cardTableModRefBS.hpp
-graphKit.cpp g1SATBCardTableModRefBS.hpp
-graphKit.cpp collectedHeap.hpp
-graphKit.cpp compileLog.hpp
-graphKit.cpp deoptimization.hpp
-graphKit.cpp graphKit.hpp
-graphKit.cpp heapRegion.hpp
-graphKit.cpp idealKit.hpp
-graphKit.cpp locknode.hpp
-graphKit.cpp machnode.hpp
-graphKit.cpp parse.hpp
-graphKit.cpp rootnode.hpp
-graphKit.cpp runtime.hpp
-graphKit.cpp sharedRuntime.hpp
-
-graphKit.hpp addnode.hpp
-graphKit.hpp callnode.hpp
-graphKit.hpp cfgnode.hpp
-graphKit.hpp ciEnv.hpp
-graphKit.hpp ciMethodData.hpp
-graphKit.hpp divnode.hpp
-graphKit.hpp compile.hpp
-graphKit.hpp deoptimization.hpp
-graphKit.hpp phaseX.hpp
-graphKit.hpp mulnode.hpp
-graphKit.hpp subnode.hpp
-graphKit.hpp type.hpp
-
-idealKit.cpp addnode.hpp
-idealKit.cpp callnode.hpp
-idealKit.cpp cfgnode.hpp
-idealKit.cpp idealKit.hpp
-idealKit.cpp runtime.hpp
-
-idealKit.hpp addnode.hpp
-idealKit.hpp cfgnode.hpp
-idealKit.hpp connode.hpp
-idealKit.hpp divnode.hpp
-idealKit.hpp mulnode.hpp
-idealKit.hpp phaseX.hpp
-idealKit.hpp subnode.hpp
-idealKit.hpp type.hpp
-
-ifg.cpp addnode.hpp
-ifg.cpp allocation.inline.hpp
-ifg.cpp block.hpp
-ifg.cpp callnode.hpp
-ifg.cpp cfgnode.hpp
-ifg.cpp chaitin.hpp
-ifg.cpp coalesce.hpp
-ifg.cpp connode.hpp
-ifg.cpp indexSet.hpp
-ifg.cpp machnode.hpp
-ifg.cpp memnode.hpp
-ifg.cpp oopMap.hpp
-ifg.cpp opcodes.hpp
-
-ifnode.cpp addnode.hpp
-ifnode.cpp allocation.inline.hpp
-ifnode.cpp cfgnode.hpp
-ifnode.cpp connode.hpp
-ifnode.cpp phaseX.hpp
-ifnode.cpp runtime.hpp
-ifnode.cpp subnode.hpp
-
-indexSet.cpp allocation.inline.hpp
-indexSet.cpp chaitin.hpp
-indexSet.cpp compile.hpp
-indexSet.cpp indexSet.hpp
-indexSet.cpp regmask.hpp
-
-indexSet.hpp allocation.hpp
-indexSet.hpp compile.hpp
-indexSet.hpp regmask.hpp
-indexSet.hpp resourceArea.hpp
-
-interpreterRuntime.cpp runtime.hpp
-
-java.cpp compile.hpp
-java.cpp compiledIC.hpp
-java.cpp indexSet.hpp
-java.cpp methodLiveness.hpp
-java.cpp runtime.hpp
-
-lcm.cpp ad_<arch_model>.hpp
-lcm.cpp allocation.inline.hpp
-lcm.cpp block.hpp
-lcm.cpp c2compiler.hpp
-lcm.cpp callnode.hpp
-lcm.cpp cfgnode.hpp
-lcm.cpp machnode.hpp
-lcm.cpp runtime.hpp
-
-library_call.cpp addnode.hpp
-library_call.cpp callGenerator.hpp
-library_call.cpp cfgnode.hpp
-library_call.cpp compileLog.hpp
-library_call.cpp idealKit.hpp
-library_call.cpp mulnode.hpp
-library_call.cpp nativeLookup.hpp
-library_call.cpp objArrayKlass.hpp
-library_call.cpp parse.hpp
-library_call.cpp runtime.hpp
-library_call.cpp sharedRuntime.hpp
-library_call.cpp subnode.hpp
-library_call.cpp systemDictionary.hpp
-library_call.cpp vmSymbols.hpp
-
-live.cpp allocation.inline.hpp
-live.cpp callnode.hpp
-live.cpp chaitin.hpp
-live.cpp live.hpp
-live.cpp machnode.hpp
-
-live.hpp block.hpp
-live.hpp indexSet.hpp
-live.hpp phase.hpp
-live.hpp port.hpp
-live.hpp regmask.hpp
-live.hpp vectset.hpp
-
-locknode.cpp locknode.hpp
-locknode.cpp parse.hpp
-locknode.cpp rootnode.hpp
-locknode.cpp runtime.hpp
-
-locknode.hpp ad_<arch_model>.hpp
-locknode.hpp node.hpp
-locknode.hpp opcodes.hpp
-locknode.hpp subnode.hpp
-
-loopTransform.cpp addnode.hpp
-loopTransform.cpp allocation.inline.hpp
-loopTransform.cpp callnode.hpp
-loopTransform.cpp connode.hpp
-loopTransform.cpp compileLog.hpp
-loopTransform.cpp divnode.hpp
-loopTransform.cpp loopnode.hpp
-loopTransform.cpp mulnode.hpp
-loopTransform.cpp rootnode.hpp
-loopTransform.cpp runtime.hpp
-loopTransform.cpp subnode.hpp
-
-loopUnswitch.cpp allocation.inline.hpp
-loopUnswitch.cpp connode.hpp
-loopUnswitch.cpp loopnode.hpp
-loopUnswitch.cpp rootnode.hpp
-
-loopnode.cpp addnode.hpp
-loopnode.cpp allocation.inline.hpp
-loopnode.cpp callnode.hpp
-loopnode.cpp ciMethodData.hpp
-loopnode.cpp compileLog.hpp
-loopnode.cpp connode.hpp
-loopnode.cpp divnode.hpp
-loopnode.cpp loopnode.hpp
-loopnode.cpp mulnode.hpp
-loopnode.cpp rootnode.hpp
-loopnode.cpp superword.hpp
-loopnode.cpp vectset.hpp
-
-loopnode.hpp cfgnode.hpp
-loopnode.hpp multnode.hpp
-loopnode.hpp phaseX.hpp
-loopnode.hpp subnode.hpp
-loopnode.hpp type.hpp
-
-loopopts.cpp addnode.hpp
-loopopts.cpp allocation.inline.hpp
-loopopts.cpp connode.hpp
-loopopts.cpp divnode.hpp
-loopopts.cpp loopnode.hpp
-loopopts.cpp mulnode.hpp
-loopopts.cpp rootnode.hpp
-loopopts.cpp subnode.hpp
-
-machnode.cpp collectedHeap.hpp
-machnode.cpp machnode.hpp
-machnode.cpp regalloc.hpp
-
-machnode.hpp callnode.hpp
-machnode.hpp matcher.hpp
-machnode.hpp multnode.hpp
-machnode.hpp node.hpp
-machnode.hpp regmask.hpp
-
-macro.cpp addnode.hpp
-macro.cpp callnode.hpp
-macro.cpp cfgnode.hpp
-macro.cpp compile.hpp
-macro.cpp compileLog.hpp
-macro.cpp connode.hpp
-macro.cpp locknode.hpp
-macro.cpp loopnode.hpp
-macro.cpp macro.hpp
-macro.cpp memnode.hpp
-macro.cpp node.hpp
-macro.cpp phaseX.hpp
-macro.cpp rootnode.hpp
-macro.cpp runtime.hpp
-macro.cpp sharedRuntime.hpp
-macro.cpp subnode.hpp
-macro.cpp type.hpp
-macro.cpp vectset.hpp
-macro.hpp phase.hpp
-
-matcher.cpp ad_<arch_model>.hpp
-matcher.cpp addnode.hpp
-matcher.cpp allocation.inline.hpp
-matcher.cpp atomic.hpp
-matcher.cpp callnode.hpp
-matcher.cpp connode.hpp
-matcher.cpp hpi.hpp
-matcher.cpp matcher.hpp
-matcher.cpp memnode.hpp
-matcher.cpp opcodes.hpp
-matcher.cpp os.hpp
-matcher.cpp regmask.hpp
-matcher.cpp rootnode.hpp
-matcher.cpp runtime.hpp
-matcher.cpp type.hpp
-
-matcher.hpp node.hpp
-matcher.hpp phaseX.hpp
-matcher.hpp regmask.hpp
-matcher.hpp resourceArea.hpp
-matcher.hpp vectset.hpp
-
-memnode.cpp addnode.hpp
-memnode.cpp allocation.inline.hpp
-memnode.cpp cfgnode.hpp
-memnode.cpp compile.hpp
-memnode.cpp compileLog.hpp
-memnode.cpp connode.hpp
-memnode.cpp loopnode.hpp
-memnode.cpp machnode.hpp
-memnode.cpp matcher.hpp
-memnode.cpp memnode.hpp
-memnode.cpp mulnode.hpp
-memnode.cpp objArrayKlass.hpp
-memnode.cpp phaseX.hpp
-memnode.cpp regmask.hpp
-memnode.cpp systemDictionary.hpp
-
-memnode.hpp multnode.hpp
-memnode.hpp node.hpp
-memnode.hpp opcodes.hpp
-memnode.hpp type.hpp
-
-methodLiveness.cpp allocation.inline.hpp
-methodLiveness.cpp bytecode.hpp
-methodLiveness.cpp bytecodes.hpp
-methodLiveness.cpp ciStreams.hpp
-methodLiveness.cpp methodLiveness.hpp
-
-methodLiveness.hpp bitMap.hpp
-methodLiveness.hpp growableArray.hpp
-
-mulnode.cpp addnode.hpp
-mulnode.cpp allocation.inline.hpp
-mulnode.cpp connode.hpp
-mulnode.cpp memnode.hpp
-mulnode.cpp mulnode.hpp
-mulnode.cpp phaseX.hpp
-mulnode.cpp subnode.hpp
-
-mulnode.hpp node.hpp
-mulnode.hpp opcodes.hpp
-mulnode.hpp type.hpp
-
-multnode.cpp matcher.hpp
-multnode.cpp multnode.hpp
-multnode.cpp opcodes.hpp
-multnode.cpp phaseX.hpp
-multnode.cpp regmask.hpp
-multnode.cpp type.hpp
-
-multnode.hpp node.hpp
-
-node.cpp allocation.inline.hpp
-node.cpp cfgnode.hpp
-node.cpp connode.hpp
-node.cpp copy.hpp
-node.cpp machnode.hpp
-node.cpp matcher.hpp
-node.cpp node.hpp
-node.cpp opcodes.hpp
-node.cpp regmask.hpp
-node.cpp type.hpp
-node.cpp vectset.hpp
-
-node.hpp compile.hpp
-node.hpp port.hpp
-node.hpp type.hpp
-node.hpp vectset.hpp
-
-opcodes.cpp classes.hpp
-opcodes.cpp globalDefinitions.hpp
-opcodes.cpp no_precompiled_headers
-
-os_<os_arch>.cpp runtime.hpp
-
-os_<os_family>.cpp runtime.hpp
-
-output.cpp allocation.inline.hpp
-output.cpp assembler.inline.hpp
-output.cpp callnode.hpp
-output.cpp cfgnode.hpp
-output.cpp compileBroker.hpp
-output.cpp debugInfo.hpp
-output.cpp debugInfoRec.hpp
-output.cpp handles.inline.hpp
-output.cpp locknode.hpp
-output.cpp machnode.hpp
-output.cpp oopMap.hpp
-output.cpp output.hpp
-output.cpp regalloc.hpp
-output.cpp runtime.hpp
-output.cpp subnode.hpp
-output.cpp type.hpp
-output.cpp xmlstream.hpp
-
-output.hpp ad_<arch_model>.hpp
-output.hpp block.hpp
-output.hpp node.hpp
-
-parse.hpp ciMethodData.hpp
-parse.hpp ciTypeFlow.hpp
-parse.hpp generateOopMap.hpp
-parse.hpp graphKit.hpp
-parse.hpp methodLiveness.hpp
-parse.hpp subnode.hpp
-parse.hpp vectset.hpp
-
-parse1.cpp addnode.hpp
-parse1.cpp arguments.hpp
-parse1.cpp compileLog.hpp
-parse1.cpp copy.hpp
-parse1.cpp handles.inline.hpp
-parse1.cpp linkResolver.hpp
-parse1.cpp locknode.hpp
-parse1.cpp memnode.hpp
-parse1.cpp methodOop.hpp
-parse1.cpp parse.hpp
-parse1.cpp rootnode.hpp
-parse1.cpp runtime.hpp
-parse1.cpp sharedRuntime.hpp
-
-parse2.cpp addnode.hpp
-parse2.cpp ciMethodData.hpp
-parse2.cpp compileLog.hpp
-parse2.cpp deoptimization.hpp
-parse2.cpp divnode.hpp
-parse2.cpp linkResolver.hpp
-parse2.cpp matcher.hpp
-parse2.cpp memnode.hpp
-parse2.cpp mulnode.hpp
-parse2.cpp parse.hpp
-parse2.cpp runtime.hpp
-parse2.cpp sharedRuntime.hpp
-parse2.cpp systemDictionary.hpp
-parse2.cpp universe.inline.hpp
-parse2.cpp vmSymbols.hpp
-
-parse3.cpp addnode.hpp
-parse3.cpp compileLog.hpp
-parse3.cpp deoptimization.hpp
-parse3.cpp handles.inline.hpp
-parse3.cpp linkResolver.hpp
-parse3.cpp memnode.hpp
-parse3.cpp objArrayKlass.hpp
-parse3.cpp parse.hpp
-parse3.cpp rootnode.hpp
-parse3.cpp runtime.hpp
-parse3.cpp subnode.hpp
-parse3.cpp universe.inline.hpp
-
-parseHelper.cpp addnode.hpp
-parseHelper.cpp compileLog.hpp
-parseHelper.cpp memnode.hpp
-parseHelper.cpp mulnode.hpp
-parseHelper.cpp objArrayKlass.hpp
-parseHelper.cpp parse.hpp
-parseHelper.cpp rootnode.hpp
-parseHelper.cpp runtime.hpp
-parseHelper.cpp sharedRuntime.hpp
-parseHelper.cpp systemDictionary.hpp
-
-phase.cpp compile.hpp
-phase.cpp compileBroker.hpp
-phase.cpp nmethod.hpp
-phase.cpp node.hpp
-phase.cpp phase.hpp
-
-phase.hpp port.hpp
-phase.hpp timer.hpp
-
-phaseX.cpp allocation.inline.hpp
-phaseX.cpp block.hpp
-phaseX.cpp callnode.hpp
-phaseX.cpp cfgnode.hpp
-phaseX.cpp connode.hpp
-phaseX.cpp loopnode.hpp
-phaseX.cpp machnode.hpp
-phaseX.cpp opcodes.hpp
-phaseX.cpp phaseX.hpp
-phaseX.cpp regalloc.hpp
-phaseX.cpp rootnode.hpp
-
-phaseX.hpp dict.hpp
-phaseX.hpp memnode.hpp
-phaseX.hpp node.hpp
-phaseX.hpp phase.hpp
-phaseX.hpp resourceArea.hpp
-phaseX.hpp type.hpp
-phaseX.hpp vectset.hpp
-
-port.cpp port.hpp
-
-port.hpp top.hpp
-
-postaloc.cpp allocation.inline.hpp
-postaloc.cpp chaitin.hpp
-postaloc.cpp machnode.hpp
-
-reg_split.cpp addnode.hpp
-reg_split.cpp allocation.inline.hpp
-reg_split.cpp callnode.hpp
-reg_split.cpp c2compiler.hpp
-reg_split.cpp cfgnode.hpp
-reg_split.cpp chaitin.hpp
-reg_split.cpp loopnode.hpp
-reg_split.cpp machnode.hpp
-reg_split.cpp vectset.hpp
-
-regalloc.cpp regalloc.hpp
-
-regalloc.hpp block.hpp
-regalloc.hpp matcher.hpp
-regalloc.hpp phase.hpp
-regalloc.hpp vmreg.hpp
-
-regmask.cpp ad_<arch_model>.hpp
-regmask.cpp compile.hpp
-regmask.cpp regmask.hpp
-
-regmask.hpp adGlobals_<arch_model>.hpp
-regmask.hpp optoreg.hpp
-regmask.hpp port.hpp
-regmask.hpp vmreg.hpp
-
-rootnode.cpp allocation.inline.hpp
-rootnode.cpp callnode.hpp
-rootnode.cpp cfgnode.hpp
-rootnode.cpp phaseX.hpp
-rootnode.cpp regmask.hpp
-rootnode.cpp rootnode.hpp
-rootnode.cpp subnode.hpp
-rootnode.cpp type.hpp
-
-rootnode.hpp loopnode.hpp
-
-runtime.cpp ad_<arch_model>.hpp
-runtime.cpp addnode.hpp
-runtime.cpp barrierSet.hpp
-runtime.cpp bytecode.hpp
-runtime.cpp callnode.hpp
-runtime.cpp cfgnode.hpp
-runtime.cpp collectedHeap.hpp
-runtime.cpp compileBroker.hpp
-runtime.cpp compiledIC.hpp
-runtime.cpp compilerOracle.hpp
-runtime.cpp connode.hpp
-runtime.cpp copy.hpp
-runtime.cpp fprofiler.hpp
-runtime.cpp g1SATBCardTableModRefBS.hpp
-runtime.cpp gcLocker.inline.hpp
-runtime.cpp graphKit.hpp
-runtime.cpp handles.inline.hpp
-runtime.cpp heapRegion.hpp
-runtime.cpp icBuffer.hpp
-runtime.cpp interfaceSupport.hpp
-runtime.cpp interpreter.hpp
-runtime.cpp javaCalls.hpp
-runtime.cpp linkResolver.hpp
-runtime.cpp machnode.hpp
-runtime.cpp matcher.hpp
-runtime.cpp memnode.hpp
-runtime.cpp mulnode.hpp
-runtime.cpp nmethod.hpp
-runtime.cpp objArrayKlass.hpp
-runtime.cpp oop.inline.hpp
-runtime.cpp oopFactory.hpp
-runtime.cpp oopMap.hpp
-runtime.cpp pcDesc.hpp
-runtime.cpp preserveException.hpp
-runtime.cpp runtime.hpp
-runtime.cpp scopeDesc.hpp
-runtime.cpp sharedRuntime.hpp
-runtime.cpp signature.hpp
-runtime.cpp subnode.hpp
-runtime.cpp systemDictionary.hpp
-runtime.cpp threadCritical.hpp
-runtime.cpp vframe.hpp
-runtime.cpp vframeArray.hpp
-runtime.cpp vframe_hp.hpp
-runtime.cpp vmSymbols.hpp
-runtime.cpp vtableStubs.hpp
-
-runtime.hpp biasedLocking.hpp
-runtime.hpp codeBlob.hpp
-runtime.hpp deoptimization.hpp
-runtime.hpp machnode.hpp
-runtime.hpp type.hpp
-runtime.hpp vframe.hpp
-
-runtime_<arch_model>.cpp adGlobals_<arch_model>.hpp
-runtime_<arch_model>.cpp ad_<arch_model>.hpp
-runtime_<arch_model>.cpp assembler.hpp
-runtime_<arch_model>.cpp assembler_<arch>.inline.hpp
-runtime_<arch_model>.cpp globalDefinitions.hpp
-runtime_<arch_model>.cpp interfaceSupport.hpp
-runtime_<arch_model>.cpp interpreter.hpp
-runtime_<arch_model>.cpp nativeInst_<arch>.hpp
-runtime_<arch_model>.cpp runtime.hpp
-runtime_<arch_model>.cpp sharedRuntime.hpp
-runtime_<arch_model>.cpp stubRoutines.hpp
-runtime_<arch_model>.cpp systemDictionary.hpp
-runtime_<arch_model>.cpp vframeArray.hpp
-runtime_<arch_model>.cpp vmreg.hpp
-runtime_<arch_model>.cpp vmreg_<arch>.inline.hpp
-
-set.cpp allocation.inline.hpp
-set.cpp set.hpp
-
-set.hpp allocation.hpp
-set.hpp port.hpp
-
-sharedRuntime_<arch_model>.cpp runtime.hpp
-
-split_if.cpp allocation.inline.hpp
-split_if.cpp callnode.hpp
-split_if.cpp connode.hpp
-split_if.cpp loopnode.hpp
-
-stringopts.hpp phaseX.hpp
-stringopts.hpp node.hpp
-
-stringopts.cpp addnode.hpp
-stringopts.cpp callnode.hpp
-stringopts.cpp callGenerator.hpp
-stringopts.cpp compileLog.hpp
-stringopts.cpp divnode.hpp
-stringopts.cpp idealKit.hpp
-stringopts.cpp graphKit.hpp
-stringopts.cpp rootnode.hpp
-stringopts.cpp runtime.hpp
-stringopts.cpp subnode.hpp
-stringopts.cpp stringopts.hpp
-
-stubGenerator_<arch_model>.cpp runtime.hpp
-
-stubRoutines.cpp runtime.hpp
-
-subnode.cpp addnode.hpp
-subnode.cpp allocation.inline.hpp
-subnode.cpp callnode.hpp
-subnode.cpp cfgnode.hpp
-subnode.cpp compileLog.hpp
-subnode.cpp connode.hpp
-subnode.cpp loopnode.hpp
-subnode.cpp matcher.hpp
-subnode.cpp mulnode.hpp
-subnode.cpp opcodes.hpp
-subnode.cpp phaseX.hpp
-subnode.cpp sharedRuntime.hpp
-subnode.cpp subnode.hpp
-
-subnode.hpp node.hpp
-subnode.hpp opcodes.hpp
-subnode.hpp type.hpp
-
-superword.cpp addnode.hpp
-superword.cpp allocation.inline.hpp
-superword.cpp callnode.hpp
-superword.cpp compileLog.hpp
-superword.cpp divnode.hpp
-superword.cpp matcher.hpp
-superword.cpp memnode.hpp
-superword.cpp mulnode.hpp
-superword.cpp opcodes.hpp
-superword.cpp superword.hpp
-superword.cpp vectornode.hpp
-superword.cpp vectset.hpp
-
-superword.hpp connode.hpp
-superword.hpp growableArray.hpp
-superword.hpp loopnode.hpp
-superword.hpp node.hpp
-superword.hpp phaseX.hpp
-superword.hpp vectornode.hpp
-
-thread.cpp c2compiler.hpp
-
-top.hpp c2_globals.hpp
-
-type.cpp ciTypeFlow.hpp
-type.cpp compileLog.hpp
-type.cpp dict.hpp
-type.cpp gcLocker.hpp
-type.cpp instanceKlass.hpp
-type.cpp klassKlass.hpp
-type.cpp matcher.hpp
-type.cpp node.hpp
-type.cpp objArrayKlass.hpp
-type.cpp oopFactory.hpp
-type.cpp opcodes.hpp
-type.cpp resourceArea.hpp
-type.cpp symbolTable.hpp
-type.cpp systemDictionary.hpp
-type.cpp type.hpp
-type.cpp typeArrayKlass.hpp
-
-type.hpp adlcVMDeps.hpp
-type.hpp handles.hpp
-type.hpp port.hpp
-
-vectornode.cpp allocation.inline.hpp
-vectornode.cpp connode.hpp
-vectornode.cpp vectornode.hpp
-
-vectornode.hpp matcher.hpp
-vectornode.hpp memnode.hpp
-vectornode.hpp node.hpp
-vectornode.hpp opcodes.hpp
-
-vectset.cpp allocation.inline.hpp
-vectset.cpp vectset.hpp
-
-vectset.hpp set.hpp
-
-vframeArray.cpp runtime.hpp
-
-vframe_hp.cpp matcher.hpp
-
-vmStructs.cpp adGlobals_<arch_model>.hpp
-vmStructs.cpp matcher.hpp
-
-vmreg.hpp adGlobals_<arch_model>.hpp
-vmreg.hpp adlcVMDeps.hpp
-vmreg.hpp ostream.hpp
-
-vtableStubs.cpp matcher.hpp
-
-vtableStubs_<arch_model>.cpp ad_<arch_model>.hpp
-vtableStubs_<arch_model>.cpp runtime.hpp
-
-idealGraphPrinter.hpp dict.hpp
-idealGraphPrinter.hpp vectset.hpp
-idealGraphPrinter.hpp growableArray.hpp
-idealGraphPrinter.hpp ostream.hpp
-idealGraphPrinter.hpp xmlstream.hpp
-
-idealGraphPrinter.cpp idealGraphPrinter.hpp
-idealGraphPrinter.cpp chaitin.hpp
-idealGraphPrinter.cpp machnode.hpp
-idealGraphPrinter.cpp parse.hpp
-idealGraphPrinter.cpp threadCritical.hpp
-
-compile.cpp idealGraphPrinter.hpp
-thread.cpp idealGraphPrinter.hpp
-phaseX.cpp idealGraphPrinter.hpp
-parse2.cpp idealGraphPrinter.hpp
-parse1.cpp idealGraphPrinter.hpp
-matcher.cpp idealGraphPrinter.hpp
-loopnode.cpp idealGraphPrinter.hpp
-chaitin.cpp idealGraphPrinter.hpp
diff --git a/src/share/vm/includeDB_core b/src/share/vm/includeDB_core
deleted file mode 100644
index 3d0901b22..000000000
--- a/src/share/vm/includeDB_core
+++ /dev/null
@@ -1,4788 +0,0 @@
-//
-// Copyright (c) 1997, 2010, 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.
-//
-//
-
-// NOTE: DO NOT CHANGE THIS COPYRIGHT TO NEW STYLE - IT WILL BREAK makeDeps!
-
-
-// includeDB format:
-// a comment starts with '// ' and goes to the end of the line
-// anything else is a pair of filenames. The line "x.cpp y.hpp" means
-// "x.cpp must include y.hpp". Similarly, "y.hpp z.hpp" means "any file including
-// y.hpp must also include z.hpp, and z.hpp must be included before y.hpp".
-//
-// Style hint: we try to keep the entries ordered alphabetically, both
-// globally (left-hand sides) and within a given file (right-hand sides)
-//
-// To avoid unnecessary conflicts with the work of other programmers,
-// do not delete, move, or reformat pre-existing lines. Do not attempt
-// to "optimize" this file incrementally.
-//
-// ============ Platform dependent include files ===========
-//
-// Some header files occur in clusters. Header files which depend
-// on the token "generate_platform_dependent_include" are included
-// directly by other header files, and should not be explicitly declared
-// as dependencies. Header files named H.inline.hpp generally contain
-// bodies for inline functions declared in H.hpp.
-//
-// NOTE: Files that use the token "generate_platform_dependent_include"
-// are expected to contain macro references like <os>, <arch_model>, ... and
-// makedeps has a dependency on these platform files looking like:
-// foo_<macro>.trailing_string
-// (where "trailing_string" can be any legal filename strings but typically
-// is "hpp" or "inline.hpp").
-//
-// The dependency in makedeps (and enforced) is that an underscore
-// will precedure the macro invocation. Note that this restriction
-// is only enforced on filenames that have the dependency token
-// "generate_platform_dependent_include" so other files using macro
-// expansion (typically .cpp files) have no requirement to have
-// an underscore precede the macro although this is encouraged for
-// readibility.
-//
-// ======= Circular dependencies and inline functions ==========
-//
-// (Sometimes, circular dependencies prevent complex function bodies
-// from being defined directly in H.hpp. In such cases, a client S.cpp
-// of H.hpp must always declare a dependency on H.inline.hpp, which in
-// turn will declare a dependency on H.hpp. If by some mischance S.cpp
-// declares a dependency on H.hpp, the compiler may complain about missing
-// inline function bodies, or (perhaps) the program may fail to link.
-// The solution is to have S.cpp depend on H.inline.hpp instead of H.hpp.
-//
-// Generally, if in response to a source code change the compiler
-// issues an error in a file F (which may be either a header or a
-// source file), you should consider if the error arises from a missing
-// class definition C. If that is the case, find the header file H which
-// contains C (often, H=C.hpp, but you may have to search for C's definition).
-// Then, add a line to the includeDB file as appropriate.
-//
-//
-// Here are some typical compiler errors that may require changes to includeDB.
-// (Messages are taken from Sun's SPARC compiler.)
-//
-// "klassVtable.cpp", line 96: Error: No_GC_Verifier is not defined.
-// Source code:
-// No_GC_Verifier no_gc;
-//
-// The problem is that the class name No_GC_Verifier is not declared,
-// so the compiler is confused by the syntax. The solution:
-// klassVtable.cpp gcLocker.hpp
-//
-// Sometimes the compiler has only partial knowledge about a class:
-// "privilegedStack.cpp", line 60: Error: cast is not a member of instanceKlass.
-// Source code:
-// if (_protection_domain != instanceKlass::cast(method->method_holder())->protection_domain()) return false;
-//
-// Here, instanceKlass is known to the compiler as a type, because of a
-// forward declaration somewhere ("class instanceKlass;"). The problem
-// is that the compiler has not seen the body of instanceKlass, and so it
-// complains that it does not know about "instanceKlass::cast". Solution:
-// privilegedStack.cpp instanceKlass.hpp
-//
-// Here's another example of a missing declaration:
-// "privilegedStack.cpp", line 111: Error: The function AllocateHeap must have a prototype.
-// Source code:
-// _array = NEW_C_HEAP_ARRAY(PrivilegedElement, initial_size);
-//
-// The problem is that the macro call expands to use a heap function
-// which is defined (for technical reasons) in a different file. Solution:
-// privilegedStack.cpp allocation.inline.hpp
-// The macro is defined in allocation.hpp, while the function is
-// defined (as an inline) in allocation.inline.hpp. Generally, if you
-// find you need a header H.hpp, and there is also a header
-// H.inline.hpp use the latter, because it contains inline definitions
-// you will require.
-
-abstractCompiler.cpp abstractCompiler.hpp
-abstractCompiler.cpp mutexLocker.hpp
-
-abstractCompiler.hpp compilerInterface.hpp
-
-abstractInterpreter.hpp bytecodes.hpp
-abstractInterpreter.hpp interp_masm_<arch_model>.hpp
-abstractInterpreter.hpp stubs.hpp
-abstractInterpreter.hpp thread_<os_family>.inline.hpp
-abstractInterpreter.hpp top.hpp
-abstractInterpreter.hpp vmThread.hpp
-
-accessFlags.cpp accessFlags.hpp
-accessFlags.cpp oop.inline.hpp
-accessFlags.cpp os_<os_family>.inline.hpp
-
-accessFlags.hpp jvm.h
-accessFlags.hpp top.hpp
-
-allocation.cpp allocation.hpp
-allocation.cpp allocation.inline.hpp
-allocation.cpp os.hpp
-allocation.cpp os_<os_family>.inline.hpp
-allocation.cpp ostream.hpp
-allocation.cpp resourceArea.hpp
-allocation.cpp task.hpp
-allocation.cpp threadCritical.hpp
-
-allocation.hpp globalDefinitions.hpp
-allocation.hpp globals.hpp
-
-allocation.inline.hpp os.hpp
-
-aprofiler.cpp aprofiler.hpp
-aprofiler.cpp collectedHeap.inline.hpp
-aprofiler.cpp oop.inline.hpp
-aprofiler.cpp oop.inline2.hpp
-aprofiler.cpp permGen.hpp
-aprofiler.cpp resourceArea.hpp
-aprofiler.cpp space.hpp
-aprofiler.cpp systemDictionary.hpp
-
-aprofiler.hpp allocation.hpp
-aprofiler.hpp klass.hpp
-aprofiler.hpp klassOop.hpp
-aprofiler.hpp top.hpp
-aprofiler.hpp universe.hpp
-
-arguments.cpp allocation.inline.hpp
-arguments.cpp arguments.hpp
-arguments.cpp cardTableRS.hpp
-arguments.cpp compilerOracle.hpp
-arguments.cpp defaultStream.hpp
-arguments.cpp globals_extension.hpp
-arguments.cpp java.hpp
-arguments.cpp javaAssertions.hpp
-arguments.cpp jvmtiExport.hpp
-arguments.cpp management.hpp
-arguments.cpp oop.inline.hpp
-arguments.cpp os_<os_family>.inline.hpp
-arguments.cpp referenceProcessor.hpp
-arguments.cpp taskqueue.hpp
-arguments.cpp universe.inline.hpp
-arguments.cpp vm_version_<arch>.hpp
-
-arguments.hpp java.hpp
-arguments.hpp perfData.hpp
-arguments.hpp top.hpp
-
-array.cpp array.hpp
-array.cpp resourceArea.hpp
-array.cpp thread_<os_family>.inline.hpp
-
-array.hpp allocation.hpp
-array.hpp allocation.inline.hpp
-
-arrayKlass.cpp arrayKlass.hpp
-arrayKlass.cpp arrayKlassKlass.hpp
-arrayKlass.cpp arrayOop.hpp
-arrayKlass.cpp collectedHeap.inline.hpp
-arrayKlass.cpp gcLocker.hpp
-arrayKlass.cpp instanceKlass.hpp
-arrayKlass.cpp javaClasses.hpp
-arrayKlass.cpp jvmti.h
-arrayKlass.cpp objArrayOop.hpp
-arrayKlass.cpp oop.inline.hpp
-arrayKlass.cpp systemDictionary.hpp
-arrayKlass.cpp universe.inline.hpp
-arrayKlass.cpp vmSymbols.hpp
-
-arrayKlass.hpp klass.hpp
-arrayKlass.hpp klassOop.hpp
-arrayKlass.hpp klassVtable.hpp
-arrayKlass.hpp universe.hpp
-
-arrayKlassKlass.cpp arrayKlassKlass.hpp
-arrayKlassKlass.cpp handles.inline.hpp
-arrayKlassKlass.cpp javaClasses.hpp
-arrayKlassKlass.cpp markSweep.inline.hpp
-arrayKlassKlass.cpp oop.inline.hpp
-
-arrayKlassKlass.hpp arrayKlass.hpp
-arrayKlassKlass.hpp klassKlass.hpp
-
-arrayOop.cpp arrayOop.hpp
-arrayOop.cpp objArrayOop.hpp
-arrayOop.cpp oop.inline.hpp
-arrayOop.cpp symbolOop.hpp
-
-arrayOop.hpp oop.hpp
-arrayOop.hpp universe.inline.hpp
-
-assembler.cpp assembler.hpp
-assembler.cpp assembler.inline.hpp
-assembler.cpp assembler_<arch>.inline.hpp
-assembler.cpp codeBuffer.hpp
-assembler.cpp icache.hpp
-assembler.cpp os.hpp
-
-assembler.hpp allocation.hpp
-assembler.hpp debug.hpp
-assembler.hpp growableArray.hpp
-assembler.hpp oopRecorder.hpp
-assembler.hpp register_<arch>.hpp
-assembler.hpp relocInfo.hpp
-assembler.hpp top.hpp
-assembler.hpp vm_version_<arch>.hpp
-
-assembler.inline.hpp assembler.hpp
-assembler.inline.hpp codeBuffer.hpp
-assembler.inline.hpp disassembler.hpp
-assembler.inline.hpp threadLocalStorage.hpp
-
-assembler_<arch>.cpp assembler_<arch>.inline.hpp
-assembler_<arch>.cpp biasedLocking.hpp
-assembler_<arch>.cpp cardTableModRefBS.hpp
-assembler_<arch>.cpp collectedHeap.inline.hpp
-assembler_<arch>.cpp interfaceSupport.hpp
-assembler_<arch>.cpp interpreter.hpp
-assembler_<arch>.cpp methodHandles.hpp
-assembler_<arch>.cpp objectMonitor.hpp
-assembler_<arch>.cpp os.hpp
-assembler_<arch>.cpp resourceArea.hpp
-assembler_<arch>.cpp sharedRuntime.hpp
-assembler_<arch>.cpp stubRoutines.hpp
-
-assembler_<arch>.hpp generate_platform_dependent_include
-
-assembler_<arch>.inline.hpp assembler.inline.hpp
-assembler_<arch>.inline.hpp codeBuffer.hpp
-assembler_<arch>.inline.hpp codeCache.hpp
-assembler_<arch>.inline.hpp handles.inline.hpp
-
-assembler_<os_arch>.cpp assembler.hpp
-assembler_<os_arch>.cpp assembler_<arch>.inline.hpp
-assembler_<os_arch>.cpp os.hpp
-assembler_<os_arch>.cpp threadLocalStorage.hpp
-
-atomic.cpp atomic.hpp
-atomic.cpp atomic_<os_arch>.inline.hpp
-atomic.cpp os_<os_family>.inline.hpp
-
-atomic.hpp allocation.hpp
-
-atomic_<os_arch>.inline.hpp atomic.hpp
-atomic_<os_arch>.inline.hpp os.hpp
-atomic_<os_arch>.inline.hpp vm_version_<arch>.hpp
-atomic_<os_arch>.inline.hpp orderAccess_<os_arch>.inline.hpp
-
-// attachListener is jck optional, put cpp deps in includeDB_features
-
-attachListener.hpp allocation.hpp
-attachListener.hpp debug.hpp
-attachListener.hpp ostream.hpp
-
-barrierSet.cpp barrierSet.inline.hpp
-barrierSet.cpp collectedHeap.hpp
-barrierSet.cpp universe.hpp
-
-barrierSet.hpp memRegion.hpp
-barrierSet.hpp oopsHierarchy.hpp
-
-barrierSet.inline.hpp barrierSet.hpp
-barrierSet.inline.hpp cardTableModRefBS.hpp
-
-basicLock.cpp basicLock.hpp
-basicLock.cpp synchronizer.hpp
-
-basicLock.hpp handles.hpp
-basicLock.hpp markOop.hpp
-basicLock.hpp top.hpp
-
-biasedLocking.cpp basicLock.hpp
-biasedLocking.cpp biasedLocking.hpp
-biasedLocking.cpp klass.inline.hpp
-biasedLocking.cpp markOop.hpp
-biasedLocking.cpp task.hpp
-biasedLocking.cpp vframe.hpp
-biasedLocking.cpp vmThread.hpp
-biasedLocking.cpp vm_operations.hpp
-
-biasedLocking.hpp growableArray.hpp
-biasedLocking.hpp handles.hpp
-
-bitMap.cpp allocation.inline.hpp
-bitMap.cpp bitMap.inline.hpp
-bitMap.cpp copy.hpp
-bitMap.cpp os_<os_family>.inline.hpp
-
-bitMap.hpp allocation.hpp
-bitMap.hpp top.hpp
-
-bitMap.inline.hpp atomic.hpp
-bitMap.inline.hpp bitMap.hpp
-
-blockOffsetTable.cpp blockOffsetTable.inline.hpp
-blockOffsetTable.cpp collectedHeap.inline.hpp
-blockOffsetTable.cpp iterator.hpp
-blockOffsetTable.cpp java.hpp
-blockOffsetTable.cpp oop.inline.hpp
-blockOffsetTable.cpp space.inline.hpp
-blockOffsetTable.cpp universe.hpp
-
-blockOffsetTable.hpp globalDefinitions.hpp
-blockOffsetTable.hpp memRegion.hpp
-blockOffsetTable.hpp virtualspace.hpp
-
-blockOffsetTable.inline.hpp blockOffsetTable.hpp
-blockOffsetTable.inline.hpp safepoint.hpp
-blockOffsetTable.inline.hpp space.hpp
-
-bytecode.cpp bytecode.hpp
-bytecode.cpp constantPoolOop.hpp
-bytecode.cpp fieldType.hpp
-bytecode.cpp handles.inline.hpp
-bytecode.cpp linkResolver.hpp
-bytecode.cpp oop.inline.hpp
-bytecode.cpp safepoint.hpp
-bytecode.cpp signature.hpp
-
-bytecode.hpp allocation.hpp
-bytecode.hpp bytecodes.hpp
-bytecode.hpp bytes_<arch>.hpp
-bytecode.hpp methodOop.hpp
-
-bytecodeHistogram.cpp bytecodeHistogram.hpp
-bytecodeHistogram.cpp growableArray.hpp
-bytecodeHistogram.cpp os.hpp
-bytecodeHistogram.cpp resourceArea.hpp
-
-bytecodeHistogram.hpp allocation.hpp
-bytecodeHistogram.hpp bytecodes.hpp
-
-bytecodeInterpreter.cpp no_precompiled_headers
-bytecodeInterpreter.cpp bytecodeHistogram.hpp
-bytecodeInterpreter.cpp bytecodeInterpreter.hpp
-bytecodeInterpreter.cpp bytecodeInterpreter.inline.hpp
-bytecodeInterpreter.cpp cardTableModRefBS.hpp
-bytecodeInterpreter.cpp collectedHeap.hpp
-bytecodeInterpreter.cpp exceptions.hpp
-bytecodeInterpreter.cpp frame.inline.hpp
-bytecodeInterpreter.cpp handles.inline.hpp
-bytecodeInterpreter.cpp interfaceSupport.hpp
-bytecodeInterpreter.cpp interpreterRuntime.hpp
-bytecodeInterpreter.cpp interpreter.hpp
-bytecodeInterpreter.cpp jvmtiExport.hpp
-bytecodeInterpreter.cpp objArrayKlass.hpp
-bytecodeInterpreter.cpp oop.inline.hpp
-bytecodeInterpreter.cpp orderAccess_<os_arch>.inline.hpp
-bytecodeInterpreter.cpp resourceArea.hpp
-bytecodeInterpreter.cpp sharedRuntime.hpp
-bytecodeInterpreter.cpp threadCritical.hpp
-bytecodeInterpreter.cpp vmSymbols.hpp
-
-bytecodeInterpreter_<arch>.cpp assembler.hpp
-bytecodeInterpreter_<arch>.cpp bytecodeInterpreter.hpp
-bytecodeInterpreter_<arch>.cpp bytecodeInterpreter.inline.hpp
-bytecodeInterpreter_<arch>.cpp debug.hpp
-bytecodeInterpreter_<arch>.cpp deoptimization.hpp
-bytecodeInterpreter_<arch>.cpp frame.inline.hpp
-bytecodeInterpreter_<arch>.cpp interp_masm_<arch_model>.hpp
-bytecodeInterpreter_<arch>.cpp interpreterRuntime.hpp
-bytecodeInterpreter_<arch>.cpp interpreter.hpp
-bytecodeInterpreter_<arch>.cpp jvmtiExport.hpp
-bytecodeInterpreter_<arch>.cpp jvmtiThreadState.hpp
-bytecodeInterpreter_<arch>.cpp methodDataOop.hpp
-bytecodeInterpreter_<arch>.cpp methodOop.hpp
-bytecodeInterpreter_<arch>.cpp oop.inline.hpp
-bytecodeInterpreter_<arch>.cpp sharedRuntime.hpp
-bytecodeInterpreter_<arch>.cpp stubRoutines.hpp
-bytecodeInterpreter_<arch>.cpp synchronizer.hpp
-bytecodeInterpreter_<arch>.cpp vframeArray.hpp
-
-bytecodeInterpreterWithChecks.cpp bytecodeInterpreter.cpp
-
-bytecodeInterpreter.hpp allocation.hpp
-bytecodeInterpreter.hpp basicLock.hpp
-bytecodeInterpreter.hpp bytes_<arch>.hpp
-bytecodeInterpreter.hpp frame.hpp
-bytecodeInterpreter.hpp globalDefinitions.hpp
-bytecodeInterpreter.hpp globals.hpp
-bytecodeInterpreter.hpp methodDataOop.hpp
-bytecodeInterpreter.hpp methodOop.hpp
-
-bytecodeInterpreter.inline.hpp bytecodeInterpreter.hpp
-bytecodeInterpreter.inline.hpp stubRoutines.hpp
-
-bytecodeInterpreter_<arch>.hpp generate_platform_dependent_include
-
-bytecodeInterpreter_<arch>.inline.hpp generate_platform_dependent_include
-
-bytecodeStream.cpp bytecodeStream.hpp
-bytecodeStream.cpp bytecodes.hpp
-
-bytecodeStream.hpp allocation.hpp
-bytecodeStream.hpp bytecode.hpp
-bytecodeStream.hpp bytes_<arch>.hpp
-bytecodeStream.hpp methodOop.hpp
-
-bytecodeTracer.cpp bytecodeHistogram.hpp
-bytecodeTracer.cpp bytecodeTracer.hpp
-bytecodeTracer.cpp bytecodes.hpp
-bytecodeTracer.cpp interpreter.hpp
-bytecodeTracer.cpp interpreterRuntime.hpp
-bytecodeTracer.cpp methodDataOop.hpp
-bytecodeTracer.cpp methodOop.hpp
-bytecodeTracer.cpp mutexLocker.hpp
-bytecodeTracer.cpp resourceArea.hpp
-bytecodeTracer.cpp timer.hpp
-
-bytecodeTracer.hpp allocation.hpp
-
-bytecodes.cpp bytecodes.hpp
-bytecodes.cpp bytes_<arch>.hpp
-bytecodes.cpp methodOop.hpp
-bytecodes.cpp resourceArea.hpp
-
-bytecodes.hpp allocation.hpp
-bytecodes.hpp top.hpp
-
-bytecodes_<arch>.cpp bytecodes.hpp
-
-bytecodes_<arch>.hpp generate_platform_dependent_include
-
-bytes_<arch>.hpp allocation.hpp
-
-bytes_<os_arch>.inline.hpp generate_platform_dependent_include
-
-cardTableModRefBS.cpp allocation.inline.hpp
-cardTableModRefBS.cpp cardTableModRefBS.hpp
-cardTableModRefBS.cpp cardTableRS.hpp
-cardTableModRefBS.cpp java.hpp
-cardTableModRefBS.cpp mutexLocker.hpp
-cardTableModRefBS.cpp sharedHeap.hpp
-cardTableModRefBS.cpp space.hpp
-cardTableModRefBS.cpp space.inline.hpp
-cardTableModRefBS.cpp universe.hpp
-cardTableModRefBS.cpp virtualspace.hpp
-
-cardTableModRefBS.hpp modRefBarrierSet.hpp
-cardTableModRefBS.hpp oop.hpp
-cardTableModRefBS.hpp oop.inline2.hpp
-
-cardTableRS.cpp allocation.inline.hpp
-cardTableRS.cpp cardTableRS.hpp
-cardTableRS.cpp genCollectedHeap.hpp
-cardTableRS.cpp generation.hpp
-cardTableRS.cpp java.hpp
-cardTableRS.cpp oop.inline.hpp
-cardTableRS.cpp os.hpp
-cardTableRS.cpp space.hpp
-
-cardTableRS.hpp cardTableModRefBS.hpp
-cardTableRS.hpp genRemSet.hpp
-cardTableRS.hpp memRegion.hpp
-
-ciArray.cpp ciArray.hpp
-ciArray.cpp ciKlass.hpp
-ciArray.cpp ciUtilities.hpp
-
-ciArray.hpp arrayOop.hpp
-ciArray.hpp ciObject.hpp
-ciArray.hpp objArrayOop.hpp
-ciArray.hpp typeArrayOop.hpp
-
-ciArrayKlass.cpp ciArrayKlass.hpp
-ciArrayKlass.cpp ciObjArrayKlass.hpp
-ciArrayKlass.cpp ciTypeArrayKlass.hpp
-ciArrayKlass.cpp ciUtilities.hpp
-
-ciArrayKlass.hpp ciKlass.hpp
-
-ciArrayKlassKlass.hpp ciKlassKlass.hpp
-
-ciCallProfile.hpp ciClassList.hpp
-
-ciCallSite.cpp ciCallSite.hpp
-ciCallSite.cpp ciUtilities.hpp
-
-ciCallSite.hpp ciInstance.hpp
-
-ciConstant.cpp allocation.hpp
-ciConstant.cpp allocation.inline.hpp
-ciConstant.cpp ciConstant.hpp
-ciConstant.cpp ciUtilities.hpp
-
-ciConstant.hpp ciClassList.hpp
-ciConstant.hpp ciNullObject.hpp
-
-ciConstantPoolCache.cpp allocation.hpp
-ciConstantPoolCache.cpp allocation.inline.hpp
-ciConstantPoolCache.cpp ciConstantPoolCache.hpp
-ciConstantPoolCache.cpp ciUtilities.hpp
-
-ciConstantPoolCache.hpp growableArray.hpp
-ciConstantPoolCache.hpp resourceArea.hpp
-
-ciCPCache.cpp cpCacheOop.hpp
-ciCPCache.cpp ciCPCache.hpp
-ciCPCache.cpp ciUtilities.hpp
-
-ciCPCache.hpp ciClassList.hpp
-ciCPCache.hpp ciObject.hpp
-ciCPCache.hpp cpCacheOop.hpp
-
-ciEnv.cpp allocation.inline.hpp
-ciEnv.cpp ciConstant.hpp
-ciEnv.cpp ciEnv.hpp
-ciEnv.cpp ciField.hpp
-ciEnv.cpp ciInstance.hpp
-ciEnv.cpp ciInstanceKlass.hpp
-ciEnv.cpp ciInstanceKlassKlass.hpp
-ciEnv.cpp ciMethod.hpp
-ciEnv.cpp ciNullObject.hpp
-ciEnv.cpp ciObjArrayKlassKlass.hpp
-ciEnv.cpp ciTypeArrayKlassKlass.hpp
-ciEnv.cpp ciUtilities.hpp
-ciEnv.cpp collectedHeap.inline.hpp
-ciEnv.cpp compileBroker.hpp
-ciEnv.cpp compileLog.hpp
-ciEnv.cpp compilerOracle.hpp
-ciEnv.cpp dtrace.hpp
-ciEnv.cpp init.hpp
-ciEnv.cpp jvmtiExport.hpp
-ciEnv.cpp linkResolver.hpp
-ciEnv.cpp methodDataOop.hpp
-ciEnv.cpp objArrayKlass.hpp
-ciEnv.cpp oop.inline.hpp
-ciEnv.cpp oop.inline2.hpp
-ciEnv.cpp oopFactory.hpp
-ciEnv.cpp reflection.hpp
-ciEnv.cpp scopeDesc.hpp
-ciEnv.cpp sharedRuntime.hpp
-ciEnv.cpp systemDictionary.hpp
-ciEnv.cpp universe.inline.hpp
-ciEnv.cpp vmSymbols.hpp
-
-ciEnv.hpp ciClassList.hpp
-ciEnv.hpp ciObjectFactory.hpp
-ciEnv.hpp debugInfoRec.hpp
-ciEnv.hpp dependencies.hpp
-ciEnv.hpp exceptionHandlerTable.hpp
-ciEnv.hpp oopMap.hpp
-ciEnv.hpp systemDictionary.hpp
-ciEnv.hpp thread.hpp
-
-ciExceptionHandler.cpp ciExceptionHandler.hpp
-ciExceptionHandler.cpp ciUtilities.hpp
-
-ciExceptionHandler.hpp ciClassList.hpp
-ciExceptionHandler.hpp ciInstanceKlass.hpp
-
-ciField.cpp ciField.hpp
-ciField.cpp ciInstanceKlass.hpp
-ciField.cpp ciUtilities.hpp
-ciField.cpp collectedHeap.inline.hpp
-ciField.cpp fieldDescriptor.hpp
-ciField.cpp linkResolver.hpp
-ciField.cpp oop.inline.hpp
-ciField.cpp oop.inline2.hpp
-ciField.cpp systemDictionary.hpp
-ciField.cpp universe.inline.hpp
-
-ciField.hpp ciClassList.hpp
-ciField.hpp ciConstant.hpp
-ciField.hpp ciFlags.hpp
-ciField.hpp ciInstance.hpp
-
-ciFlags.cpp ciFlags.hpp
-
-ciFlags.hpp accessFlags.hpp
-ciFlags.hpp allocation.hpp
-ciFlags.hpp ciClassList.hpp
-ciFlags.hpp jvm.h
-
-ciInstance.cpp ciConstant.hpp
-ciInstance.cpp ciField.hpp
-ciInstance.cpp ciInstance.hpp
-ciInstance.cpp ciInstanceKlass.hpp
-ciInstance.cpp ciUtilities.hpp
-ciInstance.cpp oop.inline.hpp
-ciInstance.cpp systemDictionary.hpp
-
-ciInstance.hpp ciObject.hpp
-ciInstance.hpp instanceOop.hpp
-
-ciInstanceKlass.cpp allocation.hpp
-ciInstanceKlass.cpp allocation.inline.hpp
-ciInstanceKlass.cpp ciField.hpp
-ciInstanceKlass.cpp ciInstance.hpp
-ciInstanceKlass.cpp ciInstanceKlass.hpp
-ciInstanceKlass.cpp ciUtilities.hpp
-ciInstanceKlass.cpp fieldDescriptor.hpp
-ciInstanceKlass.cpp oop.inline.hpp
-ciInstanceKlass.cpp systemDictionary.hpp
-
-ciInstanceKlass.hpp ciConstantPoolCache.hpp
-ciInstanceKlass.hpp ciFlags.hpp
-ciInstanceKlass.hpp ciInstanceKlassKlass.hpp
-ciInstanceKlass.hpp ciKlass.hpp
-ciInstanceKlass.hpp ciSymbol.hpp
-
-ciInstanceKlassKlass.cpp ciInstanceKlassKlass.hpp
-ciInstanceKlassKlass.cpp ciUtilities.hpp
-
-ciInstanceKlassKlass.hpp ciKlassKlass.hpp
-
-ciKlass.cpp ciKlass.hpp
-ciKlass.cpp ciSymbol.hpp
-ciKlass.cpp ciUtilities.hpp
-ciKlass.cpp oop.inline.hpp
-
-ciKlass.hpp ciType.hpp
-ciKlass.hpp klassOop.hpp
-
-ciKlassKlass.cpp ciKlassKlass.hpp
-ciKlassKlass.cpp ciUtilities.hpp
-
-ciKlassKlass.hpp ciKlass.hpp
-ciKlassKlass.hpp ciSymbol.hpp
-
-ciMethod.cpp abstractCompiler.hpp
-ciMethod.cpp allocation.inline.hpp
-ciMethod.cpp bitMap.inline.hpp
-ciMethod.cpp ciCallProfile.hpp
-ciMethod.cpp ciExceptionHandler.hpp
-ciMethod.cpp ciInstanceKlass.hpp
-ciMethod.cpp ciMethod.hpp
-ciMethod.cpp ciMethodBlocks.hpp
-ciMethod.cpp ciMethodData.hpp
-ciMethod.cpp ciMethodKlass.hpp
-ciMethod.cpp ciStreams.hpp
-ciMethod.cpp ciSymbol.hpp
-ciMethod.cpp ciUtilities.hpp
-ciMethod.cpp compilerOracle.hpp
-ciMethod.cpp deoptimization.hpp
-ciMethod.cpp generateOopMap.hpp
-ciMethod.cpp interpreter.hpp
-ciMethod.cpp linkResolver.hpp
-ciMethod.cpp methodLiveness.hpp
-ciMethod.cpp nativeLookup.hpp
-ciMethod.cpp oop.inline.hpp
-ciMethod.cpp oopMapCache.hpp
-ciMethod.cpp resourceArea.hpp
-ciMethod.cpp systemDictionary.hpp
-ciMethod.cpp xmlstream.hpp
-
-ciMethod.hpp bitMap.hpp
-ciMethod.hpp ciFlags.hpp
-ciMethod.hpp ciInstanceKlass.hpp
-ciMethod.hpp ciObject.hpp
-ciMethod.hpp ciSignature.hpp
-ciMethod.hpp methodHandles.hpp
-ciMethod.hpp methodLiveness.hpp
-
-ciMethodBlocks.cpp bytecode.hpp
-ciMethodBlocks.cpp ciMethodBlocks.hpp
-ciMethodBlocks.cpp ciStreams.hpp
-ciMethodBlocks.cpp copy.hpp
-
-ciMethodBlocks.hpp ciMethod.hpp
-ciMethodBlocks.hpp growableArray.hpp
-ciMethodBlocks.hpp resourceArea.hpp
-
-ciMethodData.cpp allocation.inline.hpp
-ciMethodData.cpp ciMethodData.hpp
-ciMethodData.cpp ciUtilities.hpp
-ciMethodData.cpp copy.hpp
-ciMethodData.cpp deoptimization.hpp
-ciMethodData.cpp resourceArea.hpp
-
-ciMethodData.hpp ciClassList.hpp
-ciMethodData.hpp ciKlass.hpp
-ciMethodData.hpp ciObject.hpp
-ciMethodData.hpp ciUtilities.hpp
-ciMethodData.hpp methodDataOop.hpp
-ciMethodData.hpp oop.inline.hpp
-
-ciMethodKlass.cpp ciMethodKlass.hpp
-ciMethodKlass.cpp ciUtilities.hpp
-
-ciMethodKlass.hpp ciKlass.hpp
-ciMethodKlass.hpp ciSymbol.hpp
-
-ciMethodHandle.cpp ciClassList.hpp
-ciMethodHandle.cpp ciInstance.hpp
-ciMethodHandle.cpp ciMethodHandle.hpp
-ciMethodHandle.cpp ciUtilities.hpp
-ciMethodHandle.cpp methodHandles.hpp
-ciMethodHandle.cpp methodHandleWalk.hpp
-
-ciMethodHandle.hpp methodHandles.hpp
-
-ciNullObject.cpp ciNullObject.hpp
-
-ciNullObject.hpp ciClassList.hpp
-ciNullObject.hpp ciObject.hpp
-ciNullObject.hpp ciUtilities.hpp
-
-ciObjArray.hpp ciArray.hpp
-ciObjArray.hpp ciClassList.hpp
-ciObjArray.hpp objArrayOop.hpp
-
-ciObjArray.cpp ciObjArray.hpp
-ciObjArray.cpp ciNullObject.hpp
-ciObjArray.cpp ciUtilities.hpp
-ciObjArray.cpp objArrayOop.hpp
-
-ciObjArray.cpp ciObjArray.hpp
-ciObjArray.cpp ciNullObject.hpp
-ciObjArray.cpp ciUtilities.hpp
-ciObjArray.cpp objArrayOop.hpp
-
-ciObjArrayKlass.cpp ciInstanceKlass.hpp
-ciObjArrayKlass.cpp ciObjArrayKlass.hpp
-ciObjArrayKlass.cpp ciObjArrayKlassKlass.hpp
-ciObjArrayKlass.cpp ciSymbol.hpp
-ciObjArrayKlass.cpp ciUtilities.hpp
-ciObjArrayKlass.cpp objArrayKlass.hpp
-
-ciObjArrayKlass.hpp ciArrayKlass.hpp
-
-ciObjArrayKlassKlass.cpp ciObjArrayKlassKlass.hpp
-ciObjArrayKlassKlass.cpp ciUtilities.hpp
-
-ciObjArrayKlassKlass.hpp ciArrayKlassKlass.hpp
-
-ciObject.cpp ciObject.hpp
-ciObject.cpp ciUtilities.hpp
-ciObject.cpp collectedHeap.inline.hpp
-ciObject.cpp oop.inline2.hpp
-
-ciObject.hpp allocation.hpp
-ciObject.hpp ciClassList.hpp
-ciObject.hpp handles.hpp
-ciObject.hpp jniHandles.hpp
-
-ciObjectFactory.cpp allocation.inline.hpp
-ciObjectFactory.cpp ciCallSite.hpp
-ciObjectFactory.cpp ciCPCache.hpp
-ciObjectFactory.cpp ciInstance.hpp
-ciObjectFactory.cpp ciInstanceKlass.hpp
-ciObjectFactory.cpp ciInstanceKlassKlass.hpp
-ciObjectFactory.cpp ciMethod.hpp
-ciObjectFactory.cpp ciMethodData.hpp
-ciObjectFactory.cpp ciMethodHandle.hpp
-ciObjectFactory.cpp ciMethodKlass.hpp
-ciObjectFactory.cpp ciNullObject.hpp
-ciObjectFactory.cpp ciObjArray.hpp
-ciObjectFactory.cpp ciObjArrayKlass.hpp
-ciObjectFactory.cpp ciObjArrayKlassKlass.hpp
-ciObjectFactory.cpp ciObjectFactory.hpp
-ciObjectFactory.cpp ciSymbol.hpp
-ciObjectFactory.cpp ciSymbolKlass.hpp
-ciObjectFactory.cpp ciTypeArray.hpp
-ciObjectFactory.cpp ciTypeArrayKlass.hpp
-ciObjectFactory.cpp ciTypeArrayKlassKlass.hpp
-ciObjectFactory.cpp ciUtilities.hpp
-ciObjectFactory.cpp collectedHeap.inline.hpp
-ciObjectFactory.cpp fieldType.hpp
-ciObjectFactory.cpp oop.inline.hpp
-ciObjectFactory.cpp oop.inline2.hpp
-ciObjectFactory.cpp systemDictionary.hpp
-
-ciObjectFactory.hpp ciClassList.hpp
-ciObjectFactory.hpp ciObject.hpp
-ciObjectFactory.hpp growableArray.hpp
-
-ciSignature.cpp allocation.inline.hpp
-ciSignature.cpp ciSignature.hpp
-ciSignature.cpp ciUtilities.hpp
-ciSignature.cpp oop.inline.hpp
-ciSignature.cpp signature.hpp
-
-ciSignature.hpp ciClassList.hpp
-ciSignature.hpp ciSymbol.hpp
-ciSignature.hpp globalDefinitions.hpp
-ciSignature.hpp growableArray.hpp
-
-ciStreams.cpp ciCallSite.hpp
-ciStreams.cpp ciConstant.hpp
-ciStreams.cpp ciCPCache.hpp
-ciStreams.cpp ciField.hpp
-ciStreams.cpp ciStreams.hpp
-ciStreams.cpp ciUtilities.hpp
-
-ciStreams.hpp bytecode.hpp
-ciStreams.hpp ciClassList.hpp
-ciStreams.hpp ciExceptionHandler.hpp
-ciStreams.hpp ciInstanceKlass.hpp
-ciStreams.hpp ciMethod.hpp
-
-ciSymbol.cpp ciSymbol.hpp
-ciSymbol.cpp ciUtilities.hpp
-ciSymbol.cpp oopFactory.hpp
-
-ciSymbol.hpp ciObject.hpp
-ciSymbol.hpp ciObjectFactory.hpp
-ciSymbol.hpp symbolOop.hpp
-ciSymbol.hpp vmSymbols.hpp
-
-ciSymbolKlass.cpp ciSymbolKlass.hpp
-ciSymbolKlass.cpp ciUtilities.hpp
-
-ciSymbolKlass.hpp ciKlass.hpp
-ciSymbolKlass.hpp ciSymbol.hpp
-
-ciType.cpp ciType.hpp
-ciType.cpp ciUtilities.hpp
-ciType.cpp oop.inline.hpp
-ciType.cpp systemDictionary.hpp
-
-ciType.hpp ciObject.hpp
-ciType.hpp klassOop.hpp
-
-ciTypeArray.cpp ciTypeArray.hpp
-ciTypeArray.cpp ciUtilities.hpp
-
-ciTypeArray.hpp ciArray.hpp
-ciTypeArray.hpp ciClassList.hpp
-ciTypeArray.hpp typeArrayOop.hpp
-
-ciTypeArrayKlass.cpp ciTypeArrayKlass.hpp
-ciTypeArrayKlass.cpp ciUtilities.hpp
-
-ciTypeArrayKlass.hpp ciArrayKlass.hpp
-
-ciTypeArrayKlassKlass.cpp ciTypeArrayKlassKlass.hpp
-ciTypeArrayKlassKlass.cpp ciUtilities.hpp
-
-ciTypeArrayKlassKlass.hpp ciArrayKlassKlass.hpp
-
-ciUtilities.cpp ciUtilities.hpp
-
-ciUtilities.hpp ciEnv.hpp
-ciUtilities.hpp interfaceSupport.hpp
-
-classFileError.cpp classFileParser.hpp
-classFileError.cpp stackMapTable.hpp
-classFileError.cpp verifier.hpp
-
-classFileParser.cpp allocation.hpp
-classFileParser.cpp classFileParser.hpp
-classFileParser.cpp classLoader.hpp
-classFileParser.cpp classLoadingService.hpp
-classFileParser.cpp constantPoolOop.hpp
-classFileParser.cpp gcLocker.hpp
-classFileParser.cpp instanceKlass.hpp
-classFileParser.cpp javaCalls.hpp
-classFileParser.cpp javaClasses.hpp
-classFileParser.cpp jvmtiExport.hpp
-classFileParser.cpp klass.inline.hpp
-classFileParser.cpp klassOop.hpp
-classFileParser.cpp klassVtable.hpp
-classFileParser.cpp methodOop.hpp
-classFileParser.cpp oopFactory.hpp
-classFileParser.cpp perfData.hpp
-classFileParser.cpp reflection.hpp
-classFileParser.cpp signature.hpp
-classFileParser.cpp symbolOop.hpp
-classFileParser.cpp symbolTable.hpp
-classFileParser.cpp systemDictionary.hpp
-classFileParser.cpp threadService.hpp
-classFileParser.cpp timer.hpp
-classFileParser.cpp universe.inline.hpp
-classFileParser.cpp verificationType.hpp
-classFileParser.cpp verifier.hpp
-classFileParser.cpp vmSymbols.hpp
-
-classFileParser.hpp accessFlags.hpp
-classFileParser.hpp classFileStream.hpp
-classFileParser.hpp handles.inline.hpp
-classFileParser.hpp oop.inline.hpp
-classFileParser.hpp resourceArea.hpp
-classFileParser.hpp typeArrayOop.hpp
-
-classFileStream.cpp classFileStream.hpp
-classFileStream.cpp vmSymbols.hpp
-
-classFileStream.hpp bytes_<arch>.hpp
-classFileStream.hpp top.hpp
-
-classLoader.cpp allocation.inline.hpp
-classLoader.cpp arguments.hpp
-classLoader.cpp bytecodeStream.hpp
-classLoader.cpp classFileParser.hpp
-classLoader.cpp classFileStream.hpp
-classLoader.cpp classLoader.hpp
-classLoader.cpp collectedHeap.inline.hpp
-classLoader.cpp compilationPolicy.hpp
-classLoader.cpp compileBroker.hpp
-classLoader.cpp constantPoolKlass.hpp
-classLoader.cpp events.hpp
-classLoader.cpp fprofiler.hpp
-classLoader.cpp generation.hpp
-classLoader.cpp handles.hpp
-classLoader.cpp handles.inline.hpp
-classLoader.cpp hashtable.hpp
-classLoader.cpp hashtable.inline.hpp
-classLoader.cpp hpi.hpp
-classLoader.cpp hpi_<os_family>.hpp
-classLoader.cpp init.hpp
-classLoader.cpp instanceKlass.hpp
-classLoader.cpp instanceRefKlass.hpp
-classLoader.cpp interfaceSupport.hpp
-classLoader.cpp java.hpp
-classLoader.cpp javaCalls.hpp
-classLoader.cpp javaClasses.hpp
-classLoader.cpp jvm_misc.hpp
-classLoader.cpp management.hpp
-classLoader.cpp oop.inline.hpp
-classLoader.cpp oopFactory.hpp
-classLoader.cpp oopMapCache.hpp
-classLoader.cpp os_<os_family>.inline.hpp
-classLoader.cpp symbolOop.hpp
-classLoader.cpp systemDictionary.hpp
-classLoader.cpp threadCritical.hpp
-classLoader.cpp threadService.hpp
-classLoader.cpp timer.hpp
-classLoader.cpp universe.inline.hpp
-classLoader.cpp vmSymbols.hpp
-
-classLoader.hpp classFileParser.hpp
-classLoader.hpp perfData.hpp
-
-classLoadingService.cpp allocation.hpp
-classLoadingService.cpp classLoadingService.hpp
-classLoadingService.cpp dtrace.hpp
-classLoadingService.cpp memoryService.hpp
-classLoadingService.cpp mutexLocker.hpp
-classLoadingService.cpp oop.inline.hpp
-classLoadingService.cpp systemDictionary.hpp
-classLoadingService.cpp universe.hpp
-
-classLoadingService.hpp growableArray.hpp
-classLoadingService.hpp handles.hpp
-classLoadingService.hpp perfData.hpp
-
-classify.cpp classify.hpp
-classify.cpp systemDictionary.hpp
-
-classify.hpp oop.inline.hpp
-
-codeBlob.cpp allocation.inline.hpp
-codeBlob.cpp bytecode.hpp
-codeBlob.cpp codeBlob.hpp
-codeBlob.cpp codeCache.hpp
-codeBlob.cpp disassembler.hpp
-codeBlob.cpp forte.hpp
-codeBlob.cpp handles.inline.hpp
-codeBlob.cpp heap.hpp
-codeBlob.cpp interfaceSupport.hpp
-codeBlob.cpp memoryService.hpp
-codeBlob.cpp mutexLocker.hpp
-codeBlob.cpp nativeInst_<arch>.hpp
-codeBlob.cpp oop.inline.hpp
-codeBlob.cpp relocInfo.hpp
-codeBlob.cpp safepoint.hpp
-codeBlob.cpp sharedRuntime.hpp
-codeBlob.cpp vframe.hpp
-
-codeBlob.hpp codeBuffer.hpp
-codeBlob.hpp frame.hpp
-codeBlob.hpp handles.hpp
-codeBlob.hpp oopMap.hpp
-
-codeBuffer.cpp codeBuffer.hpp
-codeBuffer.cpp copy.hpp
-codeBuffer.cpp disassembler.hpp
-
-codeBuffer.hpp assembler.hpp
-codeBuffer.hpp oopRecorder.hpp
-codeBuffer.hpp relocInfo.hpp
-
-codeBuffer_<arch>.hpp generate_platform_dependent_include
-
-codeCache.cpp allocation.inline.hpp
-codeCache.cpp codeBlob.hpp
-codeCache.cpp codeCache.hpp
-codeCache.cpp dependencies.hpp
-codeCache.cpp gcLocker.hpp
-codeCache.cpp handles.inline.hpp
-codeCache.cpp icache.hpp
-codeCache.cpp iterator.hpp
-codeCache.cpp java.hpp
-codeCache.cpp markSweep.hpp
-codeCache.cpp memoryService.hpp
-codeCache.cpp methodOop.hpp
-codeCache.cpp mutexLocker.hpp
-codeCache.cpp nmethod.hpp
-codeCache.cpp objArrayOop.hpp
-codeCache.cpp oop.inline.hpp
-codeCache.cpp pcDesc.hpp
-codeCache.cpp resourceArea.hpp
-codeCache.cpp xmlstream.hpp
-
-codeCache.hpp allocation.hpp
-codeCache.hpp codeBlob.hpp
-codeCache.hpp heap.hpp
-codeCache.hpp instanceKlass.hpp
-codeCache.hpp oopsHierarchy.hpp
-
-collectorPolicy.cpp adaptiveSizePolicy.hpp
-collectorPolicy.cpp arguments.hpp
-collectorPolicy.cpp cardTableRS.hpp
-collectorPolicy.cpp collectorPolicy.hpp
-collectorPolicy.cpp gcLocker.inline.hpp
-collectorPolicy.cpp genCollectedHeap.hpp
-collectorPolicy.cpp gcPolicyCounters.hpp
-collectorPolicy.cpp generationSpec.hpp
-collectorPolicy.cpp globals_extension.hpp
-collectorPolicy.cpp handles.inline.hpp
-collectorPolicy.cpp java.hpp
-collectorPolicy.cpp space.hpp
-collectorPolicy.cpp thread_<os_family>.inline.hpp
-collectorPolicy.cpp universe.hpp
-collectorPolicy.cpp vmGCOperations.hpp
-collectorPolicy.cpp vmThread.hpp
-
-collectorPolicy.hpp barrierSet.hpp
-collectorPolicy.hpp genRemSet.hpp
-collectorPolicy.hpp permGen.hpp
-
-compactPermGen.hpp generation.hpp
-compactPermGen.hpp permGen.hpp
-
-compactingPermGenGen.cpp compactingPermGenGen.hpp
-compactingPermGenGen.cpp filemap.hpp
-compactingPermGenGen.cpp genOopClosures.inline.hpp
-compactingPermGenGen.cpp generation.inline.hpp
-compactingPermGenGen.cpp generationSpec.hpp
-compactingPermGenGen.cpp java.hpp
-compactingPermGenGen.cpp oop.inline.hpp
-compactingPermGenGen.cpp symbolTable.hpp
-compactingPermGenGen.cpp systemDictionary.hpp
-
-compactingPermGenGen.hpp generationCounters.hpp
-compactingPermGenGen.hpp space.hpp
-
-compilationPolicy.cpp compilationPolicy.hpp
-compilationPolicy.cpp compiledIC.hpp
-compilationPolicy.cpp compilerOracle.hpp
-compilationPolicy.cpp events.hpp
-compilationPolicy.cpp frame.hpp
-compilationPolicy.cpp globalDefinitions.hpp
-compilationPolicy.cpp handles.inline.hpp
-compilationPolicy.cpp interpreter.hpp
-compilationPolicy.cpp methodDataOop.hpp
-compilationPolicy.cpp methodOop.hpp
-compilationPolicy.cpp nativeLookup.hpp
-compilationPolicy.cpp nmethod.hpp
-compilationPolicy.cpp oop.inline.hpp
-compilationPolicy.cpp rframe.hpp
-compilationPolicy.cpp scopeDesc.hpp
-compilationPolicy.cpp simpleThresholdPolicy.hpp
-compilationPolicy.cpp stubRoutines.hpp
-compilationPolicy.cpp thread.hpp
-compilationPolicy.cpp timer.hpp
-compilationPolicy.cpp vframe.hpp
-compilationPolicy.cpp vm_operations.hpp
-
-compilationPolicy.hpp allocation.hpp
-compilationPolicy.hpp compileBroker.hpp
-compilationPolicy.hpp growableArray.hpp
-compilationPolicy.hpp nmethod.hpp
-compilationPolicy.hpp vm_operations.hpp
-
-compileBroker.cpp allocation.inline.hpp
-compileBroker.cpp arguments.hpp
-compileBroker.cpp codeCache.hpp
-compileBroker.cpp compilationPolicy.hpp
-compileBroker.cpp compileBroker.hpp
-compileBroker.cpp compileLog.hpp
-compileBroker.cpp compilerOracle.hpp
-compileBroker.cpp dtrace.hpp
-compileBroker.cpp init.hpp
-compileBroker.cpp interfaceSupport.hpp
-compileBroker.cpp javaCalls.hpp
-compileBroker.cpp linkResolver.hpp
-compileBroker.cpp methodDataOop.hpp
-compileBroker.cpp methodOop.hpp
-compileBroker.cpp nativeLookup.hpp
-compileBroker.cpp oop.inline.hpp
-compileBroker.cpp os.hpp
-compileBroker.cpp sharedRuntime.hpp
-compileBroker.cpp sweeper.hpp
-compileBroker.cpp systemDictionary.hpp
-compileBroker.cpp vmSymbols.hpp
-
-compileBroker.hpp abstractCompiler.hpp
-compileBroker.hpp compilerInterface.hpp
-compileBroker.hpp perfData.hpp
-
-compileLog.cpp allocation.inline.hpp
-compileLog.cpp ciMethod.hpp
-compileLog.cpp compileLog.hpp
-compileLog.cpp methodOop.hpp
-compileLog.cpp mutexLocker.hpp
-compileLog.cpp os.hpp
-
-compileLog.hpp xmlstream.hpp
-
-compiledIC.cpp codeCache.hpp
-compiledIC.cpp compiledIC.hpp
-compiledIC.cpp events.hpp
-compiledIC.cpp icBuffer.hpp
-compiledIC.cpp icache.hpp
-compiledIC.cpp interpreter.hpp
-compiledIC.cpp linkResolver.hpp
-compiledIC.cpp methodOop.hpp
-compiledIC.cpp nmethod.hpp
-compiledIC.cpp oop.inline.hpp
-compiledIC.cpp oopFactory.hpp
-compiledIC.cpp sharedRuntime.hpp
-compiledIC.cpp stubRoutines.hpp
-compiledIC.cpp symbolOop.hpp
-compiledIC.cpp systemDictionary.hpp
-compiledIC.cpp vtableStubs.hpp
-
-compiledIC.hpp compiledICHolderKlass.hpp
-compiledIC.hpp compiledICHolderOop.hpp
-compiledIC.hpp klassOop.hpp
-compiledIC.hpp linkResolver.hpp
-compiledIC.hpp nativeInst_<arch>.hpp
-
-compiledICHolderKlass.cpp collectedHeap.hpp
-compiledICHolderKlass.cpp collectedHeap.inline.hpp
-compiledICHolderKlass.cpp compiledICHolderKlass.hpp
-compiledICHolderKlass.cpp handles.inline.hpp
-compiledICHolderKlass.cpp javaClasses.hpp
-compiledICHolderKlass.cpp markSweep.inline.hpp
-compiledICHolderKlass.cpp oop.inline.hpp
-compiledICHolderKlass.cpp oop.inline2.hpp
-compiledICHolderKlass.cpp permGen.hpp
-compiledICHolderKlass.cpp universe.inline.hpp
-
-compiledICHolderKlass.hpp compiledICHolderOop.hpp
-compiledICHolderKlass.hpp klass.hpp
-compiledICHolderKlass.hpp methodOop.hpp
-
-compiledICHolderOop.cpp compiledICHolderOop.hpp
-
-compiledICHolderOop.hpp oop.hpp
-
-compilerInterface.hpp ciArray.hpp
-compilerInterface.hpp ciArrayKlass.hpp
-compilerInterface.hpp ciArrayKlassKlass.hpp
-compilerInterface.hpp ciCallProfile.hpp
-compilerInterface.hpp ciConstant.hpp
-compilerInterface.hpp ciEnv.hpp
-compilerInterface.hpp ciExceptionHandler.hpp
-compilerInterface.hpp ciField.hpp
-compilerInterface.hpp ciFlags.hpp
-compilerInterface.hpp ciInstance.hpp
-compilerInterface.hpp ciInstanceKlass.hpp
-compilerInterface.hpp ciInstanceKlassKlass.hpp
-compilerInterface.hpp ciKlass.hpp
-compilerInterface.hpp ciKlassKlass.hpp
-compilerInterface.hpp ciMethod.hpp
-compilerInterface.hpp ciMethodKlass.hpp
-compilerInterface.hpp ciNullObject.hpp
-compilerInterface.hpp ciObjArray.hpp
-compilerInterface.hpp ciObjArrayKlass.hpp
-compilerInterface.hpp ciObjArrayKlassKlass.hpp
-compilerInterface.hpp ciObject.hpp
-compilerInterface.hpp ciSignature.hpp
-compilerInterface.hpp ciStreams.hpp
-compilerInterface.hpp ciSymbol.hpp
-compilerInterface.hpp ciSymbolKlass.hpp
-compilerInterface.hpp ciTypeArray.hpp
-compilerInterface.hpp ciTypeArrayKlass.hpp
-compilerInterface.hpp ciTypeArrayKlassKlass.hpp
-
-compilerOracle.cpp allocation.inline.hpp
-compilerOracle.cpp compilerOracle.hpp
-compilerOracle.cpp handles.inline.hpp
-compilerOracle.cpp jniHandles.hpp
-compilerOracle.cpp klass.hpp
-compilerOracle.cpp methodOop.hpp
-compilerOracle.cpp oop.inline.hpp
-compilerOracle.cpp oopFactory.hpp
-compilerOracle.cpp resourceArea.hpp
-compilerOracle.cpp symbolOop.hpp
-
-compilerOracle.hpp allocation.hpp
-compilerOracle.hpp oopsHierarchy.hpp
-
-compressedStream.cpp compressedStream.hpp
-compressedStream.cpp ostream.hpp
-
-compressedStream.hpp allocation.hpp
-
-constMethodKlass.cpp constMethodKlass.hpp
-constMethodKlass.cpp constMethodOop.hpp
-constMethodKlass.cpp gcLocker.hpp
-constMethodKlass.cpp handles.inline.hpp
-constMethodKlass.cpp interpreter.hpp
-constMethodKlass.cpp markSweep.inline.hpp
-constMethodKlass.cpp oop.inline.hpp
-constMethodKlass.cpp oop.inline2.hpp
-constMethodKlass.cpp resourceArea.hpp
-
-constMethodKlass.hpp oop.hpp
-constMethodKlass.hpp klass.hpp
-constMethodKlass.hpp orderAccess.hpp
-
-constMethodOop.cpp constMethodOop.hpp
-constMethodOop.cpp methodOop.hpp
-
-constMethodOop.hpp oop.hpp
-constMethodOop.hpp typeArrayOop.hpp
-
-constantPoolKlass.cpp collectedHeap.inline.hpp
-constantPoolKlass.cpp constantPoolKlass.hpp
-constantPoolKlass.cpp constantPoolOop.hpp
-constantPoolKlass.cpp handles.inline.hpp
-constantPoolKlass.cpp javaClasses.hpp
-constantPoolKlass.cpp markSweep.inline.hpp
-constantPoolKlass.cpp oop.inline.hpp
-constantPoolKlass.cpp oop.inline2.hpp
-constantPoolKlass.cpp oopFactory.hpp
-constantPoolKlass.cpp permGen.hpp
-constantPoolKlass.cpp symbolOop.hpp
-constantPoolKlass.cpp thread_<os_family>.inline.hpp
-constantPoolKlass.cpp universe.inline.hpp
-
-constantPoolKlass.hpp arrayKlass.hpp
-constantPoolKlass.hpp instanceKlass.hpp
-
-constantPoolOop.cpp constantPoolOop.hpp
-constantPoolOop.cpp fieldType.hpp
-constantPoolOop.cpp init.hpp
-constantPoolOop.cpp instanceKlass.hpp
-constantPoolOop.cpp javaClasses.hpp
-constantPoolOop.cpp linkResolver.hpp
-constantPoolOop.cpp objArrayKlass.hpp
-constantPoolOop.cpp oop.inline.hpp
-constantPoolOop.cpp oopFactory.hpp
-constantPoolOop.cpp signature.hpp
-constantPoolOop.cpp symbolTable.hpp
-constantPoolOop.cpp systemDictionary.hpp
-constantPoolOop.cpp universe.inline.hpp
-constantPoolOop.cpp vframe.hpp
-constantPoolOop.cpp vmSymbols.hpp
-
-constantPoolOop.hpp arrayOop.hpp
-constantPoolOop.hpp bytes_<arch>.hpp
-constantPoolOop.hpp constantTag.hpp
-constantPoolOop.hpp cpCacheOop.hpp
-constantPoolOop.hpp typeArrayOop.hpp
-
-constantTag.cpp constantTag.hpp
-
-constantTag.hpp jvm.h
-constantTag.hpp top.hpp
-
-copy.cpp copy.hpp
-copy.cpp sharedRuntime.hpp
-
-copy.hpp stubRoutines.hpp
-
-copy_<arch>.hpp generate_platform_dependent_include
-
-copy_<os_arch>.inline.hpp generate_platform_dependent_include
-
-cpCacheKlass.cpp bytecodes.hpp
-cpCacheKlass.cpp collectedHeap.hpp
-cpCacheKlass.cpp constantPoolOop.hpp
-cpCacheKlass.cpp cpCacheKlass.hpp
-cpCacheKlass.cpp genOopClosures.inline.hpp
-cpCacheKlass.cpp handles.inline.hpp
-cpCacheKlass.cpp javaClasses.hpp
-cpCacheKlass.cpp markSweep.inline.hpp
-cpCacheKlass.cpp oop.inline.hpp
-cpCacheKlass.cpp permGen.hpp
-
-cpCacheKlass.hpp arrayKlass.hpp
-cpCacheKlass.hpp cpCacheOop.hpp
-cpCacheKlass.hpp instanceKlass.hpp
-
-cpCacheOop.cpp cpCacheOop.hpp
-cpCacheOop.cpp handles.inline.hpp
-cpCacheOop.cpp interpreter.hpp
-cpCacheOop.cpp jvmtiRedefineClassesTrace.hpp
-cpCacheOop.cpp markSweep.inline.hpp
-cpCacheOop.cpp objArrayOop.hpp
-cpCacheOop.cpp oop.inline.hpp
-cpCacheOop.cpp rewriter.hpp
-cpCacheOop.cpp universe.inline.hpp
-
-cpCacheOop.hpp allocation.hpp
-cpCacheOop.hpp array.hpp
-cpCacheOop.hpp arrayOop.hpp
-cpCacheOop.hpp bytecodes.hpp
-
-cppInterpreter.cpp bytecodeInterpreter.hpp
-cppInterpreter.cpp interpreter.hpp
-cppInterpreter.cpp interpreterGenerator.hpp
-cppInterpreter.cpp interpreterRuntime.hpp
-
-cppInterpreter.hpp abstractInterpreter.hpp
-
-cppInterpreter_<arch>.cpp arguments.hpp
-cppInterpreter_<arch>.cpp arrayOop.hpp
-cppInterpreter_<arch>.cpp assembler.hpp
-cppInterpreter_<arch>.cpp bytecodeHistogram.hpp
-cppInterpreter_<arch>.cpp debug.hpp
-cppInterpreter_<arch>.cpp deoptimization.hpp
-cppInterpreter_<arch>.cpp frame.inline.hpp
-cppInterpreter_<arch>.cpp interfaceSupport.hpp
-cppInterpreter_<arch>.cpp interpreterRuntime.hpp
-cppInterpreter_<arch>.cpp interpreter.hpp
-cppInterpreter_<arch>.cpp interpreterGenerator.hpp
-cppInterpreter_<arch>.cpp jvmtiExport.hpp
-cppInterpreter_<arch>.cpp jvmtiThreadState.hpp
-cppInterpreter_<arch>.cpp methodDataOop.hpp
-cppInterpreter_<arch>.cpp methodOop.hpp
-cppInterpreter_<arch>.cpp oop.inline.hpp
-cppInterpreter_<arch>.cpp sharedRuntime.hpp
-cppInterpreter_<arch>.cpp stubRoutines.hpp
-cppInterpreter_<arch>.cpp synchronizer.hpp
-cppInterpreter_<arch>.cpp cppInterpreter.hpp
-cppInterpreter_<arch>.cpp timer.hpp
-cppInterpreter_<arch>.cpp vframeArray.hpp
-
-cppInterpreter_<arch>.hpp generate_platform_dependent_include
-
-cppInterpreterGenerator_<arch>.hpp generate_platform_dependent_include
-
-debug.cpp arguments.hpp
-debug.cpp bytecodeHistogram.hpp
-debug.cpp codeCache.hpp
-debug.cpp collectedHeap.hpp
-debug.cpp compileBroker.hpp
-debug.cpp defaultStream.hpp
-debug.cpp disassembler.hpp
-debug.cpp events.hpp
-debug.cpp frame.hpp
-debug.cpp heapDumper.hpp
-debug.cpp icBuffer.hpp
-debug.cpp interpreter.hpp
-debug.cpp java.hpp
-debug.cpp markSweep.hpp
-debug.cpp nmethod.hpp
-debug.cpp oop.inline.hpp
-debug.cpp os_<os_family>.inline.hpp
-debug.cpp privilegedStack.hpp
-debug.cpp resourceArea.hpp
-debug.cpp sharedRuntime.hpp
-debug.cpp stubCodeGenerator.hpp
-debug.cpp stubRoutines.hpp
-debug.cpp systemDictionary.hpp
-debug.cpp thread_<os_family>.inline.hpp
-debug.cpp top.hpp
-debug.cpp universe.hpp
-debug.cpp vframe.hpp
-debug.cpp vmError.hpp
-debug.cpp vtableStubs.hpp
-
-debug.hpp globalDefinitions.hpp
-
-debugInfo.cpp debugInfo.hpp
-debugInfo.cpp debugInfoRec.hpp
-debugInfo.cpp handles.inline.hpp
-debugInfo.cpp nmethod.hpp
-
-debugInfo.hpp compressedStream.hpp
-debugInfo.hpp growableArray.hpp
-debugInfo.hpp location.hpp
-debugInfo.hpp nmethod.hpp
-debugInfo.hpp oopRecorder.hpp
-debugInfo.hpp stackValue.hpp
-
-debugInfoRec.cpp debugInfoRec.hpp
-debugInfoRec.cpp jvmtiExport.hpp
-debugInfoRec.cpp scopeDesc.hpp
-
-debugInfoRec.hpp ciClassList.hpp
-debugInfoRec.hpp ciInstanceKlass.hpp
-debugInfoRec.hpp ciMethod.hpp
-debugInfoRec.hpp debugInfo.hpp
-debugInfoRec.hpp growableArray.hpp
-debugInfoRec.hpp location.hpp
-debugInfoRec.hpp oop.hpp
-debugInfoRec.hpp oopMap.hpp
-debugInfoRec.hpp pcDesc.hpp
-
-debug_<arch>.cpp codeCache.hpp
-debug_<arch>.cpp debug.hpp
-debug_<arch>.cpp frame.hpp
-debug_<arch>.cpp init.hpp
-debug_<arch>.cpp nmethod.hpp
-debug_<arch>.cpp os.hpp
-debug_<arch>.cpp top.hpp
-
-defNewGeneration.cpp collectorCounters.hpp
-defNewGeneration.cpp copy.hpp
-defNewGeneration.cpp defNewGeneration.inline.hpp
-defNewGeneration.cpp gcLocker.inline.hpp
-defNewGeneration.cpp gcPolicyCounters.hpp
-defNewGeneration.cpp genCollectedHeap.hpp
-defNewGeneration.cpp genOopClosures.inline.hpp
-defNewGeneration.cpp generationSpec.hpp
-defNewGeneration.cpp instanceRefKlass.hpp
-defNewGeneration.cpp iterator.hpp
-defNewGeneration.cpp java.hpp
-defNewGeneration.cpp oop.inline.hpp
-defNewGeneration.cpp referencePolicy.hpp
-defNewGeneration.cpp space.inline.hpp
-defNewGeneration.cpp spaceDecorator.hpp
-defNewGeneration.cpp stack.inline.hpp
-defNewGeneration.cpp thread_<os_family>.inline.hpp
-
-defNewGeneration.hpp ageTable.hpp
-defNewGeneration.hpp cSpaceCounters.hpp
-defNewGeneration.hpp generation.inline.hpp
-defNewGeneration.hpp generationCounters.hpp
-defNewGeneration.hpp stack.hpp
-
-defNewGeneration.inline.hpp cardTableRS.hpp
-defNewGeneration.inline.hpp defNewGeneration.hpp
-defNewGeneration.inline.hpp space.hpp
-
-defaultStream.hpp xmlstream.hpp
-
-deoptimization.cpp allocation.inline.hpp
-deoptimization.cpp biasedLocking.hpp
-deoptimization.cpp bytecode.hpp
-deoptimization.cpp compilationPolicy.hpp
-deoptimization.cpp debugInfoRec.hpp
-deoptimization.cpp deoptimization.hpp
-deoptimization.cpp events.hpp
-deoptimization.cpp interfaceSupport.hpp
-deoptimization.cpp interpreter.hpp
-deoptimization.cpp jvmtiThreadState.hpp
-deoptimization.cpp methodOop.hpp
-deoptimization.cpp nmethod.hpp
-deoptimization.cpp oop.inline.hpp
-deoptimization.cpp oopFactory.hpp
-deoptimization.cpp oopMapCache.hpp
-deoptimization.cpp pcDesc.hpp
-deoptimization.cpp resourceArea.hpp
-deoptimization.cpp scopeDesc.hpp
-deoptimization.cpp sharedRuntime.hpp
-deoptimization.cpp signature.hpp
-deoptimization.cpp stubRoutines.hpp
-deoptimization.cpp systemDictionary.hpp
-deoptimization.cpp thread.hpp
-deoptimization.cpp vframe.hpp
-deoptimization.cpp vframeArray.hpp
-deoptimization.cpp vframe_hp.hpp
-deoptimization.cpp vmreg_<arch>.inline.hpp
-deoptimization.cpp xmlstream.hpp
-
-deoptimization.hpp allocation.hpp
-deoptimization.hpp frame.inline.hpp
-
-depChecker_<arch>.cpp depChecker_<arch>.hpp
-depChecker_<arch>.cpp disassembler.hpp
-depChecker_<arch>.cpp hpi.hpp
-
-dependencies.cpp ciArrayKlass.hpp
-dependencies.cpp ciEnv.hpp
-dependencies.cpp ciKlass.hpp
-dependencies.cpp ciMethod.hpp
-dependencies.cpp compileLog.hpp
-dependencies.cpp copy.hpp
-dependencies.cpp dependencies.hpp
-dependencies.cpp handles.inline.hpp
-dependencies.cpp oop.inline.hpp
-
-dependencies.hpp ciKlass.hpp
-dependencies.hpp compressedStream.hpp
-dependencies.hpp growableArray.hpp
-dependencies.hpp nmethod.hpp
-
-dictionary.cpp classLoadingService.hpp
-dictionary.cpp dictionary.hpp
-dictionary.cpp hashtable.inline.hpp
-dictionary.cpp jvmtiRedefineClassesTrace.hpp
-dictionary.cpp oop.inline.hpp
-dictionary.cpp systemDictionary.hpp
-
-dictionary.hpp hashtable.hpp
-dictionary.hpp instanceKlass.hpp
-dictionary.hpp oop.hpp
-dictionary.hpp systemDictionary.hpp
-
-disassembler_<arch>.hpp generate_platform_dependent_include
-
-disassembler.cpp cardTableModRefBS.hpp
-disassembler.cpp codeCache.hpp
-disassembler.cpp collectedHeap.hpp
-disassembler.cpp depChecker_<arch>.hpp
-disassembler.cpp disassembler.hpp
-disassembler.cpp fprofiler.hpp
-disassembler.cpp handles.inline.hpp
-disassembler.cpp hpi.hpp
-disassembler.cpp javaClasses.hpp
-disassembler.cpp stubCodeGenerator.hpp
-disassembler.cpp stubRoutines.hpp
-
-disassembler.hpp globals.hpp
-disassembler.hpp os_<os_family>.inline.hpp
-
-dtraceAttacher.cpp codeCache.hpp
-dtraceAttacher.cpp deoptimization.hpp
-dtraceAttacher.cpp dtraceAttacher.hpp
-dtraceAttacher.cpp resourceArea.hpp
-dtraceAttacher.cpp vmThread.hpp
-dtraceAttacher.cpp vm_operations.hpp
-
-dtraceJSDT.cpp allocation.hpp
-dtraceJSDT.cpp codeBlob.hpp
-dtraceJSDT.cpp dtraceJSDT.hpp
-dtraceJSDT.cpp exceptions.hpp
-dtraceJSDT.cpp globalDefinitions.hpp
-dtraceJSDT.cpp javaClasses.hpp
-dtraceJSDT.cpp jniHandles.hpp
-dtraceJSDT.cpp jvm.h
-dtraceJSDT.cpp os.hpp
-dtraceJSDT.cpp utf8.hpp
-
-dtraceJSDT.hpp nativeInst_<arch>.hpp
-dtraceJSDT.hpp nmethod.hpp
-
-dtraceJSDT_<os_family>.cpp allocation.hpp
-dtraceJSDT_<os_family>.cpp codeBlob.hpp
-dtraceJSDT_<os_family>.cpp dtraceJSDT.hpp
-dtraceJSDT_<os_family>.cpp globalDefinitions.hpp
-dtraceJSDT_<os_family>.cpp javaClasses.hpp
-dtraceJSDT_<os_family>.cpp jniHandles.hpp
-dtraceJSDT_<os_family>.cpp jvm.h
-dtraceJSDT_<os_family>.cpp os.hpp
-dtraceJSDT_<os_family>.cpp signature.hpp
-
-// dump is jck optional, put cpp deps in includeDB_features
-
-events.cpp allocation.inline.hpp
-events.cpp events.hpp
-events.cpp mutexLocker.hpp
-events.cpp osThread.hpp
-events.cpp threadLocalStorage.hpp
-events.cpp thread_<os_family>.inline.hpp
-events.cpp timer.hpp
-
-events.hpp allocation.hpp
-events.hpp top.hpp
-
-evmCompat.cpp debug.hpp
-
-exceptionHandlerTable.cpp allocation.inline.hpp
-exceptionHandlerTable.cpp exceptionHandlerTable.hpp
-exceptionHandlerTable.cpp nmethod.hpp
-
-exceptionHandlerTable.hpp allocation.hpp
-exceptionHandlerTable.hpp methodOop.hpp
-
-exceptions.cpp compileBroker.hpp
-exceptions.cpp events.hpp
-exceptions.cpp exceptions.hpp
-exceptions.cpp init.hpp
-exceptions.cpp java.hpp
-exceptions.cpp javaCalls.hpp
-exceptions.cpp oop.inline.hpp
-exceptions.cpp systemDictionary.hpp
-exceptions.cpp threadCritical.hpp
-exceptions.cpp thread_<os_family>.inline.hpp
-exceptions.cpp vmSymbols.hpp
-
-exceptions.hpp allocation.hpp
-exceptions.hpp oopsHierarchy.hpp
-exceptions.hpp sizes.hpp
-
-fieldDescriptor.cpp fieldDescriptor.hpp
-fieldDescriptor.cpp handles.inline.hpp
-fieldDescriptor.cpp instanceKlass.hpp
-fieldDescriptor.cpp resourceArea.hpp
-fieldDescriptor.cpp signature.hpp
-fieldDescriptor.cpp systemDictionary.hpp
-fieldDescriptor.cpp universe.inline.hpp
-fieldDescriptor.cpp vmSymbols.hpp
-
-fieldDescriptor.hpp accessFlags.hpp
-fieldDescriptor.hpp constantPoolOop.hpp
-fieldDescriptor.hpp constantTag.hpp
-fieldDescriptor.hpp fieldType.hpp
-fieldDescriptor.hpp klassOop.hpp
-fieldDescriptor.hpp oop.inline.hpp
-fieldDescriptor.hpp symbolOop.hpp
-
-fieldType.cpp fieldType.hpp
-fieldType.cpp oop.inline.hpp
-fieldType.cpp oopFactory.hpp
-fieldType.cpp signature.hpp
-fieldType.cpp systemDictionary.hpp
-fieldType.cpp typeArrayKlass.hpp
-
-fieldType.hpp allocation.hpp
-fieldType.hpp symbolOop.hpp
-
-filemap.cpp arguments.hpp
-filemap.cpp classLoader.hpp
-filemap.cpp defaultStream.hpp
-filemap.cpp filemap.hpp
-filemap.cpp hpi_<os_family>.hpp
-filemap.cpp java.hpp
-filemap.cpp os.hpp
-filemap.cpp symbolTable.hpp
-
-filemap.hpp compactingPermGenGen.hpp
-filemap.hpp space.hpp
-
-// forte is jck optional, put cpp deps in includeDB_features
-// fprofiler is jck optional, put cpp deps in includeDB_features
-
-fprofiler.hpp thread_<os_family>.inline.hpp
-fprofiler.hpp timer.hpp
-
-frame.cpp collectedHeap.inline.hpp
-frame.cpp frame.inline.hpp
-frame.cpp handles.inline.hpp
-frame.cpp interpreter.hpp
-frame.cpp javaCalls.hpp
-frame.cpp markOop.hpp
-frame.cpp methodDataOop.hpp
-frame.cpp methodOop.hpp
-frame.cpp monitorChunk.hpp
-frame.cpp nativeInst_<arch>.hpp
-frame.cpp oop.inline.hpp
-frame.cpp oop.inline2.hpp
-frame.cpp oopMapCache.hpp
-frame.cpp resourceArea.hpp
-frame.cpp sharedRuntime.hpp
-frame.cpp signature.hpp
-frame.cpp stubCodeGenerator.hpp
-frame.cpp stubRoutines.hpp
-frame.cpp universe.inline.hpp
-
-frame.hpp assembler.hpp
-frame.hpp basicLock.hpp
-frame.hpp methodOop.hpp
-frame.hpp monitorChunk.hpp
-frame.hpp registerMap.hpp
-frame.hpp top.hpp
-
-frame.inline.hpp bytecodeInterpreter.hpp
-frame.inline.hpp bytecodeInterpreter.inline.hpp
-frame.inline.hpp frame.hpp
-frame.inline.hpp interpreter.hpp
-frame.inline.hpp jniTypes_<arch>.hpp
-frame.inline.hpp methodOop.hpp
-frame.inline.hpp signature.hpp
-
-frame_<arch>.cpp frame.inline.hpp
-frame_<arch>.cpp handles.inline.hpp
-frame_<arch>.cpp interpreter.hpp
-frame_<arch>.cpp javaCalls.hpp
-frame_<arch>.cpp markOop.hpp
-frame_<arch>.cpp methodOop.hpp
-frame_<arch>.cpp monitorChunk.hpp
-frame_<arch>.cpp oop.inline.hpp
-frame_<arch>.cpp resourceArea.hpp
-frame_<arch>.cpp signature.hpp
-frame_<arch>.cpp stubCodeGenerator.hpp
-frame_<arch>.cpp stubRoutines.hpp
-frame_<arch>.cpp vmreg_<arch>.inline.hpp
-
-frame_<arch>.hpp generate_platform_dependent_include
-frame_<arch>.hpp synchronizer.hpp
-frame_<arch>.hpp top.hpp
-
-frame_<arch>.inline.hpp generate_platform_dependent_include
-
-gcLocker.cpp gcLocker.inline.hpp
-gcLocker.cpp sharedHeap.hpp
-gcLocker.cpp resourceArea.hpp
-
-gcLocker.hpp collectedHeap.hpp
-gcLocker.hpp genCollectedHeap.hpp
-gcLocker.hpp oop.hpp
-gcLocker.hpp os_<os_family>.inline.hpp
-gcLocker.hpp thread_<os_family>.inline.hpp
-gcLocker.hpp universe.hpp
-
-gcLocker.inline.hpp gcLocker.hpp
-
-genCollectedHeap.cpp aprofiler.hpp
-genCollectedHeap.cpp biasedLocking.hpp
-genCollectedHeap.cpp collectedHeap.inline.hpp
-genCollectedHeap.cpp collectorCounters.hpp
-genCollectedHeap.cpp compactPermGen.hpp
-genCollectedHeap.cpp filemap.hpp
-genCollectedHeap.cpp fprofiler.hpp
-genCollectedHeap.cpp gcLocker.inline.hpp
-genCollectedHeap.cpp genCollectedHeap.hpp
-genCollectedHeap.cpp genOopClosures.inline.hpp
-genCollectedHeap.cpp generation.inline.hpp
-genCollectedHeap.cpp generationSpec.hpp
-genCollectedHeap.cpp handles.hpp
-genCollectedHeap.cpp handles.inline.hpp
-genCollectedHeap.cpp icBuffer.hpp
-genCollectedHeap.cpp java.hpp
-genCollectedHeap.cpp memoryService.hpp
-genCollectedHeap.cpp oop.inline.hpp
-genCollectedHeap.cpp oop.inline2.hpp
-genCollectedHeap.cpp permGen.hpp
-genCollectedHeap.cpp resourceArea.hpp
-genCollectedHeap.cpp sharedHeap.hpp
-genCollectedHeap.cpp space.hpp
-genCollectedHeap.cpp symbolTable.hpp
-genCollectedHeap.cpp systemDictionary.hpp
-genCollectedHeap.cpp vmError.hpp
-genCollectedHeap.cpp vmGCOperations.hpp
-genCollectedHeap.cpp vmSymbols.hpp
-genCollectedHeap.cpp vmThread.hpp
-genCollectedHeap.cpp workgroup.hpp
-
-genCollectedHeap.hpp adaptiveSizePolicy.hpp
-genCollectedHeap.hpp collectorPolicy.hpp
-genCollectedHeap.hpp generation.hpp
-genCollectedHeap.hpp sharedHeap.hpp
-
-genMarkSweep.cpp codeCache.hpp
-genMarkSweep.cpp collectedHeap.inline.hpp
-genMarkSweep.cpp copy.hpp
-genMarkSweep.cpp events.hpp
-genMarkSweep.cpp fprofiler.hpp
-genMarkSweep.cpp genCollectedHeap.hpp
-genMarkSweep.cpp genMarkSweep.hpp
-genMarkSweep.cpp genOopClosures.inline.hpp
-genMarkSweep.cpp generation.inline.hpp
-genMarkSweep.cpp handles.inline.hpp
-genMarkSweep.cpp icBuffer.hpp
-genMarkSweep.cpp instanceRefKlass.hpp
-genMarkSweep.cpp javaClasses.hpp
-genMarkSweep.cpp jvmtiExport.hpp
-genMarkSweep.cpp modRefBarrierSet.hpp
-genMarkSweep.cpp oop.inline.hpp
-genMarkSweep.cpp referencePolicy.hpp
-genMarkSweep.cpp space.hpp
-genMarkSweep.cpp symbolTable.hpp
-genMarkSweep.cpp synchronizer.hpp
-genMarkSweep.cpp systemDictionary.hpp
-genMarkSweep.cpp thread_<os_family>.inline.hpp
-genMarkSweep.cpp vmSymbols.hpp
-genMarkSweep.cpp vmThread.hpp
-
-genMarkSweep.hpp markSweep.hpp
-
-genOopClosures.hpp iterator.hpp
-genOopClosures.hpp oop.hpp
-
-genOopClosures.inline.hpp cardTableRS.hpp
-genOopClosures.inline.hpp defNewGeneration.hpp
-genOopClosures.inline.hpp genCollectedHeap.hpp
-genOopClosures.inline.hpp genOopClosures.hpp
-genOopClosures.inline.hpp genRemSet.hpp
-genOopClosures.inline.hpp generation.hpp
-genOopClosures.inline.hpp sharedHeap.hpp
-genOopClosures.inline.hpp space.hpp
-
-genRemSet.cpp cardTableRS.hpp
-genRemSet.cpp genRemSet.hpp
-
-genRemSet.hpp oop.hpp
-
-generateOopMap.cpp bitMap.inline.hpp
-generateOopMap.cpp bytecodeStream.hpp
-generateOopMap.cpp generateOopMap.hpp
-generateOopMap.cpp handles.inline.hpp
-generateOopMap.cpp java.hpp
-generateOopMap.cpp oop.inline.hpp
-generateOopMap.cpp relocator.hpp
-generateOopMap.cpp symbolOop.hpp
-
-generateOopMap.hpp allocation.inline.hpp
-generateOopMap.hpp bytecodeStream.hpp
-generateOopMap.hpp methodOop.hpp
-generateOopMap.hpp oopsHierarchy.hpp
-generateOopMap.hpp signature.hpp
-generateOopMap.hpp universe.inline.hpp
-
-generation.cpp allocation.inline.hpp
-generation.cpp blockOffsetTable.inline.hpp
-generation.cpp cardTableRS.hpp
-generation.cpp collectedHeap.inline.hpp
-generation.cpp copy.hpp
-generation.cpp events.hpp
-generation.cpp gcLocker.inline.hpp
-generation.cpp genCollectedHeap.hpp
-generation.cpp genMarkSweep.hpp
-generation.cpp genOopClosures.hpp
-generation.cpp genOopClosures.inline.hpp
-generation.cpp generation.hpp
-generation.cpp generation.inline.hpp
-generation.cpp java.hpp
-generation.cpp oop.inline.hpp
-generation.cpp spaceDecorator.hpp
-generation.cpp space.inline.hpp
-
-generation.hpp allocation.hpp
-generation.hpp collectorCounters.hpp
-generation.hpp memRegion.hpp
-generation.hpp mutex.hpp
-generation.hpp perfData.hpp
-generation.hpp referenceProcessor.hpp
-generation.hpp universe.hpp
-generation.hpp virtualspace.hpp
-generation.hpp watermark.hpp
-
-generation.inline.hpp genCollectedHeap.hpp
-generation.inline.hpp generation.hpp
-generation.inline.hpp space.hpp
-
-genOopClosures.hpp oop.hpp
-
-generationSpec.cpp compactPermGen.hpp
-generationSpec.cpp defNewGeneration.hpp
-generationSpec.cpp filemap.hpp
-generationSpec.cpp genRemSet.hpp
-generationSpec.cpp generationSpec.hpp
-generationSpec.cpp java.hpp
-generationSpec.cpp tenuredGeneration.hpp
-
-generationSpec.hpp generation.hpp
-generationSpec.hpp permGen.hpp
-
-globalDefinitions.cpp globalDefinitions.hpp
-globalDefinitions.cpp os.hpp
-globalDefinitions.cpp top.hpp
-
-globalDefinitions.hpp globalDefinitions_<compiler>.hpp
-globalDefinitions.hpp macros.hpp
-
-globalDefinitions_<arch>.hpp generate_platform_dependent_include
-
-globalDefinitions_<compiler>.hpp jni.h
-
-globals.cpp allocation.inline.hpp
-globals.cpp arguments.hpp
-globals.cpp globals.hpp
-globals.cpp globals_extension.hpp
-globals.cpp oop.inline.hpp
-globals.cpp ostream.hpp
-globals.cpp top.hpp
-
-globals.hpp debug.hpp
-globals.hpp globals_<arch>.hpp
-globals.hpp globals_<os_arch>.hpp
-globals.hpp globals_<os_family>.hpp
-
-globals_extension.hpp globals.hpp
-globals_extension.hpp top.hpp
-
-growableArray.cpp growableArray.hpp
-growableArray.cpp resourceArea.hpp
-growableArray.cpp thread_<os_family>.inline.hpp
-
-growableArray.hpp allocation.hpp
-growableArray.hpp allocation.inline.hpp
-growableArray.hpp debug.hpp
-growableArray.hpp globalDefinitions.hpp
-growableArray.hpp top.hpp
-
-handles.cpp allocation.inline.hpp
-handles.cpp handles.inline.hpp
-handles.cpp oop.inline.hpp
-handles.cpp os_<os_family>.inline.hpp
-handles.cpp thread_<os_family>.inline.hpp
-
-handles.hpp klass.hpp
-handles.hpp klassOop.hpp
-handles.hpp top.hpp
-
-handles.inline.hpp handles.hpp
-handles.inline.hpp thread_<os_family>.inline.hpp
-
-hashtable.cpp allocation.inline.hpp
-hashtable.cpp dtrace.hpp
-hashtable.cpp hashtable.hpp
-hashtable.cpp hashtable.inline.hpp
-hashtable.cpp oop.inline.hpp
-hashtable.cpp resourceArea.hpp
-hashtable.cpp safepoint.hpp
-
-hashtable.hpp allocation.hpp
-hashtable.hpp handles.hpp
-hashtable.hpp oop.hpp
-hashtable.hpp symbolOop.hpp
-
-hashtable.inline.hpp allocation.inline.hpp
-hashtable.inline.hpp hashtable.hpp
-
-heap.cpp heap.hpp
-heap.cpp oop.inline.hpp
-heap.cpp os.hpp
-
-heap.hpp allocation.hpp
-heap.hpp virtualspace.hpp
-
-// heapDumper is jck optional, put cpp deps in includeDB_features
-
-heapDumper.hpp allocation.hpp
-heapDumper.hpp klassOop.hpp
-heapDumper.hpp oop.hpp
-heapDumper.hpp os.hpp
-
-// heapInspection is jck optional, put cpp deps in includeDB_features
-
-heapInspection.hpp allocation.inline.hpp
-heapInspection.hpp oop.inline.hpp
-
-histogram.cpp histogram.hpp
-histogram.cpp oop.inline.hpp
-
-histogram.hpp allocation.hpp
-histogram.hpp growableArray.hpp
-histogram.hpp os.hpp
-histogram.hpp os_<os_family>.inline.hpp
-
-hpi.cpp hpi.hpp
-hpi.cpp jvm.h
-
-hpi.hpp globalDefinitions.hpp
-hpi.hpp hpi_imported.h
-hpi.hpp os.hpp
-hpi.hpp top.hpp
-
-hpi_<os_family>.cpp hpi.hpp
-hpi_<os_family>.cpp oop.inline.hpp
-hpi_<os_family>.cpp os.hpp
-
-hpi_imported.h jni.h
-
-icBuffer.cpp assembler_<arch>.inline.hpp
-icBuffer.cpp collectedHeap.inline.hpp
-icBuffer.cpp compiledIC.hpp
-icBuffer.cpp icBuffer.hpp
-icBuffer.cpp interpreter.hpp
-icBuffer.cpp linkResolver.hpp
-icBuffer.cpp methodOop.hpp
-icBuffer.cpp mutexLocker.hpp
-icBuffer.cpp nmethod.hpp
-icBuffer.cpp oop.inline.hpp
-icBuffer.cpp oop.inline2.hpp
-icBuffer.cpp resourceArea.hpp
-icBuffer.cpp scopeDesc.hpp
-icBuffer.cpp stubRoutines.hpp
-icBuffer.cpp universe.inline.hpp
-
-icBuffer.hpp allocation.hpp
-icBuffer.hpp bytecodes.hpp
-icBuffer.hpp stubs.hpp
-
-icBuffer_<arch>.cpp assembler.hpp
-icBuffer_<arch>.cpp assembler_<arch>.inline.hpp
-icBuffer_<arch>.cpp bytecodes.hpp
-icBuffer_<arch>.cpp collectedHeap.inline.hpp
-icBuffer_<arch>.cpp icBuffer.hpp
-icBuffer_<arch>.cpp nativeInst_<arch>.hpp
-icBuffer_<arch>.cpp oop.inline.hpp
-icBuffer_<arch>.cpp oop.inline2.hpp
-icBuffer_<arch>.cpp resourceArea.hpp
-
-icache.cpp icache.hpp
-icache.cpp resourceArea.hpp
-
-icache.hpp allocation.hpp
-icache.hpp stubCodeGenerator.hpp
-
-icache_<arch>.cpp assembler_<arch>.inline.hpp
-icache_<arch>.cpp icache.hpp
-
-icache_<arch>.hpp generate_platform_dependent_include
-
-init.cpp bytecodes.hpp
-init.cpp collectedHeap.hpp
-init.cpp handles.inline.hpp
-init.cpp icBuffer.hpp
-init.cpp icache.hpp
-init.cpp init.hpp
-init.cpp methodHandles.hpp
-init.cpp safepoint.hpp
-init.cpp sharedRuntime.hpp
-init.cpp universe.hpp
-
-init.hpp top.hpp
-
-instanceKlass.cpp collectedHeap.inline.hpp
-instanceKlass.cpp compileBroker.hpp
-instanceKlass.cpp dtrace.hpp
-instanceKlass.cpp fieldDescriptor.hpp
-instanceKlass.cpp genOopClosures.inline.hpp
-instanceKlass.cpp handles.inline.hpp
-instanceKlass.cpp instanceKlass.hpp
-instanceKlass.cpp instanceOop.hpp
-instanceKlass.cpp javaCalls.hpp
-instanceKlass.cpp javaClasses.hpp
-instanceKlass.cpp jvmti.h
-instanceKlass.cpp jvmtiExport.hpp
-instanceKlass.cpp jvmtiRedefineClassesTrace.hpp
-instanceKlass.cpp markSweep.inline.hpp
-instanceKlass.cpp methodOop.hpp
-instanceKlass.cpp mutexLocker.hpp
-instanceKlass.cpp objArrayKlassKlass.hpp
-instanceKlass.cpp oop.inline.hpp
-instanceKlass.cpp oopFactory.hpp
-instanceKlass.cpp oopMapCache.hpp
-instanceKlass.cpp permGen.hpp
-instanceKlass.cpp rewriter.hpp
-instanceKlass.cpp symbolOop.hpp
-instanceKlass.cpp systemDictionary.hpp
-instanceKlass.cpp threadService.hpp
-instanceKlass.cpp thread_<os_family>.inline.hpp
-instanceKlass.cpp verifier.hpp
-instanceKlass.cpp vmSymbols.hpp
-
-instanceKlass.hpp accessFlags.hpp
-instanceKlass.hpp bitMap.inline.hpp
-instanceKlass.hpp constMethodOop.hpp
-instanceKlass.hpp constantPoolOop.hpp
-instanceKlass.hpp handles.hpp
-instanceKlass.hpp instanceOop.hpp
-instanceKlass.hpp klassOop.hpp
-instanceKlass.hpp klassVtable.hpp
-instanceKlass.hpp objArrayOop.hpp
-instanceKlass.hpp os.hpp
-
-instanceKlassKlass.cpp collectedHeap.inline.hpp
-instanceKlassKlass.cpp constantPoolOop.hpp
-instanceKlassKlass.cpp fieldDescriptor.hpp
-instanceKlassKlass.cpp gcLocker.hpp
-instanceKlassKlass.cpp instanceKlass.hpp
-instanceKlassKlass.cpp instanceKlassKlass.hpp
-instanceKlassKlass.cpp instanceRefKlass.hpp
-instanceKlassKlass.cpp javaClasses.hpp
-instanceKlassKlass.cpp jvmtiExport.hpp
-instanceKlassKlass.cpp markSweep.inline.hpp
-instanceKlassKlass.cpp objArrayKlassKlass.hpp
-instanceKlassKlass.cpp objArrayOop.hpp
-instanceKlassKlass.cpp oop.inline.hpp
-instanceKlassKlass.cpp oop.inline2.hpp
-instanceKlassKlass.cpp oopMapCache.hpp
-instanceKlassKlass.cpp symbolOop.hpp
-instanceKlassKlass.cpp systemDictionary.hpp
-instanceKlassKlass.cpp typeArrayOop.hpp
-
-instanceKlassKlass.hpp klassKlass.hpp
-
-instanceOop.cpp instanceOop.hpp
-
-instanceOop.hpp oop.hpp
-
-instanceRefKlass.cpp collectedHeap.hpp
-instanceRefKlass.cpp collectedHeap.inline.hpp
-instanceRefKlass.cpp genCollectedHeap.hpp
-instanceRefKlass.cpp genOopClosures.inline.hpp
-instanceRefKlass.cpp instanceRefKlass.hpp
-instanceRefKlass.cpp javaClasses.hpp
-instanceRefKlass.cpp markSweep.inline.hpp
-instanceRefKlass.cpp oop.inline.hpp
-instanceRefKlass.cpp preserveException.hpp
-instanceRefKlass.cpp systemDictionary.hpp
-
-instanceRefKlass.hpp instanceKlass.hpp
-
-interfaceSupport.cpp collectedHeap.hpp
-interfaceSupport.cpp collectedHeap.inline.hpp
-interfaceSupport.cpp genCollectedHeap.hpp
-interfaceSupport.cpp init.hpp
-interfaceSupport.cpp interfaceSupport.hpp
-interfaceSupport.cpp markSweep.hpp
-interfaceSupport.cpp preserveException.hpp
-interfaceSupport.cpp resourceArea.hpp
-interfaceSupport.cpp threadLocalStorage.hpp
-interfaceSupport.cpp vframe.hpp
-
-interfaceSupport.hpp gcLocker.hpp
-interfaceSupport.hpp globalDefinitions.hpp
-interfaceSupport.hpp handles.inline.hpp
-interfaceSupport.hpp mutexLocker.hpp
-interfaceSupport.hpp orderAccess.hpp
-interfaceSupport.hpp os.hpp
-interfaceSupport.hpp preserveException.hpp
-interfaceSupport.hpp safepoint.hpp
-interfaceSupport.hpp thread_<os_family>.inline.hpp
-interfaceSupport.hpp top.hpp
-interfaceSupport.hpp vmThread.hpp
-
-interfaceSupport_<os_family>.hpp generate_platform_dependent_include
-
-interp_masm_<arch_model>.cpp arrayOop.hpp
-interp_masm_<arch_model>.cpp basicLock.hpp
-interp_masm_<arch_model>.cpp biasedLocking.hpp
-interp_masm_<arch_model>.cpp interp_masm_<arch_model>.hpp
-interp_masm_<arch_model>.cpp interpreterRuntime.hpp
-interp_masm_<arch_model>.cpp interpreter.hpp
-interp_masm_<arch_model>.cpp jvmtiExport.hpp
-interp_masm_<arch_model>.cpp jvmtiRedefineClassesTrace.hpp
-interp_masm_<arch_model>.cpp jvmtiThreadState.hpp
-interp_masm_<arch_model>.cpp markOop.hpp
-interp_masm_<arch_model>.cpp methodDataOop.hpp
-interp_masm_<arch_model>.cpp methodOop.hpp
-interp_masm_<arch_model>.cpp sharedRuntime.hpp
-interp_masm_<arch_model>.cpp thread_<os_family>.inline.hpp
-
-interp_masm_<arch_model>.hpp assembler_<arch>.inline.hpp
-interp_masm_<arch_model>.hpp invocationCounter.hpp
-
-interpreter.cpp allocation.inline.hpp
-interpreter.cpp arrayOop.hpp
-interpreter.cpp assembler.hpp
-interpreter.cpp bytecodeHistogram.hpp
-interpreter.cpp bytecodeInterpreter.hpp
-interpreter.cpp forte.hpp
-interpreter.cpp handles.inline.hpp
-interpreter.cpp interpreter.hpp
-interpreter.cpp interpreterRuntime.hpp
-interpreter.cpp interpreter.hpp
-interpreter.cpp jvmtiExport.hpp
-interpreter.cpp methodDataOop.hpp
-interpreter.cpp methodOop.hpp
-interpreter.cpp oop.inline.hpp
-interpreter.cpp resourceArea.hpp
-interpreter.cpp sharedRuntime.hpp
-interpreter.cpp stubRoutines.hpp
-interpreter.cpp templateTable.hpp
-interpreter.cpp timer.hpp
-
-interpreter.hpp cppInterpreter.hpp
-interpreter.hpp stubs.hpp
-interpreter.hpp templateInterpreter.hpp
-
-interpreterRT_<arch_model>.cpp allocation.inline.hpp
-interpreterRT_<arch_model>.cpp handles.inline.hpp
-interpreterRT_<arch_model>.cpp icache.hpp
-interpreterRT_<arch_model>.cpp interfaceSupport.hpp
-interpreterRT_<arch_model>.cpp interpreterRuntime.hpp
-interpreterRT_<arch_model>.cpp interpreter.hpp
-interpreterRT_<arch_model>.cpp methodOop.hpp
-interpreterRT_<arch_model>.cpp oop.inline.hpp
-interpreterRT_<arch_model>.cpp signature.hpp
-interpreterRT_<arch_model>.cpp universe.inline.hpp
-
-interpreterRT_<arch>.hpp allocation.hpp
-interpreterRT_<arch>.hpp generate_platform_dependent_include
-
-interpreterRuntime.cpp biasedLocking.hpp
-interpreterRuntime.cpp collectedHeap.hpp
-interpreterRuntime.cpp compileBroker.hpp
-interpreterRuntime.cpp compilationPolicy.hpp
-interpreterRuntime.cpp constantPoolOop.hpp
-interpreterRuntime.cpp cpCacheOop.hpp
-interpreterRuntime.cpp deoptimization.hpp
-interpreterRuntime.cpp events.hpp
-interpreterRuntime.cpp fieldDescriptor.hpp
-interpreterRuntime.cpp handles.inline.hpp
-interpreterRuntime.cpp instanceKlass.hpp
-interpreterRuntime.cpp interfaceSupport.hpp
-interpreterRuntime.cpp interpreterRuntime.hpp
-interpreterRuntime.cpp interpreter.hpp
-interpreterRuntime.cpp java.hpp
-interpreterRuntime.cpp jfieldIDWorkaround.hpp
-interpreterRuntime.cpp jvmtiExport.hpp
-interpreterRuntime.cpp linkResolver.hpp
-interpreterRuntime.cpp methodDataOop.hpp
-interpreterRuntime.cpp nativeLookup.hpp
-interpreterRuntime.cpp objArrayKlass.hpp
-interpreterRuntime.cpp oop.inline.hpp
-interpreterRuntime.cpp oopFactory.hpp
-interpreterRuntime.cpp osThread.hpp
-interpreterRuntime.cpp sharedRuntime.hpp
-interpreterRuntime.cpp stubRoutines.hpp
-interpreterRuntime.cpp symbolOop.hpp
-interpreterRuntime.cpp synchronizer.hpp
-interpreterRuntime.cpp systemDictionary.hpp
-interpreterRuntime.cpp templateTable.hpp
-interpreterRuntime.cpp threadCritical.hpp
-interpreterRuntime.cpp universe.inline.hpp
-interpreterRuntime.cpp vmSymbols.hpp
-interpreterRuntime.cpp vm_version_<arch>.hpp
-
-interpreterRuntime.hpp bytecode.hpp
-interpreterRuntime.hpp frame.inline.hpp
-interpreterRuntime.hpp linkResolver.hpp
-interpreterRuntime.hpp methodOop.hpp
-interpreterRuntime.hpp signature.hpp
-interpreterRuntime.hpp thread_<os_family>.inline.hpp
-interpreterRuntime.hpp top.hpp
-interpreterRuntime.hpp universe.hpp
-
-interpreter_<arch_model>.cpp arguments.hpp
-interpreter_<arch_model>.cpp arrayOop.hpp
-interpreter_<arch_model>.cpp assembler.hpp
-interpreter_<arch_model>.cpp bytecodeHistogram.hpp
-interpreter_<arch_model>.cpp debug.hpp
-interpreter_<arch_model>.cpp deoptimization.hpp
-interpreter_<arch_model>.cpp frame.inline.hpp
-interpreter_<arch_model>.cpp interpreterRuntime.hpp
-interpreter_<arch_model>.cpp interpreter.hpp
-interpreter_<arch_model>.cpp interpreterGenerator.hpp
-interpreter_<arch_model>.cpp jvmtiExport.hpp
-interpreter_<arch_model>.cpp jvmtiThreadState.hpp
-interpreter_<arch_model>.cpp methodDataOop.hpp
-interpreter_<arch_model>.cpp methodHandles.hpp
-interpreter_<arch_model>.cpp methodOop.hpp
-interpreter_<arch_model>.cpp oop.inline.hpp
-interpreter_<arch_model>.cpp sharedRuntime.hpp
-interpreter_<arch_model>.cpp stubRoutines.hpp
-interpreter_<arch_model>.cpp synchronizer.hpp
-interpreter_<arch_model>.cpp templateTable.hpp
-interpreter_<arch_model>.cpp timer.hpp
-interpreter_<arch_model>.cpp vframeArray.hpp
-
-interpreter_<arch>.hpp generate_platform_dependent_include
-
-interpreterGenerator.hpp cppInterpreter.hpp
-interpreterGenerator.hpp cppInterpreterGenerator.hpp
-interpreterGenerator.hpp templateInterpreter.hpp
-interpreterGenerator.hpp templateInterpreterGenerator.hpp
-
-interpreterGenerator_<arch>.hpp generate_platform_dependent_include
-
-invocationCounter.cpp frame.hpp
-invocationCounter.cpp handles.inline.hpp
-invocationCounter.cpp invocationCounter.hpp
-
-invocationCounter.hpp allocation.hpp
-invocationCounter.hpp exceptions.hpp
-invocationCounter.hpp handles.hpp
-
-intHisto.cpp intHisto.hpp
-
-intHisto.hpp allocation.hpp
-intHisto.hpp growableArray.hpp
-
-iterator.cpp iterator.hpp
-iterator.cpp oop.inline.hpp
-
-iterator.hpp allocation.hpp
-iterator.hpp memRegion.hpp
-iterator.hpp prefetch.hpp
-iterator.hpp top.hpp
-
-java.cpp aprofiler.hpp
-java.cpp arguments.hpp
-java.cpp biasedLocking.hpp
-java.cpp bytecodeHistogram.hpp
-java.cpp classLoader.hpp
-java.cpp codeCache.hpp
-java.cpp compilationPolicy.hpp
-java.cpp compileBroker.hpp
-java.cpp compilerOracle.hpp
-java.cpp constantPoolOop.hpp
-java.cpp dtrace.hpp
-java.cpp fprofiler.hpp
-java.cpp genCollectedHeap.hpp
-java.cpp generateOopMap.hpp
-java.cpp globalDefinitions.hpp
-java.cpp histogram.hpp
-java.cpp init.hpp
-java.cpp instanceKlass.hpp
-java.cpp instanceKlassKlass.hpp
-java.cpp instanceOop.hpp
-java.cpp interfaceSupport.hpp
-java.cpp java.hpp
-java.cpp jvmtiExport.hpp
-java.cpp memprofiler.hpp
-java.cpp methodOop.hpp
-java.cpp objArrayOop.hpp
-java.cpp oop.inline.hpp
-java.cpp oopFactory.hpp
-java.cpp sharedRuntime.hpp
-java.cpp statSampler.hpp
-java.cpp symbolOop.hpp
-java.cpp symbolTable.hpp
-java.cpp systemDictionary.hpp
-java.cpp task.hpp
-java.cpp thread_<os_family>.inline.hpp
-java.cpp timer.hpp
-java.cpp universe.hpp
-java.cpp vmError.hpp
-java.cpp vm_operations.hpp
-java.cpp vm_version_<arch>.hpp
-
-java.hpp os.hpp
-
-javaAssertions.cpp allocation.inline.hpp
-javaAssertions.cpp handles.inline.hpp
-javaAssertions.cpp javaAssertions.hpp
-javaAssertions.cpp javaClasses.hpp
-javaAssertions.cpp oop.inline.hpp
-javaAssertions.cpp oopFactory.hpp
-javaAssertions.cpp systemDictionary.hpp
-javaAssertions.cpp vmSymbols.hpp
-
-javaAssertions.hpp exceptions.hpp
-javaAssertions.hpp objArrayOop.hpp
-javaAssertions.hpp ostream.hpp
-javaAssertions.hpp typeArrayOop.hpp
-
-javaCalls.cpp compilationPolicy.hpp
-javaCalls.cpp compileBroker.hpp
-javaCalls.cpp handles.inline.hpp
-javaCalls.cpp interfaceSupport.hpp
-javaCalls.cpp interpreter.hpp
-javaCalls.cpp javaCalls.hpp
-javaCalls.cpp jniCheck.hpp
-javaCalls.cpp linkResolver.hpp
-javaCalls.cpp mutexLocker.hpp
-javaCalls.cpp nmethod.hpp
-javaCalls.cpp oop.inline.hpp
-javaCalls.cpp signature.hpp
-javaCalls.cpp stubRoutines.hpp
-javaCalls.cpp systemDictionary.hpp
-javaCalls.cpp thread_<os_family>.inline.hpp
-javaCalls.cpp universe.inline.hpp
-javaCalls.cpp vmSymbols.hpp
-javaCalls.hpp allocation.hpp
-
-javaCalls.hpp handles.hpp
-javaCalls.hpp javaFrameAnchor.hpp
-javaCalls.hpp jniTypes_<arch>.hpp
-javaCalls.hpp methodOop.hpp
-javaCalls.hpp thread_<os_family>.inline.hpp
-javaCalls.hpp vmThread.hpp
-
-javaClasses.cpp debugInfo.hpp
-javaClasses.cpp fieldDescriptor.hpp
-javaClasses.cpp handles.inline.hpp
-javaClasses.cpp instanceKlass.hpp
-javaClasses.cpp interfaceSupport.hpp
-javaClasses.cpp interpreter.hpp
-javaClasses.cpp java.hpp
-javaClasses.cpp javaCalls.hpp
-javaClasses.cpp javaClasses.hpp
-javaClasses.cpp klass.hpp
-javaClasses.cpp klassOop.hpp
-javaClasses.cpp methodOop.hpp
-javaClasses.cpp oopFactory.hpp
-javaClasses.cpp pcDesc.hpp
-javaClasses.cpp preserveException.hpp
-javaClasses.cpp resourceArea.hpp
-javaClasses.cpp safepoint.hpp
-javaClasses.cpp symbolOop.hpp
-javaClasses.cpp symbolTable.hpp
-javaClasses.cpp thread_<os_family>.inline.hpp
-javaClasses.cpp typeArrayOop.hpp
-javaClasses.cpp universe.inline.hpp
-javaClasses.cpp vframe.hpp
-javaClasses.cpp vmSymbols.hpp
-
-javaClasses.hpp jvmti.h
-javaClasses.hpp oop.hpp
-javaClasses.hpp os.hpp
-javaClasses.hpp systemDictionary.hpp
-javaClasses.hpp utf8.hpp
-
-javaFrameAnchor.hpp globalDefinitions.hpp
-javaFrameAnchor.hpp orderAccess_<os_arch>.inline.hpp
-
-javaFrameAnchor_<arch>.hpp generate_platform_dependent_include
-
-jni.cpp allocation.inline.hpp
-jni.cpp classLoader.hpp
-jni.cpp compilationPolicy.hpp
-jni.cpp defaultStream.hpp
-jni.cpp dtrace.hpp
-jni.cpp events.hpp
-jni.cpp fieldDescriptor.hpp
-jni.cpp fprofiler.hpp
-jni.cpp gcLocker.inline.hpp
-jni.cpp handles.inline.hpp
-jni.cpp histogram.hpp
-jni.cpp instanceKlass.hpp
-jni.cpp instanceOop.hpp
-jni.cpp interfaceSupport.hpp
-jni.cpp java.hpp
-jni.cpp javaCalls.hpp
-jni.cpp javaClasses.hpp
-jni.cpp jfieldIDWorkaround.hpp
-jni.cpp jni.h
-jni.cpp jniCheck.hpp
-jni.cpp jniFastGetField.hpp
-jni.cpp jniTypes_<arch>.hpp
-jni.cpp jvm.h
-jni.cpp jvm_misc.hpp
-jni.cpp jvmtiExport.hpp
-jni.cpp jvmtiThreadState.hpp
-jni.cpp linkResolver.hpp
-jni.cpp markOop.hpp
-jni.cpp methodOop.hpp
-jni.cpp objArrayKlass.hpp
-jni.cpp objArrayOop.hpp
-jni.cpp oop.inline.hpp
-jni.cpp oopFactory.hpp
-jni.cpp os_<os_family>.inline.hpp
-jni.cpp reflection.hpp
-jni.cpp runtimeService.hpp
-jni.cpp sharedRuntime.hpp
-jni.cpp signature.hpp
-jni.cpp symbolOop.hpp
-jni.cpp symbolTable.hpp
-jni.cpp systemDictionary.hpp
-jni.cpp thread_<os_family>.inline.hpp
-jni.cpp typeArrayKlass.hpp
-jni.cpp typeArrayOop.hpp
-jni.cpp universe.inline.hpp
-jni.cpp vmSymbols.hpp
-jni.cpp vm_operations.hpp
-
-// jniCheck is jck optional, put cpp deps in includeDB_features
-
-jniFastGetField.cpp jniFastGetField.hpp
-
-jniFastGetField.hpp allocation.hpp
-jniFastGetField.hpp jvm_misc.hpp
-
-jniFastGetField_<arch_model>.cpp assembler_<arch>.inline.hpp
-jniFastGetField_<arch_model>.cpp jniFastGetField.hpp
-jniFastGetField_<arch_model>.cpp jvm_misc.hpp
-jniFastGetField_<arch_model>.cpp resourceArea.hpp
-jniFastGetField_<arch_model>.cpp safepoint.hpp
-
-jniHandles.cpp jniHandles.hpp
-jniHandles.cpp mutexLocker.hpp
-jniHandles.cpp oop.inline.hpp
-jniHandles.cpp systemDictionary.hpp
-jniHandles.cpp thread_<os_family>.inline.hpp
-
-jniHandles.hpp handles.hpp
-jniHandles.hpp top.hpp
-
-jniPeriodicChecker.cpp allocation.inline.hpp
-jniPeriodicChecker.cpp jniPeriodicChecker.hpp
-jniPeriodicChecker.cpp task.hpp
-
-jniTypes_<arch>.hpp allocation.hpp
-jniTypes_<arch>.hpp jni.h
-jniTypes_<arch>.hpp oop.hpp
-
-jni_<arch>.h generate_platform_dependent_include
-
-jvm.cpp arguments.hpp
-jvm.cpp attachListener.hpp
-jvm.cpp classLoader.hpp
-jvm.cpp collectedHeap.inline.hpp
-jvm.cpp copy.hpp
-jvm.cpp defaultStream.hpp
-jvm.cpp dtrace.hpp
-jvm.cpp dtraceJSDT.hpp
-jvm.cpp events.hpp
-jvm.cpp handles.inline.hpp
-jvm.cpp histogram.hpp
-jvm.cpp hpi.hpp
-jvm.cpp hpi_<os_family>.hpp
-jvm.cpp init.hpp
-jvm.cpp instanceKlass.hpp
-jvm.cpp interfaceSupport.hpp
-jvm.cpp java.hpp
-jvm.cpp javaAssertions.hpp
-jvm.cpp javaCalls.hpp
-jvm.cpp javaClasses.hpp
-jvm.cpp jfieldIDWorkaround.hpp
-jvm.cpp jvm.h
-jvm.cpp jvm_<os_family>.h
-jvm.cpp jvm_misc.hpp
-jvm.cpp jvmtiExport.hpp
-jvm.cpp jvmtiThreadState.hpp
-jvm.cpp management.hpp
-jvm.cpp nativeLookup.hpp
-jvm.cpp objArrayKlass.hpp
-jvm.cpp oopFactory.hpp
-jvm.cpp os.hpp
-jvm.cpp perfData.hpp
-jvm.cpp privilegedStack.hpp
-jvm.cpp reflection.hpp
-jvm.cpp symbolTable.hpp
-jvm.cpp systemDictionary.hpp
-jvm.cpp threadService.hpp
-jvm.cpp top.hpp
-jvm.cpp universe.inline.hpp
-jvm.cpp utf8.hpp
-jvm.cpp vframe.hpp
-jvm.cpp vmSymbols.hpp
-jvm.cpp vm_operations.hpp
-
-jvm.h globalDefinitions.hpp
-jvm.h jni.h
-jvm.h jvm_<os_family>.h
-jvm.h reflectionCompat.hpp
-
-jvm_<os_family>.cpp interfaceSupport.hpp
-jvm_<os_family>.cpp jvm.h
-jvm_<os_family>.cpp osThread.hpp
-
-jvm_misc.hpp handles.hpp
-jvm_misc.hpp jni.h
-
-jvmtiExport.hpp allocation.hpp
-jvmtiExport.hpp globalDefinitions.hpp
-jvmtiExport.hpp growableArray.hpp
-jvmtiExport.hpp handles.hpp
-jvmtiExport.hpp iterator.hpp
-jvmtiExport.hpp jvmti.h
-jvmtiExport.hpp jvmticmlr.h
-jvmtiExport.hpp oop.hpp
-jvmtiExport.hpp oopsHierarchy.hpp
-
-jvmtiThreadState.hpp allocation.hpp
-jvmtiThreadState.hpp allocation.inline.hpp
-jvmtiThreadState.hpp growableArray.hpp
-jvmtiThreadState.hpp jvmti.h
-jvmtiThreadState.hpp jvmtiEventController.hpp
-jvmtiThreadState.hpp thread.hpp
-
-klass.cpp atomic.hpp
-klass.cpp collectedHeap.inline.hpp
-klass.cpp instanceKlass.hpp
-klass.cpp klass.inline.hpp
-klass.cpp klassOop.hpp
-klass.cpp oop.inline.hpp
-klass.cpp oop.inline2.hpp
-klass.cpp oopFactory.hpp
-klass.cpp resourceArea.hpp
-klass.cpp systemDictionary.hpp
-klass.cpp vmSymbols.hpp
-
-klass.hpp accessFlags.hpp
-klass.hpp genOopClosures.hpp
-klass.hpp iterator.hpp
-klass.hpp klassOop.hpp
-klass.hpp klassPS.hpp
-klass.hpp memRegion.hpp
-klass.hpp oop.hpp
-klass.hpp specialized_oop_closures.hpp
-
-klass.inline.hpp klass.hpp
-klass.inline.hpp markOop.hpp
-
-klassKlass.cpp collectedHeap.hpp
-klassKlass.cpp collectedHeap.inline.hpp
-klassKlass.cpp constantPoolKlass.hpp
-klassKlass.cpp handles.inline.hpp
-klassKlass.cpp instanceKlass.hpp
-klassKlass.cpp instanceOop.hpp
-klassKlass.cpp klassKlass.hpp
-klassKlass.cpp klassOop.hpp
-klassKlass.cpp markSweep.inline.hpp
-klassKlass.cpp methodKlass.hpp
-klassKlass.cpp objArrayKlass.hpp
-klassKlass.cpp oop.inline.hpp
-klassKlass.cpp oop.inline2.hpp
-klassKlass.cpp oopFactory.hpp
-klassKlass.cpp permGen.hpp
-klassKlass.cpp symbolKlass.hpp
-klassKlass.cpp symbolOop.hpp
-klassKlass.cpp typeArrayKlass.hpp
-
-klassKlass.hpp klass.hpp
-klassKlass.hpp klassOop.hpp
-klassKlass.hpp oopFactory.hpp
-
-klassOop.cpp klassOop.hpp
-
-klassOop.hpp oop.hpp
-
-klassVtable.cpp arguments.hpp
-klassVtable.cpp copy.hpp
-klassVtable.cpp gcLocker.hpp
-klassVtable.cpp handles.inline.hpp
-klassVtable.cpp instanceKlass.hpp
-klassVtable.cpp jvmtiRedefineClassesTrace.hpp
-klassVtable.cpp klassOop.hpp
-klassVtable.cpp klassVtable.hpp
-klassVtable.cpp markSweep.inline.hpp
-klassVtable.cpp methodOop.hpp
-klassVtable.cpp objArrayOop.hpp
-klassVtable.cpp oop.inline.hpp
-klassVtable.cpp resourceArea.hpp
-klassVtable.cpp systemDictionary.hpp
-klassVtable.cpp universe.inline.hpp
-klassVtable.cpp vmSymbols.hpp
-
-klassVtable.hpp allocation.hpp
-klassVtable.hpp growableArray.hpp
-klassVtable.hpp handles.hpp
-klassVtable.hpp oopsHierarchy.hpp
-
-linkResolver.cpp bytecode.hpp
-linkResolver.cpp collectedHeap.inline.hpp
-linkResolver.cpp compilationPolicy.hpp
-linkResolver.cpp compileBroker.hpp
-linkResolver.cpp fieldDescriptor.hpp
-linkResolver.cpp frame.inline.hpp
-linkResolver.cpp handles.inline.hpp
-linkResolver.cpp instanceKlass.hpp
-linkResolver.cpp interpreterRuntime.hpp
-linkResolver.cpp linkResolver.hpp
-linkResolver.cpp methodHandles.hpp
-linkResolver.cpp nativeLookup.hpp
-linkResolver.cpp objArrayOop.hpp
-linkResolver.cpp reflection.hpp
-linkResolver.cpp resourceArea.hpp
-linkResolver.cpp signature.hpp
-linkResolver.cpp systemDictionary.hpp
-linkResolver.cpp thread_<os_family>.inline.hpp
-linkResolver.cpp universe.inline.hpp
-linkResolver.cpp vmSymbols.hpp
-linkResolver.cpp vmThread.hpp
-
-linkResolver.hpp methodOop.hpp
-linkResolver.hpp top.hpp
-
-liveRange.hpp copy.hpp
-
-loaderConstraints.cpp handles.inline.hpp
-loaderConstraints.cpp hashtable.inline.hpp
-loaderConstraints.cpp loaderConstraints.hpp
-loaderConstraints.cpp oop.inline.hpp
-loaderConstraints.cpp resourceArea.hpp
-loaderConstraints.cpp safepoint.hpp
-
-loaderConstraints.hpp dictionary.hpp
-loaderConstraints.hpp placeholders.hpp
-loaderConstraints.hpp hashtable.hpp
-
-location.cpp debugInfo.hpp
-location.cpp location.hpp
-
-location.hpp allocation.hpp
-location.hpp assembler.hpp
-location.hpp vmreg.hpp
-
-lowMemoryDetector.cpp interfaceSupport.hpp
-lowMemoryDetector.cpp java.hpp
-lowMemoryDetector.cpp javaCalls.hpp
-lowMemoryDetector.cpp lowMemoryDetector.hpp
-lowMemoryDetector.cpp management.hpp
-lowMemoryDetector.cpp mutex.hpp
-lowMemoryDetector.cpp mutexLocker.hpp
-lowMemoryDetector.cpp oop.inline.hpp
-lowMemoryDetector.cpp systemDictionary.hpp
-lowMemoryDetector.cpp vmSymbols.hpp
-
-lowMemoryDetector.hpp allocation.hpp
-lowMemoryDetector.hpp memoryPool.hpp
-lowMemoryDetector.hpp memoryService.hpp
-
-management.cpp arguments.hpp
-management.cpp classLoadingService.hpp
-management.cpp compileBroker.hpp
-management.cpp handles.inline.hpp
-management.cpp heapDumper.hpp
-management.cpp interfaceSupport.hpp
-management.cpp iterator.hpp
-management.cpp javaCalls.hpp
-management.cpp jniHandles.hpp
-management.cpp klass.hpp
-management.cpp klassOop.hpp
-management.cpp lowMemoryDetector.hpp
-management.cpp management.hpp
-management.cpp memoryManager.hpp
-management.cpp memoryPool.hpp
-management.cpp memoryService.hpp
-management.cpp objArrayKlass.hpp
-management.cpp oop.inline.hpp
-management.cpp oopFactory.hpp
-management.cpp os.hpp
-management.cpp resourceArea.hpp
-management.cpp runtimeService.hpp
-management.cpp systemDictionary.hpp
-management.cpp threadService.hpp
-
-management.hpp allocation.hpp
-management.hpp handles.hpp
-management.hpp jmm.h
-management.hpp timer.hpp
-
-markOop.cpp markOop.hpp
-markOop.cpp thread_<os_family>.inline.hpp
-
-markOop.hpp oop.hpp
-
-markOop.inline.hpp globals.hpp
-markOop.inline.hpp klass.hpp
-markOop.inline.hpp klassOop.hpp
-markOop.inline.hpp markOop.hpp
-
-markSweep.cpp compileBroker.hpp
-markSweep.cpp methodDataOop.hpp
-markSweep.cpp objArrayKlass.inline.hpp
-
-markSweep.hpp collectedHeap.hpp
-markSweep.hpp taskqueue.hpp
-
-memRegion.cpp globals.hpp
-memRegion.cpp memRegion.hpp
-
-memRegion.hpp allocation.hpp
-memRegion.hpp debug.hpp
-memRegion.hpp globalDefinitions.hpp
-
-memoryManager.cpp systemDictionary.hpp
-memoryManager.cpp vmSymbols.hpp
-memoryManager.cpp dtrace.hpp
-memoryManager.cpp handles.inline.hpp
-memoryManager.cpp javaCalls.hpp
-memoryManager.cpp lowMemoryDetector.hpp
-memoryManager.cpp management.hpp
-memoryManager.cpp memoryManager.hpp
-memoryManager.cpp memoryPool.hpp
-memoryManager.cpp memoryService.hpp
-memoryManager.cpp oop.inline.hpp
-
-memoryManager.hpp allocation.hpp
-memoryManager.hpp memoryUsage.hpp
-memoryManager.hpp timer.hpp
-
-memoryPool.cpp systemDictionary.hpp
-memoryPool.cpp vmSymbols.hpp
-memoryPool.cpp handles.inline.hpp
-memoryPool.cpp javaCalls.hpp
-memoryPool.cpp lowMemoryDetector.hpp
-memoryPool.cpp management.hpp
-memoryPool.cpp memoryManager.hpp
-memoryPool.cpp memoryPool.hpp
-memoryPool.cpp oop.inline.hpp
-
-memoryPool.hpp defNewGeneration.hpp
-memoryPool.hpp heap.hpp
-memoryPool.hpp memoryUsage.hpp
-memoryPool.hpp mutableSpace.hpp
-memoryPool.hpp space.hpp
-
-memoryService.cpp classLoadingService.hpp
-memoryService.cpp collectorPolicy.hpp
-memoryService.cpp defNewGeneration.hpp
-memoryService.cpp genCollectedHeap.hpp
-memoryService.cpp generation.hpp
-memoryService.cpp generationSpec.hpp
-memoryService.cpp growableArray.hpp
-memoryService.cpp heap.hpp
-memoryService.cpp javaCalls.hpp
-memoryService.cpp lowMemoryDetector.hpp
-memoryService.cpp management.hpp
-memoryService.cpp memRegion.hpp
-memoryService.cpp memoryManager.hpp
-memoryService.cpp memoryPool.hpp
-memoryService.cpp memoryService.hpp
-memoryService.cpp mutableSpace.hpp
-memoryService.cpp oop.inline.hpp
-memoryService.cpp permGen.hpp
-memoryService.cpp systemDictionary.hpp
-memoryService.cpp tenuredGeneration.hpp
-memoryService.cpp vmSymbols.hpp
-
-memoryService.hpp allocation.hpp
-memoryService.hpp generation.hpp
-memoryService.hpp handles.hpp
-memoryService.hpp memoryUsage.hpp
-
-memoryUsage.hpp globalDefinitions.hpp
-
-memprofiler.cpp codeCache.hpp
-memprofiler.cpp collectedHeap.inline.hpp
-memprofiler.cpp generation.hpp
-memprofiler.cpp handles.inline.hpp
-memprofiler.cpp jniHandles.hpp
-memprofiler.cpp memprofiler.hpp
-memprofiler.cpp mutexLocker.hpp
-memprofiler.cpp oopMapCache.hpp
-memprofiler.cpp os.hpp
-memprofiler.cpp permGen.hpp
-memprofiler.cpp resourceArea.hpp
-memprofiler.cpp systemDictionary.hpp
-memprofiler.cpp task.hpp
-memprofiler.cpp thread_<os_family>.inline.hpp
-memprofiler.cpp vmThread.hpp
-
-methodComparator.cpp globalDefinitions.hpp
-methodComparator.cpp handles.inline.hpp
-methodComparator.cpp jvmtiRedefineClassesTrace.hpp
-methodComparator.cpp methodComparator.hpp
-methodComparator.cpp oop.inline.hpp
-methodComparator.cpp symbolOop.hpp
-
-methodComparator.hpp bytecodeStream.hpp
-methodComparator.hpp constantPoolOop.hpp
-methodComparator.hpp methodOop.hpp
-
-methodDataKlass.cpp collectedHeap.inline.hpp
-methodDataKlass.cpp gcLocker.hpp
-methodDataKlass.cpp handles.inline.hpp
-methodDataKlass.cpp klassOop.hpp
-methodDataKlass.cpp markSweep.inline.hpp
-methodDataKlass.cpp methodDataKlass.hpp
-methodDataKlass.cpp methodDataOop.hpp
-methodDataKlass.cpp oop.inline.hpp
-methodDataKlass.cpp oop.inline2.hpp
-methodDataKlass.cpp resourceArea.hpp
-methodDataKlass.cpp universe.inline.hpp
-
-methodDataKlass.hpp klass.hpp
-
-methodDataOop.cpp bytecode.hpp
-methodDataOop.cpp bytecodeStream.hpp
-methodDataOop.cpp compilationPolicy.hpp
-methodDataOop.cpp deoptimization.hpp
-methodDataOop.cpp handles.inline.hpp
-methodDataOop.cpp linkResolver.hpp
-methodDataOop.cpp markSweep.inline.hpp
-methodDataOop.cpp methodDataOop.hpp
-methodDataOop.cpp oop.inline.hpp
-methodDataOop.cpp systemDictionary.hpp
-
-methodDataOop.hpp bytecodes.hpp
-methodDataOop.hpp oop.hpp
-methodDataOop.hpp orderAccess.hpp
-methodDataOop.hpp universe.hpp
-methodDataOop.hpp methodOop.hpp
-
-methodHandleWalk.hpp methodHandles.hpp
-
-methodHandleWalk.cpp methodHandleWalk.hpp
-methodHandleWalk.cpp oopFactory.hpp
-methodHandleWalk.cpp rewriter.hpp
-
-methodHandles.hpp frame.inline.hpp
-methodHandles.hpp globals.hpp
-methodHandles.hpp interfaceSupport.hpp
-methodHandles.hpp javaClasses.hpp
-methodHandles.hpp no_precompiled_headers
-methodHandles.hpp vmSymbols.hpp
-
-methodHandles.cpp allocation.inline.hpp
-methodHandles.cpp interpreter.hpp
-methodHandles.cpp javaCalls.hpp
-methodHandles.cpp methodHandles.hpp
-methodHandles.cpp oopFactory.hpp
-methodHandles.cpp reflection.hpp
-methodHandles.cpp signature.hpp
-methodHandles.cpp stubRoutines.hpp
-methodHandles.cpp symbolTable.hpp
-
-methodHandles_<arch>.cpp allocation.inline.hpp
-methodHandles_<arch>.cpp interpreter.hpp
-methodHandles_<arch>.cpp methodHandles.hpp
-
-methodKlass.cpp collectedHeap.inline.hpp
-methodKlass.cpp constMethodKlass.hpp
-methodKlass.cpp gcLocker.hpp
-methodKlass.cpp handles.inline.hpp
-methodKlass.cpp interpreter.hpp
-methodKlass.cpp javaClasses.hpp
-methodKlass.cpp klassOop.hpp
-methodKlass.cpp markSweep.inline.hpp
-methodKlass.cpp methodDataOop.hpp
-methodKlass.cpp methodKlass.hpp
-methodKlass.cpp oop.inline.hpp
-methodKlass.cpp oop.inline2.hpp
-methodKlass.cpp resourceArea.hpp
-methodKlass.cpp symbolOop.hpp
-methodKlass.cpp universe.inline.hpp
-
-methodKlass.hpp klass.hpp
-methodKlass.hpp klassOop.hpp
-methodKlass.hpp methodOop.hpp
-
-methodLiveness.cpp allocation.inline.hpp
-methodLiveness.cpp bitMap.inline.hpp
-methodLiveness.cpp bytecode.hpp
-methodLiveness.cpp bytecodes.hpp
-methodLiveness.cpp ciMethod.hpp
-methodLiveness.cpp ciMethodBlocks.hpp
-methodLiveness.cpp ciStreams.hpp
-methodLiveness.cpp methodLiveness.hpp
-
-methodLiveness.hpp bitMap.hpp
-methodLiveness.hpp growableArray.hpp
-
-methodOop.cpp arguments.hpp
-methodOop.cpp bytecodeStream.hpp
-methodOop.cpp bytecodeTracer.hpp
-methodOop.cpp bytecodes.hpp
-methodOop.cpp collectedHeap.inline.hpp
-methodOop.cpp compilationPolicy.hpp
-methodOop.cpp debugInfoRec.hpp
-methodOop.cpp frame.inline.hpp
-methodOop.cpp gcLocker.hpp
-methodOop.cpp gcTaskThread.hpp
-methodOop.cpp generation.hpp
-methodOop.cpp handles.inline.hpp
-methodOop.cpp interpreter.hpp
-methodOop.cpp jvmtiExport.hpp
-methodOop.cpp klassOop.hpp
-methodOop.cpp methodDataOop.hpp
-methodOop.cpp methodHandleWalk.hpp
-methodOop.cpp methodOop.hpp
-methodOop.cpp nativeLookup.hpp
-methodOop.cpp oop.inline.hpp
-methodOop.cpp oopFactory.hpp
-methodOop.cpp oopMapCache.hpp
-methodOop.cpp relocator.hpp
-methodOop.cpp sharedRuntime.hpp
-methodOop.cpp signature.hpp
-methodOop.cpp symbolOop.hpp
-methodOop.cpp systemDictionary.hpp
-methodOop.cpp xmlstream.hpp
-
-methodOop.hpp accessFlags.hpp
-methodOop.hpp compressedStream.hpp
-methodOop.hpp constMethodOop.hpp
-methodOop.hpp constantPoolOop.hpp
-methodOop.hpp growableArray.hpp
-methodOop.hpp instanceKlass.hpp
-methodOop.hpp invocationCounter.hpp
-methodOop.hpp oop.hpp
-methodOop.hpp oopMap.hpp
-methodOop.hpp typeArrayOop.hpp
-methodOop.hpp vmSymbols.hpp
-
-modRefBarrierSet.hpp barrierSet.hpp
-
-monitorChunk.cpp allocation.inline.hpp
-monitorChunk.cpp monitorChunk.hpp
-monitorChunk.cpp oop.inline.hpp
-
-monitorChunk.hpp synchronizer.hpp
-
-mutex.cpp events.hpp
-mutex.cpp mutex.hpp
-mutex.cpp mutex_<os_family>.inline.hpp
-mutex.cpp osThread.hpp
-mutex.cpp thread_<os_family>.inline.hpp
-
-mutex.hpp allocation.hpp
-mutex.hpp histogram.hpp
-mutex.hpp os.hpp
-
-mutexLocker.cpp mutexLocker.hpp
-mutexLocker.cpp safepoint.hpp
-mutexLocker.cpp threadLocalStorage.hpp
-mutexLocker.cpp thread_<os_family>.inline.hpp
-mutexLocker.cpp vmThread.hpp
-
-mutexLocker.hpp allocation.hpp
-mutexLocker.hpp mutex.hpp
-mutexLocker.hpp os_<os_family>.inline.hpp
-
-mutex_<os_family>.cpp events.hpp
-mutex_<os_family>.cpp interfaceSupport.hpp
-mutex_<os_family>.cpp mutex.hpp
-mutex_<os_family>.cpp mutex_<os_family>.inline.hpp
-mutex_<os_family>.cpp thread_<os_family>.inline.hpp
-
-mutex_<os_family>.inline.hpp interfaceSupport.hpp
-mutex_<os_family>.inline.hpp os_<os_family>.inline.hpp
-mutex_<os_family>.inline.hpp thread_<os_family>.inline.hpp
-
-nativeInst_<arch>.cpp assembler_<arch>.inline.hpp
-nativeInst_<arch>.cpp handles.hpp
-nativeInst_<arch>.cpp nativeInst_<arch>.hpp
-nativeInst_<arch>.cpp oop.inline.hpp
-nativeInst_<arch>.cpp ostream.hpp
-nativeInst_<arch>.cpp resourceArea.hpp
-nativeInst_<arch>.cpp sharedRuntime.hpp
-nativeInst_<arch>.cpp stubRoutines.hpp
-
-nativeInst_<arch>.hpp allocation.hpp
-nativeInst_<arch>.hpp assembler.hpp
-nativeInst_<arch>.hpp icache.hpp
-nativeInst_<arch>.hpp os.hpp
-nativeInst_<arch>.hpp top.hpp
-
-nativeLookup.cpp arguments.hpp
-nativeLookup.cpp handles.inline.hpp
-nativeLookup.cpp hpi.hpp
-nativeLookup.cpp instanceKlass.hpp
-nativeLookup.cpp javaCalls.hpp
-nativeLookup.cpp javaClasses.hpp
-nativeLookup.cpp jvm_misc.hpp
-nativeLookup.cpp methodOop.hpp
-nativeLookup.cpp nativeLookup.hpp
-nativeLookup.cpp oop.inline.hpp
-nativeLookup.cpp oopFactory.hpp
-nativeLookup.cpp os_<os_family>.inline.hpp
-nativeLookup.cpp resourceArea.hpp
-nativeLookup.cpp sharedRuntime.hpp
-nativeLookup.cpp signature.hpp
-nativeLookup.cpp symbolOop.hpp
-nativeLookup.cpp systemDictionary.hpp
-nativeLookup.cpp universe.inline.hpp
-nativeLookup.cpp vmSymbols.hpp
-
-nativeLookup.hpp handles.hpp
-nativeLookup.hpp top.hpp
-
-nmethod.cpp abstractCompiler.hpp
-nmethod.cpp bytecode.hpp
-nmethod.cpp codeCache.hpp
-nmethod.cpp compileLog.hpp
-nmethod.cpp compiledIC.hpp
-nmethod.cpp compilerOracle.hpp
-nmethod.cpp disassembler.hpp
-nmethod.cpp dtrace.hpp
-nmethod.cpp events.hpp
-nmethod.cpp jvmtiRedefineClassesTrace.hpp
-nmethod.cpp methodDataOop.hpp
-nmethod.cpp nmethod.hpp
-nmethod.cpp scopeDesc.hpp
-nmethod.cpp sharedRuntime.hpp
-nmethod.cpp sweeper.hpp
-nmethod.cpp xmlstream.hpp
-
-nmethod.hpp codeBlob.hpp
-nmethod.hpp pcDesc.hpp
-
-numberSeq.cpp debug.hpp
-numberSeq.cpp numberSeq.hpp
-numberSeq.cpp globalDefinitions.hpp
-numberSeq.cpp allocation.inline.hpp
-
-objArrayKlass.cpp collectedHeap.inline.hpp
-objArrayKlass.cpp copy.hpp
-objArrayKlass.cpp genOopClosures.inline.hpp
-objArrayKlass.cpp handles.inline.hpp
-objArrayKlass.cpp instanceKlass.hpp
-objArrayKlass.cpp markSweep.inline.hpp
-objArrayKlass.cpp mutexLocker.hpp
-objArrayKlass.cpp objArrayKlass.hpp
-objArrayKlass.cpp objArrayKlass.inline.hpp
-objArrayKlass.cpp objArrayKlassKlass.hpp
-objArrayKlass.cpp objArrayOop.hpp
-objArrayKlass.cpp oop.inline.hpp
-objArrayKlass.cpp oop.inline2.hpp
-objArrayKlass.cpp resourceArea.hpp
-objArrayKlass.cpp symbolOop.hpp
-objArrayKlass.cpp systemDictionary.hpp
-objArrayKlass.cpp universe.inline.hpp
-objArrayKlass.cpp vmSymbols.hpp
-
-objArrayKlass.hpp arrayKlass.hpp
-objArrayKlass.hpp instanceKlass.hpp
-objArrayKlass.hpp specialized_oop_closures.hpp
-
-objArrayKlass.inline.hpp objArrayKlass.hpp
-
-objArrayKlassKlass.cpp collectedHeap.inline.hpp
-objArrayKlassKlass.cpp instanceKlass.hpp
-objArrayKlassKlass.cpp javaClasses.hpp
-objArrayKlassKlass.cpp markSweep.inline.hpp
-objArrayKlassKlass.cpp objArrayKlassKlass.hpp
-objArrayKlassKlass.cpp oop.inline.hpp
-objArrayKlassKlass.cpp oop.inline2.hpp
-objArrayKlassKlass.cpp systemDictionary.hpp
-
-objArrayKlassKlass.hpp arrayKlassKlass.hpp
-objArrayKlassKlass.hpp objArrayKlass.hpp
-
-objArrayOop.cpp objArrayKlass.hpp
-objArrayOop.cpp objArrayOop.hpp
-objArrayOop.cpp oop.inline.hpp
-
-objArrayOop.hpp arrayOop.hpp
-
-objectMonitor.cpp dtrace.hpp
-objectMonitor.cpp handles.inline.hpp
-objectMonitor.cpp interfaceSupport.hpp
-objectMonitor.cpp markOop.hpp
-objectMonitor.cpp mutexLocker.hpp
-objectMonitor.cpp objectMonitor.hpp
-objectMonitor.cpp objectMonitor.inline.hpp
-objectMonitor.cpp oop.inline.hpp
-objectMonitor.cpp osThread.hpp
-objectMonitor.cpp os_<os_family>.inline.hpp
-objectMonitor.cpp preserveException.hpp
-objectMonitor.cpp resourceArea.hpp
-objectMonitor.cpp stubRoutines.hpp
-objectMonitor.cpp thread.hpp
-objectMonitor.cpp thread_<os_family>.inline.hpp
-objectMonitor.cpp threadService.hpp
-objectMonitor.cpp vmSymbols.hpp
-
-objectMonitor.hpp os.hpp
-objectMonitor.hpp perfData.hpp
-
-oop.cpp copy.hpp
-oop.cpp handles.inline.hpp
-oop.cpp javaClasses.hpp
-oop.cpp oop.inline.hpp
-oop.cpp thread_<os_family>.inline.hpp
-
-oop.hpp iterator.hpp
-oop.hpp memRegion.hpp
-oop.hpp specialized_oop_closures.hpp
-oop.hpp top.hpp
-
-oop.inline.hpp ageTable.hpp
-oop.inline.hpp arrayKlass.hpp
-oop.inline.hpp arrayOop.hpp
-oop.inline.hpp atomic.hpp
-oop.inline.hpp barrierSet.inline.hpp
-oop.inline.hpp bytes_<arch>.hpp
-oop.inline.hpp cardTableModRefBS.hpp
-oop.inline.hpp collectedHeap.inline.hpp
-oop.inline.hpp compactingPermGenGen.hpp
-oop.inline.hpp genCollectedHeap.hpp
-oop.inline.hpp generation.hpp
-oop.inline.hpp klass.hpp
-oop.inline.hpp klassOop.hpp
-oop.inline.hpp markOop.inline.hpp
-oop.inline.hpp markSweep.inline.hpp
-oop.inline.hpp oop.hpp
-oop.inline.hpp os.hpp
-oop.inline.hpp permGen.hpp
-oop.inline.hpp specialized_oop_closures.hpp
-
-oop.inline2.hpp collectedHeap.hpp
-oop.inline2.hpp generation.hpp
-oop.inline2.hpp oop.hpp
-oop.inline2.hpp permGen.hpp
-oop.inline2.hpp universe.hpp
-
-oopFactory.cpp collectedHeap.inline.hpp
-oopFactory.cpp compiledICHolderKlass.hpp
-oopFactory.cpp constMethodKlass.hpp
-oopFactory.cpp constantPoolKlass.hpp
-oopFactory.cpp cpCacheKlass.hpp
-oopFactory.cpp instanceKlass.hpp
-oopFactory.cpp instanceKlassKlass.hpp
-oopFactory.cpp instanceOop.hpp
-oopFactory.cpp javaClasses.hpp
-oopFactory.cpp klassKlass.hpp
-oopFactory.cpp klassOop.hpp
-oopFactory.cpp methodDataKlass.hpp
-oopFactory.cpp methodKlass.hpp
-oopFactory.cpp objArrayOop.hpp
-oopFactory.cpp oop.inline.hpp
-oopFactory.cpp oopFactory.hpp
-oopFactory.cpp resourceArea.hpp
-oopFactory.cpp symbolTable.hpp
-oopFactory.cpp systemDictionary.hpp
-oopFactory.cpp universe.inline.hpp
-oopFactory.cpp vmSymbols.hpp
-
-oopFactory.hpp growableArray.hpp
-oopFactory.hpp klassOop.hpp
-oopFactory.hpp objArrayKlass.hpp
-oopFactory.hpp oop.hpp
-oopFactory.hpp symbolTable.hpp
-oopFactory.hpp systemDictionary.hpp
-oopFactory.hpp typeArrayKlass.hpp
-oopFactory.hpp universe.hpp
-
-oopMap.cpp allocation.inline.hpp
-oopMap.cpp codeBlob.hpp
-oopMap.cpp codeCache.hpp
-oopMap.cpp collectedHeap.hpp
-oopMap.cpp frame.inline.hpp
-oopMap.cpp nmethod.hpp
-oopMap.cpp oopMap.hpp
-oopMap.cpp resourceArea.hpp
-oopMap.cpp scopeDesc.hpp
-oopMap.cpp signature.hpp
-
-oopMap.hpp allocation.hpp
-oopMapCache.cpp jvmtiRedefineClassesTrace.hpp
-oopMap.hpp compressedStream.hpp
-oopMap.hpp growableArray.hpp
-oopMap.hpp vmreg.hpp
-
-oopMapCache.cpp allocation.inline.hpp
-oopMapCache.cpp jvmtiRedefineClassesTrace.hpp
-oopMapCache.cpp handles.inline.hpp
-oopMapCache.cpp oop.inline.hpp
-oopMapCache.cpp oopMapCache.hpp
-oopMapCache.cpp resourceArea.hpp
-oopMapCache.cpp signature.hpp
-
-oopMapCache.hpp generateOopMap.hpp
-
-oopRecorder.cpp allocation.inline.hpp
-oopRecorder.cpp oop.inline.hpp
-oopRecorder.cpp oopRecorder.hpp
-
-oopRecorder.hpp growableArray.hpp
-oopRecorder.hpp handles.hpp
-
-oopsHierarchy.cpp collectedHeap.hpp
-oopsHierarchy.cpp collectedHeap.inline.hpp
-oopsHierarchy.cpp globalDefinitions.hpp
-oopsHierarchy.cpp oopsHierarchy.hpp
-oopsHierarchy.cpp thread.hpp
-oopsHierarchy.cpp thread_<os_family>.inline.hpp
-
-orderAccess.cpp orderAccess.hpp
-orderAccess.cpp stubRoutines.hpp
-orderAccess.cpp thread.hpp
-
-orderAccess.hpp allocation.hpp
-orderAccess.hpp os.hpp
-
-orderAccess_<os_arch>.inline.hpp orderAccess.hpp
-orderAccess_<os_arch>.inline.hpp vm_version_<arch>.hpp
-
-os.cpp allocation.inline.hpp
-os.cpp arguments.hpp
-os.cpp attachListener.hpp
-os.cpp classLoader.hpp
-os.cpp defaultStream.hpp
-os.cpp events.hpp
-os.cpp frame.inline.hpp
-os.cpp hpi.hpp
-os.cpp icBuffer.hpp
-os.cpp interfaceSupport.hpp
-os.cpp interpreter.hpp
-os.cpp java.hpp
-os.cpp javaCalls.hpp
-os.cpp javaClasses.hpp
-os.cpp jvm.h
-os.cpp jvm_misc.hpp
-os.cpp mutexLocker.hpp
-os.cpp oop.inline.hpp
-os.cpp os.hpp
-os.cpp os_<os_family>.inline.hpp
-os.cpp privilegedStack.hpp
-os.cpp stubRoutines.hpp
-os.cpp systemDictionary.hpp
-os.cpp threadService.hpp
-os.cpp thread_<os_family>.inline.hpp
-os.cpp vmGCOperations.hpp
-os.cpp vmSymbols.hpp
-os.cpp vtableStubs.hpp
-
-os.hpp atomic.hpp
-os.hpp extendedPC.hpp
-os.hpp handles.hpp
-os.hpp jvmti.h
-os.hpp top.hpp
-
-os_<os_arch>.cpp allocation.inline.hpp
-os_<os_arch>.cpp arguments.hpp
-os_<os_arch>.cpp assembler_<arch>.inline.hpp
-os_<os_arch>.cpp classLoader.hpp
-os_<os_arch>.cpp events.hpp
-os_<os_arch>.cpp extendedPC.hpp
-os_<os_arch>.cpp frame.inline.hpp
-os_<os_arch>.cpp hpi.hpp
-os_<os_arch>.cpp icBuffer.hpp
-os_<os_arch>.cpp interfaceSupport.hpp
-os_<os_arch>.cpp interpreter.hpp
-os_<os_arch>.cpp java.hpp
-os_<os_arch>.cpp javaCalls.hpp
-os_<os_arch>.cpp jniFastGetField.hpp
-os_<os_arch>.cpp jvm.h
-os_<os_arch>.cpp jvm_<os_family>.h
-os_<os_arch>.cpp jvm_misc.hpp
-os_<os_arch>.cpp mutexLocker.hpp
-os_<os_arch>.cpp mutex_<os_family>.inline.hpp
-os_<os_arch>.cpp nativeInst_<arch>.hpp
-os_<os_arch>.cpp no_precompiled_headers
-os_<os_arch>.cpp osThread.hpp
-os_<os_arch>.cpp os_share_<os_family>.hpp
-os_<os_arch>.cpp sharedRuntime.hpp
-os_<os_arch>.cpp stubRoutines.hpp
-os_<os_arch>.cpp systemDictionary.hpp
-os_<os_arch>.cpp thread_<os_family>.inline.hpp
-os_<os_arch>.cpp timer.hpp
-os_<os_arch>.cpp vmError.hpp
-os_<os_arch>.cpp vmSymbols.hpp
-os_<os_arch>.cpp vtableStubs.hpp
-
-os_<os_arch>.hpp generate_platform_dependent_include
-
-os_<os_family>.cpp allocation.inline.hpp
-os_<os_family>.cpp arguments.hpp
-os_<os_family>.cpp assembler_<arch>.inline.hpp
-os_<os_family>.cpp attachListener.hpp
-os_<os_family>.cpp classLoader.hpp
-os_<os_family>.cpp compileBroker.hpp
-os_<os_family>.cpp defaultStream.hpp
-os_<os_family>.cpp events.hpp
-os_<os_family>.cpp extendedPC.hpp
-os_<os_family>.cpp filemap.hpp
-os_<os_family>.cpp globals.hpp
-os_<os_family>.cpp growableArray.hpp
-os_<os_family>.cpp hpi.hpp
-os_<os_family>.cpp icBuffer.hpp
-os_<os_family>.cpp interfaceSupport.hpp
-os_<os_family>.cpp interpreter.hpp
-os_<os_family>.cpp java.hpp
-os_<os_family>.cpp javaCalls.hpp
-os_<os_family>.cpp jniFastGetField.hpp
-os_<os_family>.cpp jvm.h
-os_<os_family>.cpp jvm_<os_family>.h
-os_<os_family>.cpp jvm_misc.hpp
-os_<os_family>.cpp mutexLocker.hpp
-os_<os_family>.cpp mutex_<os_family>.inline.hpp
-os_<os_family>.cpp nativeInst_<arch>.hpp
-os_<os_family>.cpp no_precompiled_headers
-os_<os_family>.cpp objectMonitor.hpp
-os_<os_family>.cpp oop.inline.hpp
-os_<os_family>.cpp osThread.hpp
-os_<os_family>.cpp os_share_<os_family>.hpp
-os_<os_family>.cpp perfMemory.hpp
-os_<os_family>.cpp runtimeService.hpp
-os_<os_family>.cpp sharedRuntime.hpp
-os_<os_family>.cpp statSampler.hpp
-os_<os_family>.cpp stubRoutines.hpp
-os_<os_family>.cpp systemDictionary.hpp
-os_<os_family>.cpp threadCritical.hpp
-os_<os_family>.cpp thread_<os_family>.inline.hpp
-os_<os_family>.cpp timer.hpp
-os_<os_family>.cpp vmError.hpp
-os_<os_family>.cpp vmSymbols.hpp
-os_<os_family>.cpp vtableStubs.hpp
-
-os_<os_family>.hpp generate_platform_dependent_include
-
-os_<os_family>.inline.hpp atomic.hpp
-os_<os_family>.inline.hpp atomic_<os_arch>.inline.hpp
-os_<os_family>.inline.hpp orderAccess_<os_arch>.inline.hpp
-os_<os_family>.inline.hpp os.hpp
-
-osThread.cpp oop.inline.hpp
-osThread.cpp osThread.hpp
-
-osThread.hpp frame.hpp
-osThread.hpp handles.hpp
-osThread.hpp hpi.hpp
-osThread.hpp javaFrameAnchor.hpp
-osThread.hpp objectMonitor.hpp
-osThread.hpp top.hpp
-
-osThread_<os_family>.cpp assembler_<arch>.inline.hpp
-osThread_<os_family>.cpp atomic.hpp
-osThread_<os_family>.cpp handles.inline.hpp
-osThread_<os_family>.cpp mutexLocker.hpp
-osThread_<os_family>.cpp no_precompiled_headers
-osThread_<os_family>.cpp os.hpp
-osThread_<os_family>.cpp osThread.hpp
-osThread_<os_family>.cpp safepoint.hpp
-osThread_<os_family>.cpp vmThread.hpp
-
-osThread_<os_family>.hpp generate_platform_dependent_include
-
-ostream.cpp arguments.hpp
-ostream.cpp compileLog.hpp
-ostream.cpp defaultStream.hpp
-ostream.cpp oop.inline.hpp
-ostream.cpp os_<os_family>.inline.hpp
-ostream.cpp hpi.hpp
-ostream.cpp hpi_<os_family>.hpp
-ostream.cpp ostream.hpp
-ostream.cpp top.hpp
-ostream.cpp xmlstream.hpp
-
-ostream.hpp allocation.hpp
-ostream.hpp timer.hpp
-
-// include thread.hpp to prevent cyclic includes
-park.cpp thread.hpp
-
-park.hpp debug.hpp
-park.hpp globalDefinitions.hpp
-
-pcDesc.cpp debugInfoRec.hpp
-pcDesc.cpp nmethod.hpp
-pcDesc.cpp pcDesc.hpp
-pcDesc.cpp resourceArea.hpp
-pcDesc.cpp scopeDesc.hpp
-
-pcDesc.hpp allocation.hpp
-
-perf.cpp allocation.inline.hpp
-perf.cpp interfaceSupport.hpp
-perf.cpp jni.h
-perf.cpp jvm.h
-perf.cpp oop.inline.hpp
-perf.cpp perfData.hpp
-perf.cpp perfMemory.hpp
-perf.cpp resourceArea.hpp
-perf.cpp vmSymbols.hpp
-
-perfData.cpp exceptions.hpp
-perfData.cpp globalDefinitions.hpp
-perfData.cpp handles.inline.hpp
-perfData.cpp java.hpp
-perfData.cpp mutex.hpp
-perfData.cpp mutexLocker.hpp
-perfData.cpp oop.inline.hpp
-perfData.cpp os.hpp
-perfData.cpp perfData.hpp
-perfData.cpp vmSymbols.hpp
-
-perfData.hpp allocation.inline.hpp
-perfData.hpp growableArray.hpp
-perfData.hpp perfMemory.hpp
-perfData.hpp timer.hpp
-
-perfMemory.cpp allocation.inline.hpp
-perfMemory.cpp arguments.hpp
-perfMemory.cpp globalDefinitions.hpp
-perfMemory.cpp java.hpp
-perfMemory.cpp mutex.hpp
-perfMemory.cpp mutexLocker.hpp
-perfMemory.cpp os.hpp
-perfMemory.cpp perfData.hpp
-perfMemory.cpp perfMemory.hpp
-perfMemory.cpp statSampler.hpp
-
-perfMemory.hpp exceptions.hpp
-
-perfMemory_<os_family>.cpp allocation.inline.hpp
-perfMemory_<os_family>.cpp exceptions.hpp
-perfMemory_<os_family>.cpp handles.inline.hpp
-perfMemory_<os_family>.cpp oop.inline.hpp
-perfMemory_<os_family>.cpp os_<os_family>.inline.hpp
-perfMemory_<os_family>.cpp perfMemory.hpp
-perfMemory_<os_family>.cpp resourceArea.hpp
-perfMemory_<os_family>.cpp vmSymbols.hpp
-
-permGen.cpp blockOffsetTable.inline.hpp
-permGen.cpp cSpaceCounters.hpp
-permGen.cpp collectedHeap.inline.hpp
-permGen.cpp compactPermGen.hpp
-permGen.cpp genCollectedHeap.hpp
-permGen.cpp generation.inline.hpp
-permGen.cpp java.hpp
-permGen.cpp oop.inline.hpp
-permGen.cpp permGen.hpp
-permGen.cpp universe.hpp
-permGen.cpp gcLocker.hpp
-permGen.cpp gcLocker.inline.hpp
-permGen.cpp vmGCOperations.hpp
-permGen.cpp vmThread.hpp
-
-permGen.hpp gcCause.hpp
-permGen.hpp generation.hpp
-permGen.hpp handles.hpp
-permGen.hpp iterator.hpp
-permGen.hpp mutexLocker.hpp
-permGen.hpp virtualspace.hpp
-
-placeholders.cpp fieldType.hpp
-placeholders.cpp hashtable.inline.hpp
-placeholders.cpp oop.inline.hpp
-placeholders.cpp placeholders.hpp
-placeholders.cpp systemDictionary.hpp
-
-placeholders.hpp hashtable.hpp
-
-prefetch.hpp allocation.hpp
-
-prefetch_<os_arch>.inline.hpp prefetch.hpp
-
-preserveException.cpp handles.inline.hpp
-preserveException.cpp preserveException.hpp
-
-preserveException.hpp handles.hpp
-preserveException.hpp thread_<os_family>.inline.hpp
-
-privilegedStack.cpp allocation.inline.hpp
-privilegedStack.cpp instanceKlass.hpp
-privilegedStack.cpp methodOop.hpp
-privilegedStack.cpp oop.inline.hpp
-privilegedStack.cpp privilegedStack.hpp
-privilegedStack.cpp vframe.hpp
-
-privilegedStack.hpp allocation.hpp
-privilegedStack.hpp growableArray.hpp
-privilegedStack.hpp oopsHierarchy.hpp
-privilegedStack.hpp vframe.hpp
-
-referencePolicy.cpp arguments.hpp
-referencePolicy.cpp globals.hpp
-referencePolicy.cpp javaClasses.hpp
-referencePolicy.cpp referencePolicy.hpp
-referencePolicy.cpp universe.hpp
-
-referenceProcessor.cpp collectedHeap.hpp
-referenceProcessor.cpp collectedHeap.inline.hpp
-referenceProcessor.cpp java.hpp
-referenceProcessor.cpp javaClasses.hpp
-referenceProcessor.cpp jniHandles.hpp
-referenceProcessor.cpp oop.inline.hpp
-referenceProcessor.cpp referencePolicy.hpp
-referenceProcessor.cpp referenceProcessor.hpp
-referenceProcessor.cpp systemDictionary.hpp
-
-referenceProcessor.hpp instanceRefKlass.hpp
-referenceProcessor.hpp referencePolicy.hpp
-
-reflection.cpp arguments.hpp
-reflection.cpp handles.inline.hpp
-reflection.cpp instanceKlass.hpp
-reflection.cpp javaCalls.hpp
-reflection.cpp javaClasses.hpp
-reflection.cpp jvm.h
-reflection.cpp linkResolver.hpp
-reflection.cpp methodHandleWalk.hpp
-reflection.cpp objArrayKlass.hpp
-reflection.cpp objArrayOop.hpp
-reflection.cpp oopFactory.hpp
-reflection.cpp reflection.hpp
-reflection.cpp reflectionUtils.hpp
-reflection.cpp resourceArea.hpp
-reflection.cpp signature.hpp
-reflection.cpp symbolTable.hpp
-reflection.cpp systemDictionary.hpp
-reflection.cpp universe.inline.hpp
-reflection.cpp verifier.hpp
-reflection.cpp vframe.hpp
-reflection.cpp vmSymbols.hpp
-
-reflection.hpp accessFlags.hpp
-reflection.hpp fieldDescriptor.hpp
-reflection.hpp growableArray.hpp
-reflection.hpp oop.hpp
-reflection.hpp reflectionCompat.hpp
-
-reflectionUtils.cpp javaClasses.hpp
-reflectionUtils.cpp reflectionUtils.hpp
-reflectionUtils.cpp universe.inline.hpp
-
-reflectionUtils.hpp accessFlags.hpp
-reflectionUtils.hpp allocation.hpp
-reflectionUtils.hpp globalDefinitions.hpp
-reflectionUtils.hpp handles.inline.hpp
-reflectionUtils.hpp instanceKlass.hpp
-reflectionUtils.hpp objArrayOop.hpp
-reflectionUtils.hpp oopsHierarchy.hpp
-reflectionUtils.hpp reflection.hpp
-
-register.cpp register.hpp
-
-register.hpp top.hpp
-
-register_<arch>.cpp register_<arch>.hpp
-
-register_<arch>.hpp register.hpp
-register_<arch>.hpp vm_version_<arch>.hpp
-
-registerMap.hpp globalDefinitions.hpp
-registerMap.hpp register_<arch>.hpp
-registerMap.hpp vmreg.hpp
-
-registerMap_<arch>.hpp generate_platform_dependent_include
-
-register_definitions_<arch>.cpp assembler.hpp
-register_definitions_<arch>.cpp interp_masm_<arch_model>.hpp
-register_definitions_<arch>.cpp register.hpp
-register_definitions_<arch>.cpp register_<arch>.hpp
-
-relocInfo.cpp assembler_<arch>.inline.hpp
-relocInfo.cpp compiledIC.hpp
-relocInfo.cpp copy.hpp
-relocInfo.cpp nativeInst_<arch>.hpp
-relocInfo.cpp nmethod.hpp
-relocInfo.cpp relocInfo.hpp
-relocInfo.cpp resourceArea.hpp
-relocInfo.cpp stubCodeGenerator.hpp
-
-relocInfo.hpp allocation.hpp
-relocInfo.hpp top.hpp
-
-relocInfo_<arch>.cpp assembler.inline.hpp
-relocInfo_<arch>.cpp assembler_<arch>.inline.hpp
-relocInfo_<arch>.cpp nativeInst_<arch>.hpp
-relocInfo_<arch>.cpp oop.inline.hpp
-relocInfo_<arch>.cpp relocInfo.hpp
-relocInfo_<arch>.cpp safepoint.hpp
-
-relocInfo_<arch>.hpp generate_platform_dependent_include
-
-relocator.cpp bytecodes.hpp
-relocator.cpp handles.inline.hpp
-relocator.cpp oop.inline.hpp
-relocator.cpp oopFactory.hpp
-relocator.cpp relocator.hpp
-relocator.cpp stackMapTableFormat.hpp
-relocator.cpp universe.inline.hpp
-
-relocator.hpp bytecodes.hpp
-relocator.hpp bytes_<arch>.hpp
-relocator.hpp methodOop.hpp
-
-resolutionErrors.cpp handles.inline.hpp
-resolutionErrors.cpp hashtable.inline.hpp
-resolutionErrors.cpp oop.inline.hpp
-resolutionErrors.cpp resolutionErrors.hpp
-resolutionErrors.cpp resourceArea.hpp
-resolutionErrors.cpp safepoint.hpp
-
-resolutionErrors.hpp constantPoolOop.hpp
-resolutionErrors.hpp hashtable.hpp
-
-resourceArea.cpp allocation.inline.hpp
-resourceArea.cpp mutexLocker.hpp
-resourceArea.cpp resourceArea.hpp
-resourceArea.cpp thread_<os_family>.inline.hpp
-
-resourceArea.hpp allocation.hpp
-resourceArea.hpp thread_<os_family>.inline.hpp
-
-// restore is jck optional, put cpp deps in includeDB_features
-
-rewriter.cpp bytecodes.hpp
-rewriter.cpp gcLocker.hpp
-rewriter.cpp generateOopMap.hpp
-rewriter.cpp interpreter.hpp
-rewriter.cpp methodComparator.hpp
-rewriter.cpp objArrayOop.hpp
-rewriter.cpp oop.inline.hpp
-rewriter.cpp oopFactory.hpp
-rewriter.cpp resourceArea.hpp
-rewriter.cpp rewriter.hpp
-
-rewriter.hpp allocation.hpp
-rewriter.hpp growableArray.hpp
-rewriter.hpp handles.inline.hpp
-
-rframe.cpp frame.inline.hpp
-rframe.cpp interpreter.hpp
-rframe.cpp oop.inline.hpp
-rframe.cpp rframe.hpp
-rframe.cpp symbolOop.hpp
-rframe.cpp vframe.hpp
-rframe.cpp vframe_hp.hpp
-
-rframe.hpp allocation.hpp
-rframe.hpp frame.inline.hpp
-
-runtimeService.cpp attachListener.hpp
-runtimeService.cpp classLoader.hpp
-runtimeService.cpp dtrace.hpp
-runtimeService.cpp exceptions.hpp
-runtimeService.cpp management.hpp
-runtimeService.cpp runtimeService.hpp
-
-runtimeService.hpp perfData.hpp
-runtimeService.hpp timer.hpp
-
-safepoint.cpp codeCache.hpp
-safepoint.cpp collectedHeap.hpp
-safepoint.cpp compilationPolicy.hpp
-safepoint.cpp deoptimization.hpp
-safepoint.cpp events.hpp
-safepoint.cpp frame.inline.hpp
-safepoint.cpp icBuffer.hpp
-safepoint.cpp interfaceSupport.hpp
-safepoint.cpp interpreter.hpp
-safepoint.cpp mutexLocker.hpp
-safepoint.cpp nativeInst_<arch>.hpp
-safepoint.cpp nmethod.hpp
-safepoint.cpp oop.inline.hpp
-safepoint.cpp osThread.hpp
-safepoint.cpp pcDesc.hpp
-safepoint.cpp resourceArea.hpp
-safepoint.cpp runtimeService.hpp
-safepoint.cpp safepoint.hpp
-safepoint.cpp scopeDesc.hpp
-safepoint.cpp signature.hpp
-safepoint.cpp stubCodeGenerator.hpp
-safepoint.cpp stubRoutines.hpp
-safepoint.cpp sweeper.hpp
-safepoint.cpp symbolOop.hpp
-safepoint.cpp synchronizer.hpp
-safepoint.cpp systemDictionary.hpp
-safepoint.cpp thread_<os_family>.inline.hpp
-safepoint.cpp universe.inline.hpp
-safepoint.cpp vmreg_<arch>.inline.hpp
-
-safepoint.hpp allocation.hpp
-safepoint.hpp assembler.hpp
-safepoint.hpp extendedPC.hpp
-safepoint.hpp nmethod.hpp
-safepoint.hpp os.hpp
-safepoint.hpp ostream.hpp
-
-scopeDesc.cpp debugInfoRec.hpp
-scopeDesc.cpp handles.inline.hpp
-scopeDesc.cpp oop.inline.hpp
-scopeDesc.cpp pcDesc.hpp
-scopeDesc.cpp resourceArea.hpp
-scopeDesc.cpp scopeDesc.hpp
-
-scopeDesc.hpp debugInfo.hpp
-scopeDesc.hpp growableArray.hpp
-scopeDesc.hpp methodOop.hpp
-scopeDesc.hpp pcDesc.hpp
-
-// serialize is jck optional, put cpp deps in includeDB_features
-
-serviceUtil.hpp objArrayOop.hpp
-serviceUtil.hpp systemDictionary.hpp
-
-sharedHeap.cpp codeCache.hpp
-sharedHeap.cpp collectedHeap.inline.hpp
-sharedHeap.cpp copy.hpp
-sharedHeap.cpp fprofiler.hpp
-sharedHeap.cpp java.hpp
-sharedHeap.cpp management.hpp
-sharedHeap.cpp oop.inline.hpp
-sharedHeap.cpp sharedHeap.hpp
-sharedHeap.cpp symbolTable.hpp
-sharedHeap.cpp systemDictionary.hpp
-sharedHeap.cpp workgroup.hpp
-
-sharedHeap.hpp collectedHeap.hpp
-sharedHeap.hpp generation.hpp
-sharedHeap.hpp permGen.hpp
-
-sharedRuntime.cpp abstractCompiler.hpp
-sharedRuntime.cpp arguments.hpp
-sharedRuntime.cpp biasedLocking.hpp
-sharedRuntime.cpp compileBroker.hpp
-sharedRuntime.cpp compiledIC.hpp
-sharedRuntime.cpp compilerOracle.hpp
-sharedRuntime.cpp copy.hpp
-sharedRuntime.cpp dtrace.hpp
-sharedRuntime.cpp events.hpp
-sharedRuntime.cpp forte.hpp
-sharedRuntime.cpp gcLocker.inline.hpp
-sharedRuntime.cpp handles.inline.hpp
-sharedRuntime.cpp hashtable.inline.hpp
-sharedRuntime.cpp init.hpp
-sharedRuntime.cpp interfaceSupport.hpp
-sharedRuntime.cpp interpreterRuntime.hpp
-sharedRuntime.cpp interpreter.hpp
-sharedRuntime.cpp javaCalls.hpp
-sharedRuntime.cpp jvmtiExport.hpp
-sharedRuntime.cpp methodHandles.hpp
-sharedRuntime.cpp jvmtiRedefineClassesTrace.hpp
-sharedRuntime.cpp nativeInst_<arch>.hpp
-sharedRuntime.cpp nativeLookup.hpp
-sharedRuntime.cpp oop.inline.hpp
-sharedRuntime.cpp scopeDesc.hpp
-sharedRuntime.cpp sharedRuntime.hpp
-sharedRuntime.cpp stubRoutines.hpp
-sharedRuntime.cpp systemDictionary.hpp
-sharedRuntime.cpp universe.inline.hpp
-sharedRuntime.cpp vframe.hpp
-sharedRuntime.cpp vframeArray.hpp
-sharedRuntime.cpp vmSymbols.hpp
-sharedRuntime.cpp vmreg_<arch>.inline.hpp
-sharedRuntime.cpp vtableStubs.hpp
-sharedRuntime.cpp xmlstream.hpp
-
-sharedRuntime.hpp allocation.hpp
-sharedRuntime.hpp bytecodeHistogram.hpp
-sharedRuntime.hpp bytecodeTracer.hpp
-sharedRuntime.hpp hashtable.hpp
-sharedRuntime.hpp linkResolver.hpp
-sharedRuntime.hpp resourceArea.hpp
-sharedRuntime.hpp threadLocalStorage.hpp
-
-sharedRuntime_<arch_model>.cpp assembler.hpp
-sharedRuntime_<arch_model>.cpp assembler_<arch>.inline.hpp
-sharedRuntime_<arch_model>.cpp compiledICHolderOop.hpp
-sharedRuntime_<arch_model>.cpp debugInfoRec.hpp
-sharedRuntime_<arch_model>.cpp icBuffer.hpp
-sharedRuntime_<arch_model>.cpp interpreter.hpp
-sharedRuntime_<arch_model>.cpp jvmtiRedefineClassesTrace.hpp
-sharedRuntime_<arch_model>.cpp sharedRuntime.hpp
-sharedRuntime_<arch_model>.cpp vframeArray.hpp
-sharedRuntime_<arch_model>.cpp vmreg_<arch>.inline.hpp
-sharedRuntime_<arch_model>.cpp vtableStubs.hpp
-
-sharedRuntimeTrans.cpp interfaceSupport.hpp
-sharedRuntimeTrans.cpp jni.h
-sharedRuntimeTrans.cpp sharedRuntime.hpp
-
-sharedRuntimeTrig.cpp interfaceSupport.hpp
-sharedRuntimeTrig.cpp jni.h
-sharedRuntimeTrig.cpp sharedRuntime.hpp
-
-signature.cpp instanceKlass.hpp
-signature.cpp oop.inline.hpp
-signature.cpp oopFactory.hpp
-signature.cpp signature.hpp
-signature.cpp symbolOop.hpp
-signature.cpp symbolTable.hpp
-signature.cpp systemDictionary.hpp
-signature.cpp typeArrayKlass.hpp
-
-signature.hpp allocation.hpp
-signature.hpp methodOop.hpp
-signature.hpp top.hpp
-
-simpleThresholdPolicy.cpp arguments.hpp
-simpleThresholdPolicy.cpp compileBroker.hpp
-simpleThresholdPolicy.cpp resourceArea.hpp
-simpleThresholdPolicy.cpp simpleThresholdPolicy.hpp
-simpleThresholdPolicy.cpp simpleThresholdPolicy.inline.hpp
-
-simpleThresholdPolicy.hpp compilationPolicy.hpp
-simpleThresholdPolicy.hpp globalDefinitions.hpp
-simpleThresholdPolicy.hpp methodDataOop.hpp
-simpleThresholdPolicy.hpp nmethod.hpp
-
-sizes.cpp sizes.hpp
-
-sizes.hpp allocation.hpp
-sizes.hpp globalDefinitions.hpp
-
-space.cpp blockOffsetTable.inline.hpp
-space.cpp copy.hpp
-space.cpp defNewGeneration.hpp
-space.cpp genCollectedHeap.hpp
-space.cpp globalDefinitions.hpp
-space.cpp java.hpp
-space.cpp liveRange.hpp
-space.cpp markSweep.hpp
-space.cpp oop.inline.hpp
-space.cpp oop.inline2.hpp
-space.cpp safepoint.hpp
-space.cpp space.hpp
-space.cpp space.inline.hpp
-space.cpp spaceDecorator.hpp
-space.cpp systemDictionary.hpp
-space.cpp universe.inline.hpp
-space.cpp vmSymbols.hpp
-
-space.hpp allocation.hpp
-space.hpp blockOffsetTable.hpp
-space.hpp cardTableModRefBS.hpp
-space.hpp iterator.hpp
-space.hpp markOop.hpp
-space.hpp memRegion.hpp
-space.hpp mutexLocker.hpp
-space.hpp os_<os_family>.inline.hpp
-space.hpp prefetch.hpp
-space.hpp watermark.hpp
-space.hpp workgroup.hpp
-
-space.inline.hpp collectedHeap.hpp
-space.inline.hpp safepoint.hpp
-space.inline.hpp space.hpp
-space.inline.hpp universe.hpp
-
-spaceDecorator.hpp globalDefinitions.hpp
-spaceDecorator.hpp mutableSpace.hpp
-spaceDecorator.hpp space.hpp
-
-spaceDecorator.cpp copy.hpp
-spaceDecorator.cpp spaceDecorator.hpp
-spaceDecorator.cpp space.inline.hpp
-
-specialized_oop_closures.cpp ostream.hpp
-specialized_oop_closures.cpp specialized_oop_closures.hpp
-
-specialized_oop_closures.hpp atomic.hpp
-
-stack.hpp allocation.inline.hpp
-
-stack.inline.hpp stack.hpp
-
-stackMapFrame.cpp globalDefinitions.hpp
-stackMapFrame.cpp handles.inline.hpp
-stackMapFrame.cpp oop.inline.hpp
-stackMapFrame.cpp resourceArea.hpp
-stackMapFrame.cpp stackMapFrame.hpp
-stackMapFrame.cpp symbolOop.hpp
-stackMapFrame.cpp verifier.hpp
-
-stackMapFrame.hpp exceptions.hpp
-stackMapFrame.hpp handles.hpp
-stackMapFrame.hpp methodOop.hpp
-stackMapFrame.hpp signature.hpp
-stackMapFrame.hpp verificationType.hpp
-stackMapFrame.hpp verifier.hpp
-
-stackMapTable.cpp fieldType.hpp
-stackMapTable.cpp handles.inline.hpp
-stackMapTable.cpp oop.inline.hpp
-stackMapTable.cpp resourceArea.hpp
-stackMapTable.cpp stackMapTable.hpp
-stackMapTable.cpp verifier.hpp
-
-stackMapTable.hpp allocation.hpp
-stackMapTable.hpp bytes_<arch>.hpp
-stackMapTable.hpp constantPoolOop.hpp
-stackMapTable.hpp globalDefinitions.hpp
-stackMapTable.hpp methodOop.hpp
-stackMapTable.hpp stackMapFrame.hpp
-
-stackMapTableFormat.hpp verificationType.hpp
-
-stackValue.cpp debugInfo.hpp
-stackValue.cpp frame.inline.hpp
-stackValue.cpp handles.inline.hpp
-stackValue.cpp oop.inline.hpp
-stackValue.cpp stackValue.hpp
-
-stackValue.hpp handles.hpp
-stackValue.hpp location.hpp
-stackValue.hpp top.hpp
-
-stackValueCollection.cpp jniTypes_<arch>.hpp
-stackValueCollection.cpp stackValueCollection.hpp
-
-stackValueCollection.hpp allocation.hpp
-stackValueCollection.hpp growableArray.hpp
-stackValueCollection.hpp stackValue.hpp
-
-statSampler.cpp allocation.inline.hpp
-statSampler.cpp arguments.hpp
-statSampler.cpp java.hpp
-statSampler.cpp javaCalls.hpp
-statSampler.cpp oop.inline.hpp
-statSampler.cpp os.hpp
-statSampler.cpp resourceArea.hpp
-statSampler.cpp statSampler.hpp
-statSampler.cpp systemDictionary.hpp
-statSampler.cpp vmSymbols.hpp
-statSampler.cpp vm_version_<arch>.hpp
-
-statSampler.hpp perfData.hpp
-statSampler.hpp task.hpp
-
-stubCodeGenerator.cpp assembler_<arch>.inline.hpp
-stubCodeGenerator.cpp disassembler.hpp
-stubCodeGenerator.cpp forte.hpp
-stubCodeGenerator.cpp oop.inline.hpp
-stubCodeGenerator.cpp stubCodeGenerator.hpp
-
-stubCodeGenerator.hpp allocation.hpp
-stubCodeGenerator.hpp assembler.hpp
-
-stubGenerator_<arch_model>.cpp assembler.hpp
-stubGenerator_<arch_model>.cpp assembler_<arch>.inline.hpp
-stubGenerator_<arch_model>.cpp frame.inline.hpp
-stubGenerator_<arch_model>.cpp handles.inline.hpp
-stubGenerator_<arch_model>.cpp instanceOop.hpp
-stubGenerator_<arch_model>.cpp interpreter.hpp
-stubGenerator_<arch_model>.cpp methodHandles.hpp
-stubGenerator_<arch_model>.cpp methodOop.hpp
-stubGenerator_<arch_model>.cpp nativeInst_<arch>.hpp
-stubGenerator_<arch_model>.cpp objArrayKlass.hpp
-stubGenerator_<arch_model>.cpp oop.inline.hpp
-stubGenerator_<arch_model>.cpp sharedRuntime.hpp
-stubGenerator_<arch_model>.cpp stubCodeGenerator.hpp
-stubGenerator_<arch_model>.cpp stubRoutines.hpp
-stubGenerator_<arch_model>.cpp thread_<os_family>.inline.hpp
-stubGenerator_<arch_model>.cpp top.hpp
-
-stubRoutines.cpp codeBuffer.hpp
-stubRoutines.cpp copy.hpp
-stubRoutines.cpp interfaceSupport.hpp
-stubRoutines.cpp oop.inline.hpp
-stubRoutines.cpp resourceArea.hpp
-stubRoutines.cpp sharedRuntime.hpp
-stubRoutines.cpp stubRoutines.hpp
-stubRoutines.cpp timer.hpp
-
-stubRoutines.hpp allocation.hpp
-stubRoutines.hpp codeBlob.hpp
-stubRoutines.hpp frame.hpp
-stubRoutines.hpp mutexLocker.hpp
-stubRoutines.hpp nativeInst_<arch>.hpp
-stubRoutines.hpp stubCodeGenerator.hpp
-stubRoutines.hpp top.hpp
-
-stubRoutines_<arch_model>.cpp deoptimization.hpp
-stubRoutines_<arch_model>.cpp frame.inline.hpp
-stubRoutines_<arch_model>.cpp stubRoutines.hpp
-stubRoutines_<arch_model>.cpp thread_<os_family>.inline.hpp
-
-stubRoutines_<arch_model>.hpp generate_platform_dependent_include
-
-stubRoutines_<os_family>.cpp os.hpp
-stubRoutines_<os_family>.cpp stubRoutines.hpp
-
-stubs.cpp allocation.inline.hpp
-stubs.cpp codeBlob.hpp
-stubs.cpp mutexLocker.hpp
-stubs.cpp oop.inline.hpp
-stubs.cpp stubs.hpp
-
-stubs.hpp allocation.hpp
-stubs.hpp os_<os_family>.inline.hpp
-
-sweeper.cpp atomic.hpp
-sweeper.cpp codeCache.hpp
-sweeper.cpp compilationPolicy.hpp
-sweeper.cpp compileBroker.hpp
-sweeper.cpp events.hpp
-sweeper.cpp methodOop.hpp
-sweeper.cpp mutexLocker.hpp
-sweeper.cpp nmethod.hpp
-sweeper.cpp os.hpp
-sweeper.cpp resourceArea.hpp
-sweeper.cpp sweeper.hpp
-sweeper.cpp vm_operations.hpp
-sweeper.cpp xmlstream.hpp
-
-symbolKlass.cpp gcLocker.hpp
-symbolKlass.cpp handles.inline.hpp
-symbolKlass.cpp oop.inline.hpp
-symbolKlass.cpp symbolKlass.hpp
-symbolKlass.cpp symbolOop.hpp
-symbolKlass.cpp symbolTable.hpp
-
-symbolKlass.hpp typeArrayKlass.hpp
-
-symbolOop.cpp oop.inline.hpp
-symbolOop.cpp symbolOop.hpp
-
-symbolOop.hpp typeArrayOop.hpp
-symbolOop.hpp utf8.hpp
-
-symbolTable.cpp collectedHeap.inline.hpp
-symbolTable.cpp filemap.hpp
-symbolTable.cpp gcLocker.inline.hpp
-symbolTable.cpp hashtable.inline.hpp
-symbolTable.cpp javaClasses.hpp
-symbolTable.cpp mutexLocker.hpp
-symbolTable.cpp oop.inline.hpp
-symbolTable.cpp oop.inline2.hpp
-symbolTable.cpp symbolKlass.hpp
-symbolTable.cpp symbolTable.hpp
-symbolTable.cpp systemDictionary.hpp
-
-symbolTable.hpp allocation.inline.hpp
-symbolTable.hpp hashtable.hpp
-symbolTable.hpp symbolOop.hpp
-
-synchronizer.cpp biasedLocking.hpp
-synchronizer.cpp dtrace.hpp
-synchronizer.cpp events.hpp
-synchronizer.cpp handles.inline.hpp
-synchronizer.cpp interfaceSupport.hpp
-synchronizer.cpp markOop.hpp
-synchronizer.cpp mutexLocker.hpp
-synchronizer.cpp objectMonitor.hpp
-synchronizer.cpp objectMonitor.inline.hpp
-synchronizer.cpp oop.inline.hpp
-synchronizer.cpp osThread.hpp
-synchronizer.cpp os_<os_family>.inline.hpp
-synchronizer.cpp preserveException.hpp
-synchronizer.cpp resourceArea.hpp
-synchronizer.cpp stubRoutines.hpp
-synchronizer.cpp synchronizer.hpp
-synchronizer.cpp thread_<os_family>.inline.hpp
-synchronizer.cpp vmSymbols.hpp
-
-synchronizer.hpp basicLock.hpp
-synchronizer.hpp handles.hpp
-synchronizer.hpp markOop.hpp
-synchronizer.hpp perfData.hpp
-synchronizer.hpp top.hpp
-
-systemDictionary.cpp biasedLocking.hpp
-systemDictionary.cpp bytecodeStream.hpp
-systemDictionary.cpp classLoadingService.hpp
-systemDictionary.cpp dictionary.hpp
-systemDictionary.cpp fieldType.hpp
-systemDictionary.cpp gcLocker.hpp
-systemDictionary.cpp handles.inline.hpp
-systemDictionary.cpp instanceKlass.hpp
-systemDictionary.cpp instanceRefKlass.hpp
-systemDictionary.cpp interpreter.hpp
-systemDictionary.cpp java.hpp
-systemDictionary.cpp javaCalls.hpp
-systemDictionary.cpp javaClasses.hpp
-systemDictionary.cpp jvmtiEnvBase.hpp
-systemDictionary.cpp klass.inline.hpp
-systemDictionary.cpp loaderConstraints.hpp
-systemDictionary.cpp methodDataOop.hpp
-systemDictionary.cpp methodHandles.hpp
-systemDictionary.cpp mutexLocker.hpp
-systemDictionary.cpp objArrayKlass.hpp
-systemDictionary.cpp oop.inline.hpp
-systemDictionary.cpp oop.inline2.hpp
-systemDictionary.cpp oopFactory.hpp
-systemDictionary.cpp placeholders.hpp
-systemDictionary.cpp resolutionErrors.hpp
-systemDictionary.cpp signature.hpp
-systemDictionary.cpp systemDictionary.hpp
-systemDictionary.cpp threadService.hpp
-systemDictionary.cpp typeArrayKlass.hpp
-systemDictionary.cpp vmSymbols.hpp
-
-systemDictionary.hpp classFileStream.hpp
-systemDictionary.hpp classLoader.hpp
-systemDictionary.hpp hashtable.hpp
-systemDictionary.hpp java.hpp
-systemDictionary.hpp objArrayOop.hpp
-systemDictionary.hpp reflectionUtils.hpp
-systemDictionary.hpp symbolOop.hpp
-
-task.cpp allocation.hpp
-task.cpp init.hpp
-task.cpp os_<os_family>.inline.hpp
-task.cpp task.hpp
-task.cpp thread_<os_family>.inline.hpp
-task.cpp timer.hpp
-
-task.hpp top.hpp
-
-taskqueue.cpp debug.hpp
-taskqueue.cpp oop.inline.hpp
-taskqueue.cpp os.hpp
-taskqueue.cpp stack.inline.hpp
-taskqueue.cpp taskqueue.hpp
-taskqueue.cpp thread_<os_family>.inline.hpp
-
-taskqueue.hpp allocation.hpp
-taskqueue.hpp allocation.inline.hpp
-taskqueue.hpp mutex.hpp
-taskqueue.hpp orderAccess_<os_arch>.inline.hpp
-taskqueue.hpp stack.hpp
-
-templateInterpreter.cpp interpreter.hpp
-templateInterpreter.cpp interpreterGenerator.hpp
-templateInterpreter.cpp interpreterRuntime.hpp
-templateInterpreter.cpp templateTable.hpp
-
-templateInterpreter.hpp abstractInterpreter.hpp
-templateInterpreter.hpp templateTable.hpp
-
-templateInterpreter_<arch_model>.cpp arguments.hpp
-templateInterpreter_<arch_model>.cpp arrayOop.hpp
-templateInterpreter_<arch_model>.cpp assembler.hpp
-templateInterpreter_<arch_model>.cpp bytecodeHistogram.hpp
-templateInterpreter_<arch_model>.cpp debug.hpp
-templateInterpreter_<arch_model>.cpp deoptimization.hpp
-templateInterpreter_<arch_model>.cpp frame.inline.hpp
-templateInterpreter_<arch_model>.cpp interpreterRuntime.hpp
-templateInterpreter_<arch_model>.cpp interpreter.hpp
-templateInterpreter_<arch_model>.cpp interpreterGenerator.hpp
-templateInterpreter_<arch_model>.cpp jvmtiExport.hpp
-templateInterpreter_<arch_model>.cpp jvmtiThreadState.hpp
-templateInterpreter_<arch_model>.cpp methodDataOop.hpp
-templateInterpreter_<arch_model>.cpp methodOop.hpp
-templateInterpreter_<arch_model>.cpp oop.inline.hpp
-templateInterpreter_<arch_model>.cpp sharedRuntime.hpp
-templateInterpreter_<arch_model>.cpp stubRoutines.hpp
-templateInterpreter_<arch_model>.cpp synchronizer.hpp
-templateInterpreter_<arch_model>.cpp templateTable.hpp
-templateInterpreter_<arch_model>.cpp timer.hpp
-templateInterpreter_<arch_model>.cpp vframeArray.hpp
-
-templateInterpreter_<arch>.hpp generate_platform_dependent_include
-
-templateInterpreterGenerator_<arch>.hpp generate_platform_dependent_include
-
-templateTable.cpp collectedHeap.hpp
-templateTable.cpp templateTable.hpp
-templateTable.cpp timer.hpp
-
-templateTable.hpp allocation.hpp
-templateTable.hpp bytecodes.hpp
-templateTable.hpp frame.hpp
-templateTable.hpp interp_masm_<arch_model>.hpp
-
-templateTable_<arch_model>.cpp interpreterRuntime.hpp
-templateTable_<arch_model>.cpp interpreter.hpp
-templateTable_<arch_model>.cpp methodDataOop.hpp
-templateTable_<arch_model>.cpp methodHandles.hpp
-templateTable_<arch_model>.cpp objArrayKlass.hpp
-templateTable_<arch_model>.cpp oop.inline.hpp
-templateTable_<arch_model>.cpp sharedRuntime.hpp
-templateTable_<arch_model>.cpp stubRoutines.hpp
-templateTable_<arch_model>.cpp synchronizer.hpp
-templateTable_<arch_model>.cpp templateTable.hpp
-templateTable_<arch_model>.cpp universe.inline.hpp
-
-templateTable_<arch_model>.hpp generate_platform_dependent_include
-
-tenuredGeneration.cpp allocation.inline.hpp
-tenuredGeneration.cpp blockOffsetTable.inline.hpp
-tenuredGeneration.cpp collectorCounters.hpp
-tenuredGeneration.cpp generation.inline.hpp
-tenuredGeneration.cpp generationSpec.hpp
-tenuredGeneration.cpp java.hpp
-tenuredGeneration.cpp oop.inline.hpp
-tenuredGeneration.cpp parGCAllocBuffer.hpp
-tenuredGeneration.cpp space.hpp
-tenuredGeneration.cpp tenuredGeneration.hpp
-
-tenuredGeneration.hpp cSpaceCounters.hpp
-tenuredGeneration.hpp gcStats.hpp
-tenuredGeneration.hpp generation.hpp
-tenuredGeneration.hpp generationCounters.hpp
-
-thread.cpp aprofiler.hpp
-thread.cpp arguments.hpp
-thread.cpp attachListener.hpp
-thread.cpp biasedLocking.hpp
-thread.cpp classLoader.hpp
-thread.cpp compileBroker.hpp
-thread.cpp defaultStream.hpp
-thread.cpp deoptimization.hpp
-thread.cpp dtrace.hpp
-thread.cpp events.hpp
-thread.cpp fprofiler.hpp
-thread.cpp frame.inline.hpp
-thread.cpp gcTaskManager.hpp
-thread.cpp hpi.hpp
-thread.cpp init.hpp
-thread.cpp instanceKlass.hpp
-thread.cpp interfaceSupport.hpp
-thread.cpp interpreter.hpp
-thread.cpp interpreter.hpp
-thread.cpp java.hpp
-thread.cpp javaCalls.hpp
-thread.cpp javaClasses.hpp
-thread.cpp jniPeriodicChecker.hpp
-thread.cpp jvm_misc.hpp
-thread.cpp jvmtiExport.hpp
-thread.cpp jvmtiThreadState.hpp
-thread.cpp linkResolver.hpp
-thread.cpp management.hpp
-thread.cpp memprofiler.hpp
-thread.cpp mutexLocker.hpp
-thread.cpp objArrayOop.hpp
-thread.cpp objectMonitor.hpp
-thread.cpp oop.inline.hpp
-thread.cpp oopFactory.hpp
-thread.cpp osThread.hpp
-thread.cpp os_<os_family>.inline.hpp
-thread.cpp preserveException.hpp
-thread.cpp privilegedStack.hpp
-thread.cpp safepoint.hpp
-thread.cpp scopeDesc.hpp
-thread.cpp sharedRuntime.hpp
-thread.cpp statSampler.hpp
-thread.cpp stubRoutines.hpp
-thread.cpp symbolOop.hpp
-thread.cpp systemDictionary.hpp
-thread.cpp task.hpp
-thread.cpp threadCritical.hpp
-thread.cpp threadLocalStorage.hpp
-thread.cpp threadService.hpp
-thread.cpp thread_<os_family>.inline.hpp
-thread.cpp universe.inline.hpp
-thread.cpp vframe.hpp
-thread.cpp vframeArray.hpp
-thread.cpp vframe_hp.hpp
-thread.cpp vmSymbols.hpp
-thread.cpp vmThread.hpp
-thread.cpp vm_operations.hpp
-
-thread.hpp allocation.hpp
-thread.hpp exceptions.hpp
-thread.hpp frame.hpp
-thread.hpp javaFrameAnchor.hpp
-thread.hpp jni.h
-thread.hpp jniHandles.hpp
-thread.hpp jvmtiExport.hpp
-thread.hpp mutexLocker.hpp
-thread.hpp oop.hpp
-thread.hpp os.hpp
-thread.hpp osThread.hpp
-thread.hpp park.hpp
-thread.hpp safepoint.hpp
-thread.hpp stubRoutines.hpp
-thread.hpp threadLocalAllocBuffer.hpp
-thread.hpp threadLocalStorage.hpp
-thread.hpp top.hpp
-thread.hpp unhandledOops.hpp
-
-thread_<os_arch>.cpp frame.inline.hpp
-thread_<os_arch>.cpp thread_<os_family>.inline.hpp
-
-thread_<os_arch>.hpp generate_platform_dependent_include
-
-thread_<os_family>.inline.hpp atomic.hpp
-thread_<os_family>.inline.hpp atomic_<os_arch>.inline.hpp
-thread_<os_family>.inline.hpp orderAccess_<os_arch>.inline.hpp
-thread_<os_family>.inline.hpp prefetch.hpp
-thread_<os_family>.inline.hpp prefetch_<os_arch>.inline.hpp
-thread_<os_family>.inline.hpp thread.hpp
-thread_<os_family>.inline.hpp threadLocalStorage.hpp
-
-threadCritical.hpp allocation.hpp
-
-threadCritical_<os_family>.cpp threadCritical.hpp
-threadCritical_<os_family>.cpp thread_<os_family>.inline.hpp
-
-threadLS_<os_arch>.cpp threadLocalStorage.hpp
-threadLS_<os_arch>.cpp thread_<os_family>.inline.hpp
-
-threadLS_<os_arch>.hpp generate_platform_dependent_include
-
-threadLocalAllocBuffer.cpp copy.hpp
-threadLocalAllocBuffer.cpp genCollectedHeap.hpp
-threadLocalAllocBuffer.cpp oop.inline.hpp
-threadLocalAllocBuffer.cpp resourceArea.hpp
-threadLocalAllocBuffer.cpp threadLocalAllocBuffer.inline.hpp
-threadLocalAllocBuffer.cpp thread_<os_family>.inline.hpp
-threadLocalAllocBuffer.cpp universe.inline.hpp
-
-threadLocalAllocBuffer.hpp gcUtil.hpp
-threadLocalAllocBuffer.hpp perfData.hpp
-threadLocalAllocBuffer.hpp typeArrayOop.hpp
-
-threadLocalAllocBuffer.inline.hpp atomic.hpp
-threadLocalAllocBuffer.inline.hpp collectedHeap.hpp
-threadLocalAllocBuffer.inline.hpp copy.hpp
-threadLocalAllocBuffer.inline.hpp threadLocalAllocBuffer.hpp
-
-threadLocalStorage.cpp os_<os_family>.inline.hpp
-threadLocalStorage.cpp threadLocalStorage.hpp
-threadLocalStorage.cpp thread_<os_family>.inline.hpp
-
-threadLocalStorage.hpp gcUtil.hpp
-threadLocalStorage.hpp os.hpp
-threadLocalStorage.hpp top.hpp
-
-threadService.cpp allocation.hpp
-threadService.cpp handles.inline.hpp
-threadService.cpp heapInspection.hpp
-threadService.cpp init.hpp
-threadService.cpp instanceKlass.hpp
-threadService.cpp oop.inline.hpp
-threadService.cpp oopFactory.hpp
-threadService.cpp systemDictionary.hpp
-threadService.cpp thread.hpp
-threadService.cpp threadService.hpp
-threadService.cpp vframe.hpp
-threadService.cpp vmThread.hpp
-threadService.cpp vm_operations.hpp
-
-threadService.hpp handles.hpp
-threadService.hpp init.hpp
-threadService.hpp javaClasses.hpp
-threadService.hpp jniHandles.hpp
-threadService.hpp management.hpp
-threadService.hpp objectMonitor.hpp
-threadService.hpp objectMonitor.inline.hpp
-threadService.hpp perfData.hpp
-threadService.hpp serviceUtil.hpp
-
-timer.cpp oop.inline.hpp
-timer.cpp os_<os_family>.inline.hpp
-timer.cpp ostream.hpp
-timer.cpp timer.hpp
-
-timer.hpp globalDefinitions.hpp
-
-top.hpp debug.hpp
-top.hpp exceptions.hpp
-top.hpp globalDefinitions.hpp
-top.hpp globals.hpp
-top.hpp macros.hpp
-top.hpp oopsHierarchy.hpp
-top.hpp ostream.hpp
-top.hpp sizes.hpp
-
-typeArrayKlass.cpp collectedHeap.hpp
-typeArrayKlass.cpp collectedHeap.inline.hpp
-typeArrayKlass.cpp handles.inline.hpp
-typeArrayKlass.cpp instanceKlass.hpp
-typeArrayKlass.cpp klassOop.hpp
-typeArrayKlass.cpp objArrayKlassKlass.hpp
-typeArrayKlass.cpp oop.inline.hpp
-typeArrayKlass.cpp resourceArea.hpp
-typeArrayKlass.cpp systemDictionary.hpp
-typeArrayKlass.cpp typeArrayKlass.hpp
-typeArrayKlass.cpp typeArrayOop.hpp
-typeArrayKlass.cpp universe.hpp
-typeArrayKlass.cpp universe.inline.hpp
-typeArrayKlass.cpp vmSymbols.hpp
-
-typeArrayKlass.hpp arrayKlass.hpp
-
-typeArrayKlassKlass.cpp handles.inline.hpp
-typeArrayKlassKlass.cpp javaClasses.hpp
-typeArrayKlassKlass.cpp oop.inline.hpp
-typeArrayKlassKlass.cpp typeArrayKlassKlass.hpp
-
-typeArrayKlassKlass.hpp arrayKlassKlass.hpp
-typeArrayKlassKlass.hpp typeArrayKlass.hpp
-
-typeArrayOop.cpp oop.inline.hpp
-typeArrayOop.cpp typeArrayOop.hpp
-
-typeArrayOop.hpp arrayOop.hpp
-typeArrayOop.hpp orderAccess_<os_arch>.inline.hpp
-typeArrayOop.hpp typeArrayKlass.hpp
-
-unhandledOops.cpp collectedHeap.hpp
-unhandledOops.cpp gcLocker.inline.hpp
-unhandledOops.cpp globalDefinitions.hpp
-unhandledOops.cpp oop.inline.hpp
-unhandledOops.cpp thread.hpp
-unhandledOops.cpp unhandledOops.hpp
-unhandledOops.cpp universe.hpp
-
-universe.cpp aprofiler.hpp
-universe.cpp arguments.hpp
-universe.cpp arrayKlassKlass.hpp
-universe.cpp cardTableModRefBS.hpp
-universe.cpp classLoader.hpp
-universe.cpp codeCache.hpp
-universe.cpp collectedHeap.inline.hpp
-universe.cpp compiledICHolderKlass.hpp
-universe.cpp constMethodKlass.hpp
-universe.cpp constantPoolKlass.hpp
-universe.cpp constantPoolOop.hpp
-universe.cpp copy.hpp
-universe.cpp cpCacheKlass.hpp
-universe.cpp cpCacheOop.hpp
-universe.cpp deoptimization.hpp
-universe.cpp dependencies.hpp
-universe.cpp events.hpp
-universe.cpp filemap.hpp
-universe.cpp fprofiler.hpp
-universe.cpp gcLocker.inline.hpp
-universe.cpp genCollectedHeap.hpp
-universe.cpp genRemSet.hpp
-universe.cpp generation.hpp
-universe.cpp handles.inline.hpp
-universe.cpp hashtable.inline.hpp
-universe.cpp init.hpp
-universe.cpp instanceKlass.hpp
-universe.cpp instanceKlassKlass.hpp
-universe.cpp instanceRefKlass.hpp
-universe.cpp interpreter.hpp
-universe.cpp java.hpp
-universe.cpp javaCalls.hpp
-universe.cpp javaClasses.hpp
-universe.cpp jvmtiRedefineClassesTrace.hpp
-universe.cpp klassKlass.hpp
-universe.cpp klassOop.hpp
-universe.cpp memoryService.hpp
-universe.cpp methodDataKlass.hpp
-universe.cpp methodKlass.hpp
-universe.cpp objArrayKlassKlass.hpp
-universe.cpp oop.inline.hpp
-universe.cpp oopFactory.hpp
-universe.cpp permGen.hpp
-universe.cpp preserveException.hpp
-universe.cpp sharedRuntime.hpp
-universe.cpp space.hpp
-universe.cpp symbolKlass.hpp
-universe.cpp symbolTable.hpp
-universe.cpp synchronizer.hpp
-universe.cpp systemDictionary.hpp
-universe.cpp thread_<os_family>.inline.hpp
-universe.cpp timer.hpp
-universe.cpp typeArrayKlass.hpp
-universe.cpp typeArrayKlassKlass.hpp
-universe.cpp universe.hpp
-universe.cpp universe.inline.hpp
-universe.cpp vmSymbols.hpp
-universe.cpp vm_operations.hpp
-
-universe.hpp growableArray.hpp
-universe.hpp handles.hpp
-
-universe.inline.hpp universe.hpp
-
-unsafe.cpp allocation.inline.hpp
-unsafe.cpp copy.hpp
-unsafe.cpp dtrace.hpp
-unsafe.cpp globals.hpp
-unsafe.cpp interfaceSupport.hpp
-unsafe.cpp jni.h
-unsafe.cpp jvm.h
-unsafe.cpp reflection.hpp
-unsafe.cpp reflectionCompat.hpp
-unsafe.cpp synchronizer.hpp
-unsafe.cpp threadService.hpp
-unsafe.cpp vmSymbols.hpp
-
-utf8.cpp utf8.hpp
-
-utf8.hpp allocation.hpp
-utf8.hpp top.hpp
-
-verificationType.cpp symbolTable.hpp
-verificationType.cpp verificationType.hpp
-
-verificationType.hpp allocation.hpp
-verificationType.hpp handles.hpp
-verificationType.hpp instanceKlass.hpp
-verificationType.hpp oop.inline.hpp
-verificationType.hpp signature.hpp
-verificationType.hpp symbolOop.hpp
-verificationType.hpp systemDictionary.hpp
-
-verifier.cpp bytecodeStream.hpp
-verifier.cpp bytes_<arch>.hpp
-verifier.cpp classFileStream.hpp
-verifier.cpp fieldDescriptor.hpp
-verifier.cpp handles.inline.hpp
-verifier.cpp hpi.hpp
-verifier.cpp instanceKlass.hpp
-verifier.cpp interfaceSupport.hpp
-verifier.cpp javaCalls.hpp
-verifier.cpp javaClasses.hpp
-verifier.cpp jvm.h
-verifier.cpp oop.inline.hpp
-verifier.cpp oopFactory.hpp
-verifier.cpp orderAccess.hpp
-verifier.cpp os.hpp
-verifier.cpp resourceArea.hpp
-verifier.cpp stackMapTable.hpp
-verifier.cpp systemDictionary.hpp
-verifier.cpp typeArrayOop.hpp
-verifier.cpp verifier.hpp
-verifier.cpp vmSymbols.hpp
-
-verifier.hpp exceptions.hpp
-verifier.hpp gcLocker.hpp
-verifier.hpp handles.hpp
-verifier.hpp klass.hpp
-verifier.hpp methodOop.hpp
-verifier.hpp verificationType.hpp
-
-vframe.cpp codeCache.hpp
-vframe.cpp debugInfoRec.hpp
-vframe.cpp handles.inline.hpp
-vframe.cpp instanceKlass.hpp
-vframe.cpp interpreter.hpp
-vframe.cpp javaClasses.hpp
-vframe.cpp nmethod.hpp
-vframe.cpp objectMonitor.hpp
-vframe.cpp objectMonitor.inline.hpp
-vframe.cpp oop.inline.hpp
-vframe.cpp oopMapCache.hpp
-vframe.cpp pcDesc.hpp
-vframe.cpp resourceArea.hpp
-vframe.cpp scopeDesc.hpp
-vframe.cpp signature.hpp
-vframe.cpp stubRoutines.hpp
-vframe.cpp synchronizer.hpp
-vframe.cpp systemDictionary.hpp
-vframe.cpp vframe.hpp
-vframe.cpp vframeArray.hpp
-vframe.cpp vframe_hp.hpp
-vframe.cpp vmSymbols.hpp
-
-vframe.hpp debugInfo.hpp
-vframe.hpp debugInfoRec.hpp
-vframe.hpp frame.hpp
-vframe.hpp frame.inline.hpp
-vframe.hpp growableArray.hpp
-vframe.hpp location.hpp
-vframe.hpp oop.hpp
-vframe.hpp stackValue.hpp
-vframe.hpp stackValueCollection.hpp
-
-vframeArray.cpp allocation.inline.hpp
-vframeArray.cpp events.hpp
-vframeArray.cpp handles.inline.hpp
-vframeArray.cpp interpreter.hpp
-vframeArray.cpp jvmtiThreadState.hpp
-vframeArray.cpp methodDataOop.hpp
-vframeArray.cpp monitorChunk.hpp
-vframeArray.cpp oop.inline.hpp
-vframeArray.cpp resourceArea.hpp
-vframeArray.cpp sharedRuntime.hpp
-vframeArray.cpp universe.inline.hpp
-vframeArray.cpp vframe.hpp
-vframeArray.cpp vframeArray.hpp
-vframeArray.cpp vframe_hp.hpp
-vframeArray.cpp vmSymbols.hpp
-
-vframeArray.hpp arrayOop.hpp
-vframeArray.hpp deoptimization.hpp
-vframeArray.hpp frame.inline.hpp
-vframeArray.hpp growableArray.hpp
-vframeArray.hpp monitorChunk.hpp
-
-vframe_hp.cpp basicLock.hpp
-vframe_hp.cpp codeCache.hpp
-vframe_hp.cpp debugInfoRec.hpp
-vframe_hp.cpp handles.inline.hpp
-vframe_hp.cpp instanceKlass.hpp
-vframe_hp.cpp interpreter.hpp
-vframe_hp.cpp monitorChunk.hpp
-vframe_hp.cpp nmethod.hpp
-vframe_hp.cpp oop.inline.hpp
-vframe_hp.cpp oopMapCache.hpp
-vframe_hp.cpp pcDesc.hpp
-vframe_hp.cpp scopeDesc.hpp
-vframe_hp.cpp signature.hpp
-vframe_hp.cpp stubRoutines.hpp
-vframe_hp.cpp vframeArray.hpp
-vframe_hp.cpp vframe_hp.hpp
-
-vframe_hp.hpp vframe.hpp
-
-virtualspace.cpp markOop.hpp
-virtualspace.cpp oop.inline.hpp
-virtualspace.cpp os_<os_family>.inline.hpp
-virtualspace.cpp virtualspace.hpp
-
-virtualspace.hpp allocation.hpp
-
-vmError.cpp arguments.hpp
-vmError.cpp collectedHeap.hpp
-vmError.cpp compileBroker.hpp
-vmError.cpp debug.hpp
-vmError.cpp defaultStream.hpp
-vmError.cpp frame.inline.hpp
-vmError.cpp init.hpp
-vmError.cpp os.hpp
-vmError.cpp thread.hpp
-vmError.cpp top.hpp
-vmError.cpp vmError.hpp
-vmError.cpp vmThread.hpp
-vmError.cpp vm_operations.hpp
-
-vmError.hpp globalDefinitions.hpp
-
-vmError_<os_family>.cpp arguments.hpp
-vmError_<os_family>.cpp os.hpp
-vmError_<os_family>.cpp thread.hpp
-vmError_<os_family>.cpp vmError.hpp
-
-// vmStructs is jck optional, put cpp deps in includeDB_features
-
-vmStructs.hpp debug.hpp
-
-vmSymbols.cpp handles.inline.hpp
-vmSymbols.cpp oop.inline.hpp
-vmSymbols.cpp oopFactory.hpp
-vmSymbols.cpp vmSymbols.hpp
-vmSymbols.cpp xmlstream.hpp
-
-vmSymbols.hpp symbolOop.hpp
-
-vmThread.cpp collectedHeap.hpp
-vmThread.cpp compileBroker.hpp
-vmThread.cpp dtrace.hpp
-vmThread.cpp events.hpp
-vmThread.cpp interfaceSupport.hpp
-vmThread.cpp methodOop.hpp
-vmThread.cpp mutexLocker.hpp
-vmThread.cpp oop.inline.hpp
-vmThread.cpp os.hpp
-vmThread.cpp resourceArea.hpp
-vmThread.cpp runtimeService.hpp
-vmThread.cpp thread_<os_family>.inline.hpp
-vmThread.cpp vmThread.hpp
-vmThread.cpp vm_operations.hpp
-vmThread.cpp xmlstream.hpp
-
-vmThread.hpp perfData.hpp
-vmThread.hpp thread_<os_family>.inline.hpp
-vmThread.hpp vm_operations.hpp
-
-vm_operations.cpp arguments.hpp
-vm_operations.cpp compileBroker.hpp
-vm_operations.cpp compilerOracle.hpp
-vm_operations.cpp deoptimization.hpp
-vm_operations.cpp interfaceSupport.hpp
-vm_operations.cpp isGCActiveMark.hpp
-vm_operations.cpp resourceArea.hpp
-vm_operations.cpp sweeper.hpp
-vm_operations.cpp threadService.hpp
-vm_operations.cpp thread_<os_family>.inline.hpp
-vm_operations.cpp vmSymbols.hpp
-vm_operations.cpp vm_operations.hpp
-
-vm_operations.hpp allocation.hpp
-vm_operations.hpp javaClasses.hpp
-vm_operations.hpp oop.hpp
-vm_operations.hpp thread.hpp
-vm_operations.hpp top.hpp
-
-vm_version.cpp arguments.hpp
-vm_version.cpp oop.inline.hpp
-vm_version.cpp universe.hpp
-vm_version.cpp vm_version_<arch>.hpp
-
-vm_version.hpp allocation.hpp
-vm_version.hpp ostream.hpp
-
-vm_version_<arch>.cpp assembler_<arch>.inline.hpp
-vm_version_<arch>.cpp java.hpp
-vm_version_<arch>.cpp os_<os_family>.inline.hpp
-vm_version_<arch>.cpp resourceArea.hpp
-vm_version_<arch>.cpp stubCodeGenerator.hpp
-vm_version_<arch>.cpp vm_version_<arch>.hpp
-
-vm_version_<arch>.hpp globals_extension.hpp
-vm_version_<arch>.hpp vm_version.hpp
-
-vm_version_<os_arch>.cpp os.hpp
-vm_version_<os_arch>.cpp vm_version_<arch>.hpp
-
-vmreg.cpp assembler.hpp
-vmreg.cpp vmreg.hpp
-
-vmreg.hpp allocation.hpp
-vmreg.hpp globalDefinitions.hpp
-vmreg.hpp register_<arch>.hpp
-
-vmreg_<arch>.cpp assembler.hpp
-vmreg_<arch>.cpp vmreg.hpp
-
-vmreg_<arch>.hpp generate_platform_dependent_include
-
-vtableStubs.cpp allocation.inline.hpp
-vtableStubs.cpp disassembler.hpp
-vtableStubs.cpp forte.hpp
-vtableStubs.cpp handles.inline.hpp
-vtableStubs.cpp instanceKlass.hpp
-vtableStubs.cpp jvmtiExport.hpp
-vtableStubs.cpp klassVtable.hpp
-vtableStubs.cpp oop.inline.hpp
-vtableStubs.cpp mutexLocker.hpp
-vtableStubs.cpp resourceArea.hpp
-vtableStubs.cpp sharedRuntime.hpp
-vtableStubs.cpp vtableStubs.hpp
-
-vtableStubs.hpp allocation.hpp
-
-vtableStubs_<arch_model>.cpp assembler.hpp
-vtableStubs_<arch_model>.cpp assembler_<arch>.inline.hpp
-vtableStubs_<arch_model>.cpp instanceKlass.hpp
-vtableStubs_<arch_model>.cpp interp_masm_<arch_model>.hpp
-vtableStubs_<arch_model>.cpp klassVtable.hpp
-vtableStubs_<arch_model>.cpp resourceArea.hpp
-vtableStubs_<arch_model>.cpp sharedRuntime.hpp
-vtableStubs_<arch_model>.cpp vmreg_<arch>.inline.hpp
-vtableStubs_<arch_model>.cpp vtableStubs.hpp
-
-watermark.hpp allocation.hpp
-watermark.hpp globalDefinitions.hpp
-
-workgroup.cpp allocation.hpp
-workgroup.cpp allocation.inline.hpp
-workgroup.cpp os.hpp
-workgroup.cpp workgroup.hpp
-
-workgroup.hpp taskqueue.hpp
-
-workgroup.hpp thread_<os_family>.inline.hpp
-
-xmlstream.cpp allocation.hpp
-xmlstream.cpp allocation.inline.hpp
-xmlstream.cpp deoptimization.hpp
-xmlstream.cpp methodDataOop.hpp
-xmlstream.cpp methodOop.hpp
-xmlstream.cpp nmethod.hpp
-xmlstream.cpp oop.inline.hpp
-xmlstream.cpp vmThread.hpp
-xmlstream.cpp xmlstream.hpp
-
-xmlstream.hpp handles.hpp
-xmlstream.hpp ostream.hpp
diff --git a/src/share/vm/includeDB_features b/src/share/vm/includeDB_features
deleted file mode 100644
index ceee6f548..000000000
--- a/src/share/vm/includeDB_features
+++ /dev/null
@@ -1,333 +0,0 @@
-//
-// Copyright (c) 2007, 2009, 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.
-//
-//
-
-attachListener.cpp arguments.hpp
-attachListener.cpp attachListener.hpp
-attachListener.cpp globals.hpp
-attachListener.cpp heapDumper.hpp
-attachListener.cpp java.hpp
-attachListener.cpp javaCalls.hpp
-attachListener.cpp javaClasses.hpp
-attachListener.cpp jvmtiExport.hpp
-attachListener.cpp os.hpp
-attachListener.cpp resourceArea.hpp
-attachListener.cpp systemDictionary.hpp
-attachListener.cpp vmGCOperations.hpp
-
-attachListener_<os_family>.cpp attachListener.hpp
-attachListener_<os_family>.cpp dtraceAttacher.hpp
-attachListener_<os_family>.cpp interfaceSupport.hpp
-attachListener_<os_family>.cpp os.hpp
-
-dump.cpp classify.hpp
-dump.cpp copy.hpp
-dump.cpp filemap.hpp
-dump.cpp javaCalls.hpp
-dump.cpp javaClasses.hpp
-dump.cpp loaderConstraints.hpp
-dump.cpp methodDataOop.hpp
-dump.cpp oop.inline.hpp
-dump.cpp oopFactory.hpp
-dump.cpp resourceArea.hpp
-dump.cpp signature.hpp
-dump.cpp spaceDecorator.hpp
-dump.cpp symbolTable.hpp
-dump.cpp systemDictionary.hpp
-dump.cpp vmThread.hpp
-dump.cpp vm_operations.hpp
-
-dump_<arch_model>.cpp assembler_<arch>.inline.hpp
-dump_<arch_model>.cpp compactingPermGenGen.hpp
-dump_<arch_model>.cpp generation.inline.hpp
-dump_<arch_model>.cpp space.inline.hpp
-
-forte.cpp collectedHeap.inline.hpp
-forte.cpp debugInfoRec.hpp
-forte.cpp forte.hpp
-forte.cpp oop.inline.hpp
-forte.cpp oop.inline2.hpp
-forte.cpp pcDesc.hpp
-forte.cpp space.hpp
-forte.cpp thread.hpp
-forte.cpp universe.inline.hpp
-forte.cpp vframe.hpp
-forte.cpp vframeArray.hpp
-
-fprofiler.cpp allocation.inline.hpp
-fprofiler.cpp classLoader.hpp
-fprofiler.cpp collectedHeap.inline.hpp
-fprofiler.cpp deoptimization.hpp
-fprofiler.cpp fprofiler.hpp
-fprofiler.cpp interpreter.hpp
-fprofiler.cpp macros.hpp
-fprofiler.cpp mutexLocker.hpp
-fprofiler.cpp oop.inline.hpp
-fprofiler.cpp oop.inline2.hpp
-fprofiler.cpp stubCodeGenerator.hpp
-fprofiler.cpp stubRoutines.hpp
-fprofiler.cpp symbolOop.hpp
-fprofiler.cpp task.hpp
-fprofiler.cpp universe.inline.hpp
-fprofiler.cpp vframe.hpp
-fprofiler.cpp vtableStubs.hpp
-
-heapDumper.cpp genCollectedHeap.hpp
-heapDumper.cpp heapDumper.hpp
-heapDumper.cpp javaCalls.hpp
-heapDumper.cpp jniHandles.hpp
-heapDumper.cpp objArrayKlass.hpp
-heapDumper.cpp ostream.hpp
-heapDumper.cpp reflectionUtils.hpp
-heapDumper.cpp symbolTable.hpp
-heapDumper.cpp systemDictionary.hpp
-heapDumper.cpp threadService.hpp
-heapDumper.cpp universe.hpp
-heapDumper.cpp vframe.hpp
-heapDumper.cpp vmGCOperations.hpp
-heapDumper.cpp vmSymbols.hpp
-heapDumper.cpp vmThread.hpp
-heapDumper.cpp vm_operations.hpp
-
-heapInspection.cpp collectedHeap.hpp
-heapInspection.cpp genCollectedHeap.hpp
-heapInspection.cpp globalDefinitions.hpp
-heapInspection.cpp heapInspection.hpp
-heapInspection.cpp klassOop.hpp
-heapInspection.cpp os.hpp
-heapInspection.cpp resourceArea.hpp
-
-javaCalls.cpp jniCheck.hpp
-
-jniCheck.cpp fieldDescriptor.hpp
-jniCheck.cpp handles.hpp
-jniCheck.cpp instanceKlass.hpp
-jniCheck.cpp interfaceSupport.hpp
-jniCheck.cpp jfieldIDWorkaround.hpp
-jniCheck.cpp jni.h
-jniCheck.cpp jniCheck.hpp
-jniCheck.cpp jniTypes_<arch>.hpp
-jniCheck.cpp jvm_misc.hpp
-jniCheck.cpp oop.inline.hpp
-jniCheck.cpp symbolOop.hpp
-jniCheck.cpp systemDictionary.hpp
-jniCheck.cpp thread.hpp
-jniCheck.cpp vmSymbols.hpp
-
-jvmtiCodeBlobEvents.cpp codeBlob.hpp
-jvmtiCodeBlobEvents.cpp codeCache.hpp
-jvmtiCodeBlobEvents.cpp handles.hpp
-jvmtiCodeBlobEvents.cpp handles.inline.hpp
-jvmtiCodeBlobEvents.cpp jvmtiCodeBlobEvents.hpp
-jvmtiCodeBlobEvents.cpp jvmtiExport.hpp
-jvmtiCodeBlobEvents.cpp oop.inline.hpp
-jvmtiCodeBlobEvents.cpp resourceArea.hpp
-jvmtiCodeBlobEvents.cpp scopeDesc.hpp
-jvmtiCodeBlobEvents.cpp vmThread.hpp
-
-jvmtiCodeBlobEvents.hpp jvmti.h
-
-jvmtiExtensions.cpp jvmtiExport.hpp
-jvmtiExtensions.cpp jvmtiExtensions.hpp
-
-jvmtiExtensions.hpp allocation.hpp
-jvmtiExtensions.hpp jvmti.h
-jvmtiExtensions.hpp jvmtiEnv.hpp
-
-jvmtiImpl.cpp deoptimization.hpp
-jvmtiImpl.cpp exceptions.hpp
-jvmtiImpl.cpp handles.hpp
-jvmtiImpl.cpp handles.inline.hpp
-jvmtiImpl.cpp instanceKlass.hpp
-jvmtiImpl.cpp interfaceSupport.hpp
-jvmtiImpl.cpp interpreter.hpp
-jvmtiImpl.cpp javaCalls.hpp
-jvmtiImpl.cpp jvmtiAgentThread.hpp
-jvmtiImpl.cpp jvmtiEnv.hpp
-jvmtiImpl.cpp jvmtiEventController.inline.hpp
-jvmtiImpl.cpp jvmtiImpl.hpp
-jvmtiImpl.cpp jvmtiRedefineClasses.hpp
-jvmtiImpl.cpp resourceArea.hpp
-jvmtiImpl.cpp signature.hpp
-jvmtiImpl.cpp systemDictionary.hpp
-jvmtiImpl.cpp thread_<os_family>.inline.hpp
-jvmtiImpl.cpp vframe.hpp
-jvmtiImpl.cpp vframe_hp.hpp
-jvmtiImpl.cpp vm_operations.hpp
-
-jvmtiImpl.hpp jvmti.h
-jvmtiImpl.hpp jvmtiEnvThreadState.hpp
-jvmtiImpl.hpp jvmtiEventController.hpp
-jvmtiImpl.hpp jvmtiTrace.hpp
-jvmtiImpl.hpp jvmtiUtil.hpp
-jvmtiImpl.hpp objArrayOop.hpp
-jvmtiImpl.hpp stackValueCollection.hpp
-jvmtiImpl.hpp systemDictionary.hpp
-jvmtiImpl.hpp vm_operations.hpp
-
-jvmtiRawMonitor.cpp interfaceSupport.hpp
-jvmtiRawMonitor.cpp jvmtiRawMonitor.hpp
-jvmtiRawMonitor.cpp thread.hpp
-
-jvmtiRawMonitor.hpp growableArray.hpp
-jvmtiRawMonitor.hpp objectMonitor.hpp
-
-jvmtiTagMap.cpp biasedLocking.hpp
-jvmtiTagMap.cpp javaCalls.hpp
-jvmtiTagMap.cpp jniHandles.hpp
-jvmtiTagMap.cpp jvmtiEnv.hpp
-jvmtiTagMap.cpp jvmtiEventController.hpp
-jvmtiTagMap.cpp jvmtiEventController.inline.hpp
-jvmtiTagMap.cpp jvmtiExport.hpp
-jvmtiTagMap.cpp jvmtiImpl.hpp
-jvmtiTagMap.cpp jvmtiTagMap.hpp
-jvmtiTagMap.cpp mutex.hpp
-jvmtiTagMap.cpp mutexLocker.hpp
-jvmtiTagMap.cpp objArrayKlass.hpp
-jvmtiTagMap.cpp oop.inline2.hpp
-jvmtiTagMap.cpp reflectionUtils.hpp
-jvmtiTagMap.cpp serviceUtil.hpp
-jvmtiTagMap.cpp symbolTable.hpp
-jvmtiTagMap.cpp systemDictionary.hpp
-jvmtiTagMap.cpp vframe.hpp
-jvmtiTagMap.cpp vmSymbols.hpp
-jvmtiTagMap.cpp vmThread.hpp
-jvmtiTagMap.cpp vm_operations.hpp
-
-jvmtiTagMap.hpp allocation.hpp
-jvmtiTagMap.hpp collectedHeap.hpp
-jvmtiTagMap.hpp genCollectedHeap.hpp
-jvmtiTagMap.hpp jvmti.h
-jvmtiTagMap.hpp jvmtiEnv.hpp
-jvmtiTagMap.hpp universe.hpp
-
-jvmtiTrace.cpp jvmtiEnv.hpp
-jvmtiTrace.cpp jvmtiTrace.hpp
-
-jvmtiTrace.hpp jvmti.h
-jvmtiTrace.hpp jvmtiEnvThreadState.hpp
-jvmtiTrace.hpp jvmtiEventController.hpp
-jvmtiTrace.hpp jvmtiUtil.hpp
-jvmtiTrace.hpp objArrayOop.hpp
-jvmtiTrace.hpp stackValueCollection.hpp
-jvmtiTrace.hpp systemDictionary.hpp
-jvmtiTrace.hpp vm_operations.hpp
-
-restore.cpp filemap.hpp
-restore.cpp hashtable.inline.hpp
-restore.cpp oop.inline.hpp
-restore.cpp symbolTable.hpp
-restore.cpp systemDictionary.hpp
-
-serialize.cpp classify.hpp
-serialize.cpp codeCache.hpp
-serialize.cpp compactingPermGenGen.hpp
-serialize.cpp compiledICHolderOop.hpp
-serialize.cpp methodDataOop.hpp
-serialize.cpp objArrayOop.hpp
-serialize.cpp oop.inline.hpp
-serialize.cpp symbolTable.hpp
-serialize.cpp systemDictionary.hpp
-
-vmStructs.cpp arguments.hpp
-vmStructs.cpp arrayKlass.hpp
-vmStructs.cpp arrayKlassKlass.hpp
-vmStructs.cpp arrayOop.hpp
-vmStructs.cpp bytecodes.hpp
-vmStructs.cpp bytecodeInterpreter.hpp
-vmStructs.cpp cardTableRS.hpp
-vmStructs.cpp codeBlob.hpp
-vmStructs.cpp codeCache.hpp
-vmStructs.cpp collectedHeap.hpp
-vmStructs.cpp compactPermGen.hpp
-vmStructs.cpp compiledICHolderKlass.hpp
-vmStructs.cpp compiledICHolderOop.hpp
-vmStructs.cpp compressedStream.hpp
-vmStructs.cpp constMethodKlass.hpp
-vmStructs.cpp constMethodOop.hpp
-vmStructs.cpp constantPoolKlass.hpp
-vmStructs.cpp constantPoolOop.hpp
-vmStructs.cpp cpCacheKlass.hpp
-vmStructs.cpp cpCacheOop.hpp
-vmStructs.cpp defNewGeneration.hpp
-vmStructs.cpp dictionary.hpp
-vmStructs.cpp freeBlockDictionary.hpp
-vmStructs.cpp genCollectedHeap.hpp
-vmStructs.cpp generation.hpp
-vmStructs.cpp generationSpec.hpp
-vmStructs.cpp globalDefinitions.hpp
-vmStructs.cpp globals.hpp
-vmStructs.cpp hashtable.hpp
-vmStructs.cpp heap.hpp
-vmStructs.cpp immutableSpace.hpp
-vmStructs.cpp instanceKlass.hpp
-vmStructs.cpp instanceKlassKlass.hpp
-vmStructs.cpp instanceOop.hpp
-vmStructs.cpp interpreter.hpp
-vmStructs.cpp java.hpp
-vmStructs.cpp javaCalls.hpp
-vmStructs.cpp javaClasses.hpp
-vmStructs.cpp jvmtiAgentThread.hpp
-vmStructs.cpp klass.hpp
-vmStructs.cpp klassOop.hpp
-vmStructs.cpp loaderConstraints.hpp
-vmStructs.cpp location.hpp
-vmStructs.cpp markOop.hpp
-vmStructs.cpp markSweep.hpp
-vmStructs.cpp methodDataKlass.hpp
-vmStructs.cpp methodDataOop.hpp
-vmStructs.cpp methodKlass.hpp
-vmStructs.cpp methodOop.hpp
-vmStructs.cpp mutableSpace.hpp
-vmStructs.cpp nmethod.hpp
-vmStructs.cpp objArrayKlass.hpp
-vmStructs.cpp objArrayKlassKlass.hpp
-vmStructs.cpp objArrayOop.hpp
-vmStructs.cpp oop.inline.hpp
-vmStructs.cpp oopMap.hpp
-vmStructs.cpp pcDesc.hpp
-vmStructs.cpp perfMemory.hpp
-vmStructs.cpp permGen.hpp
-vmStructs.cpp placeholders.hpp
-vmStructs.cpp sharedRuntime.hpp
-vmStructs.cpp space.hpp
-vmStructs.cpp stubRoutines.hpp
-vmStructs.cpp stubs.hpp
-vmStructs.cpp symbolKlass.hpp
-vmStructs.cpp symbolOop.hpp
-vmStructs.cpp symbolTable.hpp
-vmStructs.cpp systemDictionary.hpp
-vmStructs.cpp tenuredGeneration.hpp
-vmStructs.cpp thread_<os_family>.inline.hpp
-vmStructs.cpp typeArrayKlass.hpp
-vmStructs.cpp typeArrayKlassKlass.hpp
-vmStructs.cpp typeArrayOop.hpp
-vmStructs.cpp universe.hpp
-vmStructs.cpp virtualspace.hpp
-vmStructs.cpp vmStructs.hpp
-vmStructs.cpp vmStructs_<arch>.hpp
-vmStructs.cpp vmStructs_<os_arch>.hpp
-vmStructs.cpp vmreg.hpp
-vmStructs.cpp watermark.hpp
-
-vmStructs.hpp debug.hpp
diff --git a/src/share/vm/includeDB_gc b/src/share/vm/includeDB_gc
deleted file mode 100644
index e47c69d48..000000000
--- a/src/share/vm/includeDB_gc
+++ /dev/null
@@ -1,57 +0,0 @@
-//
-// Copyright (c) 2001, 2009, 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.
-//
-//
-
-// NOTE: DO NOT CHANGE THIS COPYRIGHT TO NEW STYLE - IT WILL BREAK makeDeps!
-
-collectedHeap.cpp collectedHeap.hpp
-collectedHeap.cpp collectedHeap.inline.hpp
-collectedHeap.cpp heapDumper.hpp
-collectedHeap.cpp init.hpp
-collectedHeap.cpp oop.inline.hpp
-collectedHeap.cpp systemDictionary.hpp
-collectedHeap.cpp thread_<os_family>.inline.hpp
-collectedHeap.cpp vmGCOperations.hpp
-
-collectedHeap.hpp allocation.hpp
-collectedHeap.hpp barrierSet.hpp
-collectedHeap.hpp gcCause.hpp
-collectedHeap.hpp handles.hpp
-collectedHeap.hpp perfData.hpp
-collectedHeap.hpp safepoint.hpp
-
-collectedHeap.inline.hpp arrayOop.hpp
-collectedHeap.inline.hpp collectedHeap.hpp
-collectedHeap.inline.hpp copy.hpp
-collectedHeap.inline.hpp jvmtiExport.hpp
-collectedHeap.inline.hpp lowMemoryDetector.hpp
-collectedHeap.inline.hpp sharedRuntime.hpp
-collectedHeap.inline.hpp thread.hpp
-collectedHeap.inline.hpp threadLocalAllocBuffer.inline.hpp
-collectedHeap.inline.hpp universe.hpp
-collectedHeap.inline.hpp thread_<os_family>.inline.hpp
-collectedHeap.inline.hpp sharedRuntime.hpp
-
-gcCause.hpp allocation.hpp
-
-gcCause.cpp gcCause.hpp
diff --git a/src/share/vm/includeDB_gc_parallel b/src/share/vm/includeDB_gc_parallel
deleted file mode 100644
index 05a7de88d..000000000
--- a/src/share/vm/includeDB_gc_parallel
+++ /dev/null
@@ -1,184 +0,0 @@
-//
-// Copyright (c) 2007, 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.
-//
-
-arguments.cpp compactibleFreeListSpace.hpp
-
-assembler_<arch>.cpp g1SATBCardTableModRefBS.hpp
-assembler_<arch>.cpp g1CollectedHeap.inline.hpp
-assembler_<arch>.cpp heapRegion.hpp
-
-collectorPolicy.cpp cmsAdaptiveSizePolicy.hpp
-collectorPolicy.cpp cmsGCAdaptivePolicyCounters.hpp
-
-compiledICHolderKlass.cpp oop.pcgc.inline.hpp
-
-constantPoolKlass.cpp cardTableRS.hpp
-constantPoolKlass.cpp oop.pcgc.inline.hpp
-constantPoolKlass.cpp psPromotionManager.inline.hpp
-constantPoolKlass.cpp psScavenge.inline.hpp
-constantPoolKlass.cpp parOopClosures.inline.hpp
-
-constantPoolKlass.cpp cardTableRS.hpp
-constantPoolKlass.cpp oop.pcgc.inline.hpp
-constantPoolKlass.cpp psPromotionManager.inline.hpp
-constantPoolKlass.cpp psScavenge.inline.hpp
-constantPoolKlass.cpp parOopClosures.inline.hpp
-
-cpCacheKlass.cpp cardTableRS.hpp
-cpCacheKlass.cpp oop.pcgc.inline.hpp
-cpCacheKlass.cpp psPromotionManager.inline.hpp
-cpCacheKlass.cpp psScavenge.inline.hpp
-cpCacheKlass.cpp parOopClosures.inline.hpp
-
-genCollectedHeap.cpp concurrentMarkSweepThread.hpp
-genCollectedHeap.cpp vmCMSOperations.hpp
-
-generationSpec.cpp asParNewGeneration.hpp
-generationSpec.cpp cmsPermGen.hpp
-generationSpec.cpp parNewGeneration.hpp
-
-heapDumper.cpp parallelScavengeHeap.hpp
-
-heapInspection.cpp parallelScavengeHeap.hpp
-
-instanceKlass.cpp heapRegionSeq.inline.hpp
-instanceKlass.cpp g1CollectedHeap.inline.hpp
-instanceKlass.cpp g1OopClosures.inline.hpp
-instanceKlass.cpp oop.pcgc.inline.hpp
-instanceKlass.cpp psPromotionManager.inline.hpp
-instanceKlass.cpp psScavenge.inline.hpp
-instanceKlass.cpp parOopClosures.inline.hpp
-
-instanceKlassKlass.cpp cardTableRS.hpp
-instanceKlassKlass.cpp oop.pcgc.inline.hpp
-instanceKlassKlass.cpp psPromotionManager.inline.hpp
-instanceKlassKlass.cpp psScavenge.inline.hpp
-instanceKlassKlass.cpp parOopClosures.inline.hpp
-
-instanceRefKlass.cpp heapRegionSeq.inline.hpp
-instanceRefKlass.cpp g1CollectedHeap.inline.hpp
-instanceRefKlass.cpp g1OopClosures.inline.hpp
-instanceRefKlass.cpp oop.pcgc.inline.hpp
-instanceRefKlass.cpp psPromotionManager.inline.hpp
-instanceRefKlass.cpp psScavenge.inline.hpp
-instanceRefKlass.cpp parOopClosures.inline.hpp
-
-java.cpp concurrentMarkSweepThread.hpp
-java.cpp psScavenge.hpp
-java.cpp psScavenge.inline.hpp
-
-jvmtiExport.cpp psMarkSweep.hpp
-
-jvmtiTagMap.cpp parallelScavengeHeap.hpp
-
-klassKlass.cpp oop.pcgc.inline.hpp
-
-klass.hpp cmsOopClosures.hpp
-klass.hpp parOopClosures.hpp
-
-memoryPool.hpp compactibleFreeListSpace.hpp
-
-memoryService.cpp cmsPermGen.hpp
-memoryService.cpp concurrentMarkSweepGeneration.hpp
-memoryService.cpp g1CollectedHeap.inline.hpp
-memoryService.cpp parNewGeneration.hpp
-memoryService.cpp parallelScavengeHeap.hpp
-memoryService.cpp psMemoryPool.hpp
-memoryService.cpp psOldGen.hpp
-memoryService.cpp psPermGen.hpp
-memoryService.cpp psYoungGen.hpp
-
-methodDataKlass.cpp oop.pcgc.inline.hpp
-methodDataKlass.cpp psScavenge.inline.hpp
-
-objArrayKlass.cpp heapRegionSeq.inline.hpp
-objArrayKlass.cpp g1CollectedHeap.inline.hpp
-objArrayKlass.cpp g1OopClosures.inline.hpp
-objArrayKlass.cpp oop.pcgc.inline.hpp
-objArrayKlass.cpp psCompactionManager.hpp
-objArrayKlass.cpp psPromotionManager.inline.hpp
-objArrayKlass.cpp psScavenge.inline.hpp
-objArrayKlass.cpp parOopClosures.inline.hpp
-
-objArrayKlass.inline.hpp psCompactionManager.inline.hpp
-objArrayKlass.inline.hpp psParallelCompact.hpp
-
-oop.pcgc.inline.hpp parNewGeneration.hpp
-oop.pcgc.inline.hpp parallelScavengeHeap.hpp
-oop.pcgc.inline.hpp psCompactionManager.hpp
-oop.pcgc.inline.hpp psParallelCompact.hpp
-oop.pcgc.inline.hpp psScavenge.hpp
-oop.pcgc.inline.hpp psScavenge.inline.hpp
-
-oop.psgc.inline.hpp parallelScavengeHeap.hpp
-oop.psgc.inline.hpp psScavenge.hpp
-oop.psgc.inline.hpp psScavenge.inline.hpp
-
-psMemoryPool.cpp handles.inline.hpp
-psMemoryPool.cpp javaCalls.hpp
-psMemoryPool.cpp lowMemoryDetector.hpp
-psMemoryPool.cpp management.hpp
-psMemoryPool.cpp memoryManager.hpp
-psMemoryPool.cpp oop.inline.hpp
-psMemoryPool.cpp psMemoryPool.hpp
-psMemoryPool.cpp psPermGen.hpp
-psMemoryPool.cpp systemDictionary.hpp
-psMemoryPool.cpp vmSymbols.hpp
-
-psMemoryPool.hpp defNewGeneration.hpp
-psMemoryPool.hpp heap.hpp
-psMemoryPool.hpp memoryUsage.hpp
-psMemoryPool.hpp memoryPool.hpp
-psMemoryPool.hpp mutableSpace.hpp
-psMemoryPool.hpp psOldGen.hpp
-psMemoryPool.hpp psYoungGen.hpp
-psMemoryPool.hpp space.hpp
-
-safepoint.cpp concurrentGCThread.hpp
-safepoint.cpp concurrentMarkSweepThread.hpp
-
-thread.cpp concurrentMarkSweepThread.hpp
-thread.cpp pcTasks.hpp
-
-thread.hpp dirtyCardQueue.hpp
-thread.hpp satbQueue.hpp
-
-universe.cpp parallelScavengeHeap.hpp
-universe.cpp cmsCollectorPolicy.hpp
-universe.cpp cmsAdaptiveSizePolicy.hpp
-
-vmStructs.cpp asPSOldGen.hpp
-vmStructs.cpp asPSYoungGen.hpp
-vmStructs.cpp cmsPermGen.hpp
-vmStructs.cpp compactibleFreeListSpace.hpp
-vmStructs.cpp concurrentMarkSweepGeneration.hpp
-vmStructs.cpp concurrentMarkSweepThread.hpp
-vmStructs.cpp parNewGeneration.hpp
-vmStructs.cpp parallelScavengeHeap.hpp
-vmStructs.cpp psOldGen.hpp
-vmStructs.cpp psPermGen.hpp
-vmStructs.cpp psVirtualspace.hpp
-vmStructs.cpp psYoungGen.hpp
-vmStructs.cpp vmStructs_cms.hpp
-vmStructs.cpp vmStructs_parallelgc.hpp
-vmStructs.cpp vmStructs_parNew.hpp
diff --git a/src/share/vm/includeDB_jvmti b/src/share/vm/includeDB_jvmti
deleted file mode 100644
index 56d7d2ed8..000000000
--- a/src/share/vm/includeDB_jvmti
+++ /dev/null
@@ -1,266 +0,0 @@
-//
-// Copyright (c) 2007, 2009, 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.
-//
-//
-
-jvmtiAgentThread.hpp jvmtiEnv.hpp
-
-jvmtiClassFileReconstituter.cpp bytecodeStream.hpp
-jvmtiClassFileReconstituter.cpp bytes_<arch>.hpp
-jvmtiClassFileReconstituter.cpp jvmtiClassFileReconstituter.hpp
-jvmtiClassFileReconstituter.cpp symbolTable.hpp
-jvmtiClassFileReconstituter.cpp signature.hpp
-
-jvmtiClassFileReconstituter.hpp jvmtiEnv.hpp
-
-// jvmtiCodeBlobEvents is jck optional, please put deps in includeDB_features
-
-jvmtiEnter.cpp jvmtiEnter.hpp
-jvmtiEnter.cpp jvmtiRawMonitor.hpp
-jvmtiEnter.cpp jvmtiUtil.hpp
-
-jvmtiEnter.hpp interfaceSupport.hpp
-jvmtiEnter.hpp jvmtiEnv.hpp
-jvmtiEnter.hpp jvmtiImpl.hpp
-jvmtiEnter.hpp resourceArea.hpp
-jvmtiEnter.hpp systemDictionary.hpp
-
-jvmtiEnterTrace.cpp jvmtiEnter.hpp
-jvmtiEnterTrace.cpp jvmtiRawMonitor.hpp
-jvmtiEnterTrace.cpp jvmtiUtil.hpp
-
-jvmtiEnv.cpp arguments.hpp
-jvmtiEnv.cpp bytecodeStream.hpp
-jvmtiEnv.cpp cpCacheOop.hpp
-jvmtiEnv.cpp deoptimization.hpp
-jvmtiEnv.cpp exceptions.hpp
-jvmtiEnv.cpp instanceKlass.hpp
-jvmtiEnv.cpp interfaceSupport.hpp
-jvmtiEnv.cpp interpreter.hpp
-jvmtiEnv.cpp javaCalls.hpp
-jvmtiEnv.cpp jfieldIDWorkaround.hpp
-jvmtiEnv.cpp jniCheck.hpp
-jvmtiEnv.cpp jvm_misc.hpp
-jvmtiEnv.cpp jvmtiAgentThread.hpp
-jvmtiEnv.cpp jvmtiClassFileReconstituter.hpp
-jvmtiEnv.cpp jvmtiCodeBlobEvents.hpp
-jvmtiEnv.cpp jvmtiEnv.hpp
-jvmtiEnv.cpp jvmtiExtensions.hpp
-jvmtiEnv.cpp jvmtiGetLoadedClasses.hpp
-jvmtiEnv.cpp jvmtiImpl.hpp
-jvmtiEnv.cpp jvmtiManageCapabilities.hpp
-jvmtiEnv.cpp jvmtiRawMonitor.hpp
-jvmtiEnv.cpp jvmtiRedefineClasses.hpp
-jvmtiEnv.cpp jvmtiTagMap.hpp
-jvmtiEnv.cpp jvmtiThreadState.inline.hpp
-jvmtiEnv.cpp jvmtiUtil.hpp
-jvmtiEnv.cpp osThread.hpp
-jvmtiEnv.cpp preserveException.hpp
-jvmtiEnv.cpp reflectionUtils.hpp
-jvmtiEnv.cpp resourceArea.hpp
-jvmtiEnv.cpp signature.hpp
-jvmtiEnv.cpp systemDictionary.hpp
-jvmtiEnv.cpp threadService.hpp
-jvmtiEnv.cpp thread_<os_family>.inline.hpp
-jvmtiEnv.cpp universe.inline.hpp
-jvmtiEnv.cpp vframe.hpp
-jvmtiEnv.cpp vmSymbols.hpp
-jvmtiEnv.cpp vmThread.hpp
-
-jvmtiEnv.hpp jvmtiEnvBase.hpp
-
-jvmtiEnvBase.cpp biasedLocking.hpp
-jvmtiEnvBase.cpp deoptimization.hpp
-jvmtiEnvBase.cpp interfaceSupport.hpp
-jvmtiEnvBase.cpp jfieldIDWorkaround.hpp
-jvmtiEnvBase.cpp jvmtiEnv.hpp
-jvmtiEnvBase.cpp jvmtiEnvBase.hpp
-jvmtiEnvBase.cpp jvmtiEventController.inline.hpp
-jvmtiEnvBase.cpp jvmtiExtensions.hpp
-jvmtiEnvBase.cpp jvmtiImpl.hpp
-jvmtiEnvBase.cpp jvmtiManageCapabilities.hpp
-jvmtiEnvBase.cpp jvmtiTagMap.hpp
-jvmtiEnvBase.cpp jvmtiThreadState.inline.hpp
-jvmtiEnvBase.cpp objArrayKlass.hpp
-jvmtiEnvBase.cpp objArrayOop.hpp
-jvmtiEnvBase.cpp objectMonitor.hpp
-jvmtiEnvBase.cpp objectMonitor.inline.hpp
-jvmtiEnvBase.cpp signature.hpp
-jvmtiEnvBase.cpp systemDictionary.hpp
-jvmtiEnvBase.cpp vframe.hpp
-jvmtiEnvBase.cpp vframe_hp.hpp
-jvmtiEnvBase.cpp vmThread.hpp
-jvmtiEnvBase.cpp vm_operations.hpp
-
-jvmtiEnvBase.hpp classLoader.hpp
-jvmtiEnvBase.hpp fieldDescriptor.hpp
-jvmtiEnvBase.hpp frame.hpp
-jvmtiEnvBase.hpp growableArray.hpp
-jvmtiEnvBase.hpp handles.inline.hpp
-jvmtiEnvBase.hpp jvmtiEnvThreadState.hpp
-jvmtiEnvBase.hpp jvmtiEventController.hpp
-jvmtiEnvBase.hpp jvmtiThreadState.hpp
-jvmtiEnvBase.hpp thread.hpp
-jvmtiEnvBase.hpp vm_operations.hpp
-
-jvmtiEnvThreadState.cpp handles.hpp
-jvmtiEnvThreadState.cpp handles.inline.hpp
-jvmtiEnvThreadState.cpp interfaceSupport.hpp
-jvmtiEnvThreadState.cpp interpreter.hpp
-jvmtiEnvThreadState.cpp javaCalls.hpp
-jvmtiEnvThreadState.cpp jvmtiEnv.hpp
-jvmtiEnvThreadState.cpp jvmtiEnvThreadState.hpp
-jvmtiEnvThreadState.cpp jvmtiEventController.inline.hpp
-jvmtiEnvThreadState.cpp jvmtiImpl.hpp
-jvmtiEnvThreadState.cpp resourceArea.hpp
-jvmtiEnvThreadState.cpp signature.hpp
-jvmtiEnvThreadState.cpp systemDictionary.hpp
-jvmtiEnvThreadState.cpp vframe.hpp
-jvmtiEnvThreadState.cpp vm_operations.hpp
-
-jvmtiEnvThreadState.hpp allocation.hpp
-jvmtiEnvThreadState.hpp allocation.inline.hpp
-jvmtiEnvThreadState.hpp globalDefinitions.hpp
-jvmtiEnvThreadState.hpp growableArray.hpp
-jvmtiEnvThreadState.hpp instanceKlass.hpp
-jvmtiEnvThreadState.hpp jvmti.h
-jvmtiEnvThreadState.hpp jvmtiEventController.hpp
-
-jvmtiEventController.cpp frame.hpp
-jvmtiEventController.cpp interpreter.hpp
-jvmtiEventController.cpp jvmtiEnv.hpp
-jvmtiEventController.cpp jvmtiEventController.hpp
-jvmtiEventController.cpp jvmtiEventController.inline.hpp
-jvmtiEventController.cpp jvmtiExport.hpp
-jvmtiEventController.cpp jvmtiImpl.hpp
-jvmtiEventController.cpp jvmtiThreadState.inline.hpp
-jvmtiEventController.cpp resourceArea.hpp
-jvmtiEventController.cpp thread.hpp
-jvmtiEventController.cpp vframe.hpp
-jvmtiEventController.cpp vframe_hp.hpp
-jvmtiEventController.cpp vmThread.hpp
-jvmtiEventController.cpp vm_operations.hpp
-
-jvmtiEventController.hpp allocation.hpp
-jvmtiEventController.hpp allocation.inline.hpp
-jvmtiEventController.hpp globalDefinitions.hpp
-jvmtiEventController.hpp jvmti.h
-
-jvmtiEventController.inline.hpp jvmtiEventController.hpp
-jvmtiEventController.inline.hpp jvmtiImpl.hpp
-jvmtiEventController.inline.hpp jvmtiUtil.hpp
-
-jvmtiExport.cpp arguments.hpp
-jvmtiExport.cpp attachListener.hpp
-jvmtiExport.cpp handles.hpp
-jvmtiExport.cpp interfaceSupport.hpp
-jvmtiExport.cpp interpreter.hpp
-jvmtiExport.cpp jvmtiCodeBlobEvents.hpp
-jvmtiExport.cpp jvmtiEnv.hpp
-jvmtiExport.cpp jvmtiEventController.hpp
-jvmtiExport.cpp jvmtiEventController.inline.hpp
-jvmtiExport.cpp jvmtiExport.hpp
-jvmtiExport.cpp jvmtiImpl.hpp
-jvmtiExport.cpp jvmtiManageCapabilities.hpp
-jvmtiExport.cpp jvmtiRawMonitor.hpp
-jvmtiExport.cpp jvmtiTagMap.hpp
-jvmtiExport.cpp jvmtiThreadState.inline.hpp
-jvmtiExport.cpp nmethod.hpp
-jvmtiExport.cpp objArrayKlass.hpp
-jvmtiExport.cpp objArrayOop.hpp
-jvmtiExport.cpp objectMonitor.hpp
-jvmtiExport.cpp objectMonitor.inline.hpp
-jvmtiExport.cpp pcDesc.hpp
-jvmtiExport.cpp resourceArea.hpp
-jvmtiExport.cpp scopeDesc.hpp
-jvmtiExport.cpp serviceUtil.hpp
-jvmtiExport.cpp systemDictionary.hpp
-jvmtiExport.cpp thread.hpp
-jvmtiExport.cpp vframe.hpp
-
-// jvmtiExtensions is jck optional, please put deps in includeDB_features
-
-jvmtiGetLoadedClasses.cpp jvmtiGetLoadedClasses.hpp
-jvmtiGetLoadedClasses.cpp systemDictionary.hpp
-jvmtiGetLoadedClasses.cpp thread.hpp
-jvmtiGetLoadedClasses.cpp universe.inline.hpp
-
-jvmtiGetLoadedClasses.hpp jvmtiEnv.hpp
-
-// jvmtiImpl is jck optional, please put deps in includeDB_features
-
-jvmtiManageCapabilities.cpp jvmtiEnv.hpp
-jvmtiManageCapabilities.cpp jvmtiExport.hpp
-jvmtiManageCapabilities.cpp jvmtiManageCapabilities.hpp
-
-jvmtiManageCapabilities.hpp allocation.hpp
-jvmtiManageCapabilities.hpp jvmti.h
-
-// jvmtiRawMonitor is jck optional, please put deps in includeDB_features
-
-jvmtiRedefineClasses.cpp bitMap.inline.hpp
-jvmtiRedefineClasses.cpp codeCache.hpp
-jvmtiRedefineClasses.cpp deoptimization.hpp
-jvmtiRedefineClasses.cpp gcLocker.hpp
-jvmtiRedefineClasses.cpp jvmtiImpl.hpp
-jvmtiRedefineClasses.cpp jvmtiRedefineClasses.hpp
-jvmtiRedefineClasses.cpp klassVtable.hpp
-jvmtiRedefineClasses.cpp methodComparator.hpp
-jvmtiRedefineClasses.cpp oopMapCache.hpp
-jvmtiRedefineClasses.cpp relocator.hpp
-jvmtiRedefineClasses.cpp rewriter.hpp
-jvmtiRedefineClasses.cpp systemDictionary.hpp
-jvmtiRedefineClasses.cpp universe.inline.hpp
-jvmtiRedefineClasses.cpp verifier.hpp
-
-jvmtiRedefineClasses.hpp jvmtiEnv.hpp
-jvmtiRedefineClasses.hpp jvmtiRedefineClassesTrace.hpp
-jvmtiRedefineClasses.hpp objArrayKlass.hpp
-jvmtiRedefineClasses.hpp objArrayOop.hpp
-jvmtiRedefineClasses.hpp oopFactory.hpp
-jvmtiRedefineClasses.hpp resourceArea.hpp
-jvmtiRedefineClasses.hpp vm_operations.hpp
-
-// jvmtiTagMap is jck optional, please put deps in includeDB_features
-// jvmtiTrace is jck optional, please put deps in includeDB_features
-
-jvmtiThreadState.cpp gcLocker.hpp
-jvmtiThreadState.cpp jvmtiEnv.hpp
-jvmtiThreadState.cpp jvmtiEventController.inline.hpp
-jvmtiThreadState.cpp jvmtiImpl.hpp
-jvmtiThreadState.cpp jvmtiThreadState.inline.hpp
-jvmtiThreadState.cpp resourceArea.hpp
-jvmtiThreadState.cpp vframe.hpp
-
-jvmtiThreadState.inline.hpp jvmtiEnvThreadState.hpp
-jvmtiThreadState.inline.hpp jvmtiThreadState.hpp
-
-jvmtiUtil.cpp exceptions.hpp
-jvmtiUtil.cpp handles.hpp
-jvmtiUtil.cpp handles.inline.hpp
-jvmtiUtil.cpp interfaceSupport.hpp
-jvmtiUtil.cpp jvmtiUtil.hpp
-jvmtiUtil.cpp vm_operations.hpp
-
-jvmtiUtil.hpp jvmti.h
-jvmtiUtil.hpp jvmtiEventController.hpp
-jvmtiUtil.hpp resourceArea.hpp
diff --git a/src/share/vm/includeDB_shark b/src/share/vm/includeDB_shark
deleted file mode 100644
index 17e451dae..000000000
--- a/src/share/vm/includeDB_shark
+++ /dev/null
@@ -1,371 +0,0 @@
-//
-// Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
-// Copyright 2008, 2009, 2010 Red Hat, Inc.
-// 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.
-//
-//
-
-// NOTE: DO NOT CHANGE THIS COPYRIGHT TO NEW STYLE - IT WILL BREAK makeDeps!
-
-ciMethod.cpp ciTypeFlow.hpp
-ciMethod.cpp methodOop.hpp
-
-ciTypeFlow.cpp allocation.inline.hpp
-ciTypeFlow.cpp bytecode.hpp
-ciTypeFlow.cpp bytecodes.hpp
-ciTypeFlow.cpp ciConstant.hpp
-ciTypeFlow.cpp ciField.hpp
-ciTypeFlow.cpp ciMethod.hpp
-ciTypeFlow.cpp ciMethodData.hpp
-ciTypeFlow.cpp ciObjArrayKlass.hpp
-ciTypeFlow.cpp ciStreams.hpp
-ciTypeFlow.cpp ciTypeArrayKlass.hpp
-ciTypeFlow.cpp ciTypeFlow.hpp
-ciTypeFlow.cpp compileLog.hpp
-ciTypeFlow.cpp deoptimization.hpp
-ciTypeFlow.cpp growableArray.hpp
-ciTypeFlow.cpp shark_globals.hpp
-
-ciTypeFlow.hpp ciEnv.hpp
-ciTypeFlow.hpp ciKlass.hpp
-ciTypeFlow.hpp ciMethodBlocks.hpp
-
-cppInterpreter_<arch>.cpp shark_globals.hpp
-
-compileBroker.cpp sharkCompiler.hpp
-
-disassembler.cpp sharkEntry.hpp
-
-globals.hpp shark_globals_<arch>.hpp
-
-globals.cpp shark_globals.hpp
-
-llvmValue.hpp llvmHeaders.hpp
-llvmValue.hpp sharkContext.hpp
-llvmValue.hpp sharkType.hpp
-
-nmethod.cpp sharkCompiler.hpp
-
-sharedRuntime_<arch>.cpp compileBroker.hpp
-sharedRuntime_<arch>.cpp sharkCompiler.hpp
-
-shark_globals.cpp shark_globals.hpp
-
-shark_globals.hpp shark_globals_<arch>.hpp
-shark_globals.hpp globals.hpp
-
-sharkBlock.cpp debug.hpp
-sharkBlock.cpp bytecodes.hpp
-sharkBlock.cpp llvmHeaders.hpp
-sharkBlock.cpp llvmValue.hpp
-sharkBlock.cpp shark_globals.hpp
-sharkBlock.cpp sharkBlock.hpp
-sharkBlock.cpp sharkBuilder.hpp
-sharkBlock.cpp sharkConstant.hpp
-sharkBlock.cpp sharkState.hpp
-sharkBlock.cpp sharkValue.hpp
-
-sharkBlock.hpp allocation.hpp
-sharkBlock.hpp ciMethod.hpp
-sharkBlock.hpp ciStreams.hpp
-sharkBlock.hpp debug.hpp
-sharkBlock.hpp llvmHeaders.hpp
-sharkBlock.hpp sharkBuilder.hpp
-sharkBlock.hpp sharkConstant.hpp
-sharkBlock.hpp sharkInvariants.hpp
-sharkBlock.hpp sharkState.hpp
-sharkBlock.hpp sharkValue.hpp
-
-sharkBuilder.cpp ciMethod.hpp
-sharkBuilder.cpp debug.hpp
-sharkBuilder.cpp llvmHeaders.hpp
-sharkBuilder.cpp llvmValue.hpp
-sharkBuilder.cpp methodOop.hpp
-sharkBuilder.cpp os.hpp
-sharkBuilder.cpp resourceArea.hpp
-sharkBuilder.cpp llvmHeaders.hpp
-sharkBuilder.cpp sharkBuilder.hpp
-sharkBuilder.cpp sharkContext.hpp
-sharkBuilder.cpp sharkRuntime.hpp
-sharkBuilder.cpp synchronizer.hpp
-sharkBuilder.cpp thread.hpp
-
-sharkBuilder.hpp barrierSet.hpp
-sharkBuilder.hpp cardTableModRefBS.hpp
-sharkBuilder.hpp ciType.hpp
-sharkBuilder.hpp debug.hpp
-sharkBuilder.hpp llvmHeaders.hpp
-sharkBuilder.hpp llvmValue.hpp
-sharkBuilder.hpp sizes.hpp
-sharkBuilder.hpp sharkCodeBuffer.hpp
-sharkBuilder.hpp sharkType.hpp
-sharkBuilder.hpp sharkValue.hpp
-sharkBuilder.hpp sharkEntry.hpp
-
-sharkCacheDecache.cpp ciMethod.hpp
-sharkCacheDecache.cpp debugInfoRec.hpp
-sharkCacheDecache.cpp llvmValue.hpp
-sharkCacheDecache.cpp sharkBuilder.hpp
-sharkCacheDecache.cpp sharkCacheDecache.hpp
-sharkCacheDecache.cpp sharkFunction.hpp
-sharkCacheDecache.cpp sharkState.hpp
-
-sharkCacheDecache.hpp ciMethod.hpp
-sharkCacheDecache.hpp debugInfoRec.hpp
-sharkCacheDecache.hpp sharkBuilder.hpp
-sharkCacheDecache.hpp sharkFunction.hpp
-sharkCacheDecache.hpp sharkStateScanner.hpp
-
-sharkCodeBuffer.hpp allocation.hpp
-sharkCodeBuffer.hpp codeBuffer.hpp
-sharkCodeBuffer.hpp llvmHeaders.hpp
-
-sharkCompiler.cpp abstractCompiler.hpp
-sharkCompiler.cpp ciEnv.hpp
-sharkCompiler.cpp ciMethod.hpp
-sharkCompiler.cpp debug.hpp
-sharkCompiler.cpp debugInfoRec.hpp
-sharkCompiler.cpp dependencies.hpp
-sharkCompiler.cpp exceptionHandlerTable.hpp
-sharkCompiler.cpp llvmHeaders.hpp
-sharkCompiler.cpp oopMap.hpp
-sharkCompiler.cpp oopRecorder.hpp
-sharkCompiler.cpp shark_globals.hpp
-sharkCompiler.cpp sharkBuilder.hpp
-sharkCompiler.cpp sharkCodeBuffer.hpp
-sharkCompiler.cpp sharkCompiler.hpp
-sharkCompiler.cpp sharkContext.hpp
-sharkCompiler.cpp sharkEntry.hpp
-sharkCompiler.cpp sharkFunction.hpp
-sharkCompiler.cpp sharkMemoryManager.hpp
-sharkCompiler.cpp sharkNativeWrapper.hpp
-
-sharkCompiler.hpp abstractCompiler.hpp
-sharkCompiler.hpp ciEnv.hpp
-sharkCompiler.hpp ciMethod.hpp
-sharkCompiler.hpp compileBroker.hpp
-sharkCompiler.hpp llvmHeaders.hpp
-sharkCompiler.hpp sharkMemoryManager.hpp
-
-sharkContext.cpp arrayOop.hpp
-sharkContext.cpp globalDefinitions.hpp
-sharkContext.cpp llvmHeaders.hpp
-sharkContext.cpp oop.hpp
-sharkContext.cpp sharkContext.hpp
-
-sharkContext.hpp llvmHeaders.hpp
-sharkContext.hpp sharkCompiler.hpp
-
-sharkConstant.cpp ciInstance.hpp
-sharkConstant.cpp ciStreams.hpp
-sharkConstant.cpp sharkBuilder.hpp
-sharkConstant.cpp sharkConstant.hpp
-sharkConstant.cpp sharkValue.hpp
-
-sharkConstant.hpp allocation.hpp
-sharkConstant.hpp ciStreams.hpp
-sharkConstant.hpp sharkBuilder.hpp
-sharkConstant.hpp sharkValue.hpp
-
-sharkEntry.hpp llvmHeaders.hpp
-
-sharkFunction.cpp allocation.hpp
-sharkFunction.cpp ciTypeFlow.hpp
-sharkFunction.cpp debug.hpp
-sharkFunction.cpp llvmHeaders.hpp
-sharkFunction.cpp llvmValue.hpp
-sharkFunction.cpp shark_globals.hpp
-sharkFunction.cpp sharkBuilder.hpp
-sharkFunction.cpp sharkEntry.hpp
-sharkFunction.cpp sharkFunction.hpp
-sharkFunction.cpp sharkState.hpp
-sharkFunction.cpp sharkTopLevelBlock.hpp
-
-sharkFunction.hpp allocation.hpp
-sharkFunction.hpp ciEnv.hpp
-sharkFunction.hpp ciStreams.hpp
-sharkFunction.hpp ciTypeFlow.hpp
-sharkFunction.hpp llvmHeaders.hpp
-sharkFunction.hpp llvmValue.hpp
-sharkFunction.hpp sharkBuilder.hpp
-sharkFunction.hpp sharkContext.hpp
-sharkFunction.hpp sharkInvariants.hpp
-sharkFunction.hpp sharkStack.hpp
-
-sharkInliner.cpp allocation.hpp
-sharkInliner.cpp bytecodes.hpp
-sharkInliner.cpp ciField.hpp
-sharkInliner.cpp ciMethod.hpp
-sharkInliner.cpp ciStreams.hpp
-sharkInliner.cpp shark_globals.hpp
-sharkInliner.cpp sharkBlock.hpp
-sharkInliner.cpp sharkConstant.hpp
-sharkInliner.cpp sharkInliner.hpp
-sharkInliner.cpp sharkIntrinsics.hpp
-sharkInliner.cpp sharkState.hpp
-sharkInliner.cpp sharkValue.hpp
-
-sharkInliner.hpp allocation.hpp
-sharkInliner.hpp ciMethod.hpp
-sharkInliner.hpp llvmHeaders.hpp
-sharkInliner.hpp sharkState.hpp
-
-sharkIntrinsics.cpp ciMethod.hpp
-sharkIntrinsics.cpp llvmHeaders.hpp
-sharkIntrinsics.cpp shark_globals.hpp
-sharkIntrinsics.cpp sharkIntrinsics.hpp
-sharkIntrinsics.cpp sharkState.hpp
-sharkIntrinsics.cpp sharkValue.hpp
-
-sharkIntrinsics.hpp allocation.hpp
-sharkIntrinsics.hpp ciMethod.hpp
-sharkIntrinsics.hpp llvmHeaders.hpp
-sharkIntrinsics.hpp sharkState.hpp
-
-sharkInvariants.cpp sharkInvariants.hpp
-
-sharkInvariants.hpp allocation.hpp
-sharkInvariants.hpp ciEnv.hpp
-sharkInvariants.hpp ciMethod.hpp
-sharkInvariants.hpp ciInstanceKlass.hpp
-sharkInvariants.hpp ciTypeFlow.hpp
-sharkInvariants.hpp debugInfoRec.hpp
-sharkInvariants.hpp dependencies.hpp
-sharkInvariants.hpp llvmHeaders.hpp
-sharkInvariants.hpp sharkBuilder.hpp
-
-sharkMemoryManager.hpp llvmHeaders.hpp
-sharkMemoryManager.hpp sharkEntry.hpp
-
-sharkMemoryManager.cpp llvmHeaders.hpp
-sharkMemoryManager.cpp sharkEntry.hpp
-sharkMemoryManager.cpp sharkMemoryManager.hpp
-
-sharkNativeWrapper.cpp llvmHeaders.hpp
-sharkNativeWrapper.cpp sharkNativeWrapper.hpp
-sharkNativeWrapper.cpp sharkType.hpp
-
-sharkNativeWrapper.hpp handles.hpp
-sharkNativeWrapper.hpp llvmHeaders.hpp
-sharkNativeWrapper.hpp sharkBuilder.hpp
-sharkNativeWrapper.hpp sharkContext.hpp
-sharkNativeWrapper.hpp sharkInvariants.hpp
-sharkNativeWrapper.hpp sharkStack.hpp
-
-sharkRuntime.cpp biasedLocking.hpp
-sharkRuntime.cpp deoptimization.hpp
-sharkRuntime.cpp llvmHeaders.hpp
-sharkRuntime.cpp klassOop.hpp
-sharkRuntime.cpp sharkRuntime.hpp
-sharkRuntime.cpp stack_<arch>.inline.hpp
-sharkRuntime.cpp thread.hpp
-
-sharkRuntime.hpp allocation.hpp
-sharkRuntime.hpp llvmHeaders.hpp
-sharkRuntime.hpp llvmValue.hpp
-sharkRuntime.hpp klassOop.hpp
-sharkRuntime.hpp thread.hpp
-
-sharkStack.cpp llvmHeaders.hpp
-sharkStack.cpp sharkFunction.hpp
-sharkStack.cpp sharkNativeWrapper.hpp
-sharkStack.cpp sharkStack.hpp
-sharkStack.cpp sharkType.hpp
-
-sharkStack.hpp llvmHeaders.hpp
-sharkStack.hpp sharkInvariants.hpp
-sharkStack.hpp sharkType.hpp
-
-sharkState.cpp allocation.hpp
-sharkState.cpp ciType.hpp
-sharkState.cpp ciTypeFlow.hpp
-sharkState.cpp sharkBuilder.hpp
-sharkState.cpp sharkCacheDecache.hpp
-sharkState.cpp sharkState.hpp
-sharkState.cpp sharkTopLevelBlock.hpp
-sharkState.cpp sharkType.hpp
-sharkState.cpp sharkValue.hpp
-
-sharkState.hpp allocation.hpp
-sharkState.hpp ciMethod.hpp
-sharkState.hpp llvmHeaders.hpp
-sharkState.hpp sharkBuilder.hpp
-sharkState.hpp sharkInvariants.hpp
-sharkState.hpp sharkValue.hpp
-
-sharkStateScanner.cpp sharkState.hpp
-sharkStateScanner.cpp sharkStateScanner.hpp
-
-sharkStateScanner.hpp allocation.hpp
-sharkStateScanner.hpp llvmHeaders.hpp
-sharkStateScanner.hpp sharkFunction.hpp
-sharkStateScanner.hpp sharkInvariants.hpp
-
-sharkTopLevelBlock.cpp allocation.hpp
-sharkTopLevelBlock.cpp bytecodes.hpp
-sharkTopLevelBlock.cpp ciField.hpp
-sharkTopLevelBlock.cpp ciInstance.hpp
-sharkTopLevelBlock.cpp ciObjArrayKlass.hpp
-sharkTopLevelBlock.cpp ciStreams.hpp
-sharkTopLevelBlock.cpp ciType.hpp
-sharkTopLevelBlock.cpp ciTypeFlow.hpp
-sharkTopLevelBlock.cpp debug.hpp
-sharkTopLevelBlock.cpp deoptimization.hpp
-sharkTopLevelBlock.cpp llvmHeaders.hpp
-sharkTopLevelBlock.cpp llvmValue.hpp
-sharkTopLevelBlock.cpp shark_globals.hpp
-sharkTopLevelBlock.cpp sharkCacheDecache.hpp
-sharkTopLevelBlock.cpp sharkTopLevelBlock.hpp
-sharkTopLevelBlock.cpp sharkBuilder.hpp
-sharkTopLevelBlock.cpp sharkConstant.hpp
-sharkTopLevelBlock.cpp sharkInliner.hpp
-sharkTopLevelBlock.cpp sharkState.hpp
-sharkTopLevelBlock.cpp sharkValue.hpp
-
-sharkTopLevelBlock.hpp allocation.hpp
-sharkTopLevelBlock.hpp bytecodes.hpp
-sharkTopLevelBlock.hpp ciStreams.hpp
-sharkTopLevelBlock.hpp ciType.hpp
-sharkTopLevelBlock.hpp ciTypeFlow.hpp
-sharkTopLevelBlock.hpp llvmHeaders.hpp
-sharkTopLevelBlock.hpp sharkBlock.hpp
-sharkTopLevelBlock.hpp sharkBuilder.hpp
-sharkTopLevelBlock.hpp sharkFunction.hpp
-sharkTopLevelBlock.hpp sharkState.hpp
-sharkTopLevelBlock.hpp sharkValue.hpp
-
-sharkType.hpp allocation.hpp
-sharkType.hpp ciType.hpp
-sharkType.hpp globalDefinitions.hpp
-sharkType.hpp llvmHeaders.hpp
-sharkType.hpp sharkContext.hpp
-
-sharkValue.cpp ciType.hpp
-sharkValue.cpp llvmHeaders.hpp
-sharkValue.cpp llvmValue.hpp
-sharkValue.cpp sharkBuilder.hpp
-sharkValue.cpp sharkValue.hpp
-
-sharkValue.hpp allocation.hpp
-sharkValue.hpp ciType.hpp
-sharkValue.hpp llvmHeaders.hpp
-sharkValue.hpp llvmValue.hpp
-sharkValue.hpp sharkType.hpp
diff --git a/src/share/vm/includeDB_zero b/src/share/vm/includeDB_zero
deleted file mode 100644
index b175ddac8..000000000
--- a/src/share/vm/includeDB_zero
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
-// Copyright 2009, 2010 Red Hat, Inc.
-// 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.
-//
-//
-
-// NOTE: DO NOT CHANGE THIS COPYRIGHT TO NEW STYLE - IT WILL BREAK makeDeps!
-
-cppInterpreter_<arch>.cpp stack_<arch>.inline.hpp
-
-entryFrame_<arch>.hpp javaCalls.hpp
-entryFrame_<arch>.hpp stack_<arch>.hpp
-
-fakeStubFrame_<arch>.hpp stack_<arch>.hpp
-
-frame.hpp stack_<arch>.hpp
-
-frame.inline.hpp fakeStubFrame_<arch>.hpp
-frame.inline.hpp entryFrame_<arch>.hpp
-frame.inline.hpp interpreterFrame_<arch>.hpp
-frame.inline.hpp sharkFrame_<arch>.hpp
-
-frame_<arch>.cpp interpreterRuntime.hpp
-frame_<arch>.cpp scopeDesc.hpp
-
-interpreter.hpp entry_<arch>.hpp
-
-interpreterFrame_<arch>.hpp bytecodeInterpreter.hpp
-interpreterFrame_<arch>.hpp methodOop.hpp
-interpreterFrame_<arch>.hpp stack_<arch>.hpp
-interpreterFrame_<arch>.hpp thread.hpp
-
-interpreterRT_<arch>.cpp stack_<arch>.inline.hpp
-
-sharkFrame_<arch>.hpp methodOop.hpp
-sharkFrame_<arch>.hpp stack_<arch>.hpp
-
-stack_<arch>.hpp sizes.hpp
-
-stack_<arch>.inline.hpp stack_<arch>.hpp
-stack_<arch>.inline.hpp thread.hpp
-
-stack_<arch>.cpp interpreterRuntime.hpp
-stack_<arch>.cpp stack_<arch>.hpp
-stack_<arch>.cpp stack_<arch>.inline.hpp
-
-stubGenerator_<arch>.cpp stack_<arch>.inline.hpp
-
-thread.hpp stack_<arch>.hpp
diff --git a/src/share/vm/interpreter/abstractInterpreter.hpp b/src/share/vm/interpreter/abstractInterpreter.hpp
index 117d4ea07..73eae232d 100644
--- a/src/share/vm/interpreter/abstractInterpreter.hpp
+++ b/src/share/vm/interpreter/abstractInterpreter.hpp
@@ -22,6 +22,35 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_ABSTRACTINTERPRETER_HPP
+#define SHARE_VM_INTERPRETER_ABSTRACTINTERPRETER_HPP
+
+#include "code/stubs.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "runtime/vmThread.hpp"
+#include "utilities/top.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "interp_masm_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "interp_masm_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "interp_masm_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "interp_masm_zero.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
// This file contains the platform-independent parts
// of the abstract interpreter and the abstract interpreter generator.
@@ -256,3 +285,5 @@ class AbstractInterpreterGenerator: public StackObj {
public:
AbstractInterpreterGenerator(StubQueue* _code);
};
+
+#endif // SHARE_VM_INTERPRETER_ABSTRACTINTERPRETER_HPP
diff --git a/src/share/vm/interpreter/bytecode.cpp b/src/share/vm/interpreter/bytecode.cpp
index 58f7ebe64..badfc322e 100644
--- a/src/share/vm/interpreter/bytecode.cpp
+++ b/src/share/vm/interpreter/bytecode.cpp
@@ -22,8 +22,15 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_bytecode.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/bytecode.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/fieldType.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/signature.hpp"
// Implementation of Bytecode
diff --git a/src/share/vm/interpreter/bytecode.hpp b/src/share/vm/interpreter/bytecode.hpp
index d172a8187..ae27187aa 100644
--- a/src/share/vm/interpreter/bytecode.hpp
+++ b/src/share/vm/interpreter/bytecode.hpp
@@ -22,6 +22,22 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_BYTECODE_HPP
+#define SHARE_VM_INTERPRETER_BYTECODE_HPP
+
+#include "interpreter/bytecodes.hpp"
+#include "memory/allocation.hpp"
+#include "oops/methodOop.hpp"
+#ifdef TARGET_ARCH_x86
+# include "bytes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytes_zero.hpp"
+#endif
+
// Base class for different kinds of abstractions working
// relative to an objects 'this' pointer.
@@ -431,3 +447,5 @@ inline Bytecode_loadconstant* Bytecode_loadconstant_at(methodHandle method, int
DEBUG_ONLY(b->verify());
return b;
}
+
+#endif // SHARE_VM_INTERPRETER_BYTECODE_HPP
diff --git a/src/share/vm/interpreter/bytecodeHistogram.cpp b/src/share/vm/interpreter/bytecodeHistogram.cpp
index 4e3e76210..31fe4dacb 100644
--- a/src/share/vm/interpreter/bytecodeHistogram.cpp
+++ b/src/share/vm/interpreter/bytecodeHistogram.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_bytecodeHistogram.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/bytecodeHistogram.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/os.hpp"
+#include "utilities/growableArray.hpp"
// ------------------------------------------------------------------------------------------------
// Non-product code
diff --git a/src/share/vm/interpreter/bytecodeHistogram.hpp b/src/share/vm/interpreter/bytecodeHistogram.hpp
index 21e30d209..51798d1f0 100644
--- a/src/share/vm/interpreter/bytecodeHistogram.hpp
+++ b/src/share/vm/interpreter/bytecodeHistogram.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_BYTECODEHISTOGRAM_HPP
+#define SHARE_VM_INTERPRETER_BYTECODEHISTOGRAM_HPP
+
+#include "interpreter/bytecodes.hpp"
+#include "memory/allocation.hpp"
+
// BytecodeCounter counts the number of bytecodes executed
class BytecodeCounter: AllStatic {
@@ -90,3 +96,5 @@ class BytecodePairHistogram: AllStatic {
// Profile printing
static void print(float cutoff = 0.01F) PRODUCT_RETURN; // cutoff in percent
};
+
+#endif // SHARE_VM_INTERPRETER_BYTECODEHISTOGRAM_HPP
diff --git a/src/share/vm/interpreter/bytecodeInterpreter.cpp b/src/share/vm/interpreter/bytecodeInterpreter.cpp
index 9581f24bc..686d1469a 100644
--- a/src/share/vm/interpreter/bytecodeInterpreter.cpp
+++ b/src/share/vm/interpreter/bytecodeInterpreter.cpp
@@ -22,10 +22,46 @@
*
*/
-
// no precompiled headers
-#include "incls/_bytecodeInterpreter.cpp.incl"
+#include "classfile/vmSymbols.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "interpreter/bytecodeHistogram.hpp"
+#include "interpreter/bytecodeInterpreter.hpp"
+#include "interpreter/bytecodeInterpreter.inline.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/interpreterRuntime.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/threadCritical.hpp"
+#include "utilities/exceptions.hpp"
+#ifdef TARGET_OS_ARCH_linux_x86
+# include "orderAccess_linux_x86.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_sparc
+# include "orderAccess_linux_sparc.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_zero
+# include "orderAccess_linux_zero.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_x86
+# include "orderAccess_solaris_x86.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_sparc
+# include "orderAccess_solaris_sparc.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_windows_x86
+# include "orderAccess_windows_x86.inline.hpp"
+#endif
+
+// no precompiled headers
#ifdef CC_INTERP
/*
diff --git a/src/share/vm/interpreter/bytecodeInterpreter.hpp b/src/share/vm/interpreter/bytecodeInterpreter.hpp
index 086b26b7f..636a070d6 100644
--- a/src/share/vm/interpreter/bytecodeInterpreter.hpp
+++ b/src/share/vm/interpreter/bytecodeInterpreter.hpp
@@ -22,6 +22,26 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_BYTECODEINTERPRETER_HPP
+#define SHARE_VM_INTERPRETER_BYTECODEINTERPRETER_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/methodOop.hpp"
+#include "runtime/basicLock.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/globals.hpp"
+#include "utilities/globalDefinitions.hpp"
+#ifdef TARGET_ARCH_x86
+# include "bytes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytes_zero.hpp"
+#endif
+
#ifdef CC_INTERP
// CVM definitions find hotspot equivalents...
@@ -558,8 +578,19 @@ void print();
#endif // PRODUCT
// Platform fields/methods
-# include "incls/_bytecodeInterpreter_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "bytecodeInterpreter_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytecodeInterpreter_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytecodeInterpreter_zero.hpp"
+#endif
+
}; // BytecodeInterpreter
#endif // CC_INTERP
+
+#endif // SHARE_VM_INTERPRETER_BYTECODEINTERPRETER_HPP
diff --git a/src/share/vm/interpreter/bytecodeInterpreter.inline.hpp b/src/share/vm/interpreter/bytecodeInterpreter.inline.hpp
index 041d6a145..d0dcf6ce7 100644
--- a/src/share/vm/interpreter/bytecodeInterpreter.inline.hpp
+++ b/src/share/vm/interpreter/bytecodeInterpreter.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_BYTECODEINTERPRETER_INLINE_HPP
+#define SHARE_VM_INTERPRETER_BYTECODEINTERPRETER_INLINE_HPP
+
+#include "interpreter/bytecodeInterpreter.hpp"
+#include "runtime/stubRoutines.hpp"
+
// This file holds platform-independent bodies of inline functions for the C++ based interpreter
#ifdef CC_INTERP
@@ -37,5 +43,16 @@
#endif
// Platform dependent data manipulation
-# include "incls/_bytecodeInterpreter_pd.inline.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "bytecodeInterpreter_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytecodeInterpreter_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytecodeInterpreter_zero.inline.hpp"
+#endif
+
#endif // CC_INTERP
+
+#endif // SHARE_VM_INTERPRETER_BYTECODEINTERPRETER_INLINE_HPP
diff --git a/src/share/vm/interpreter/bytecodeInterpreterWithChecks.xsl b/src/share/vm/interpreter/bytecodeInterpreterWithChecks.xsl
index e35e5f623..824cd9177 100644
--- a/src/share/vm/interpreter/bytecodeInterpreterWithChecks.xsl
+++ b/src/share/vm/interpreter/bytecodeInterpreterWithChecks.xsl
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!--
- Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 1997, 2010, 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
@@ -28,7 +28,7 @@
<xsl:template match="processcode">
<xsl:text>
#define VM_JVMTI
-#include "bytecodeInterpreter.cpp"
+#include "interpreter/bytecodeInterpreter.cpp"
</xsl:text>
<xsl:text disable-output-escaping = "yes">
diff --git a/src/share/vm/interpreter/bytecodeStream.cpp b/src/share/vm/interpreter/bytecodeStream.cpp
index b5414d5b9..65fd7ecf5 100644
--- a/src/share/vm/interpreter/bytecodeStream.cpp
+++ b/src/share/vm/interpreter/bytecodeStream.cpp
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_bytecodeStream.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/bytecodeStream.hpp"
+#include "interpreter/bytecodes.hpp"
Bytecodes::Code RawBytecodeStream::raw_next_special(Bytecodes::Code code) {
assert(!is_last_bytecode(), "should have been checked");
diff --git a/src/share/vm/interpreter/bytecodeStream.hpp b/src/share/vm/interpreter/bytecodeStream.hpp
index 204a3c56a..f3b5a787b 100644
--- a/src/share/vm/interpreter/bytecodeStream.hpp
+++ b/src/share/vm/interpreter/bytecodeStream.hpp
@@ -22,6 +22,22 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_BYTECODESTREAM_HPP
+#define SHARE_VM_INTERPRETER_BYTECODESTREAM_HPP
+
+#include "interpreter/bytecode.hpp"
+#include "memory/allocation.hpp"
+#include "oops/methodOop.hpp"
+#ifdef TARGET_ARCH_x86
+# include "bytes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytes_zero.hpp"
+#endif
+
// A BytecodeStream is used for fast iteration over the bytecodes
// of a methodOop.
//
@@ -214,3 +230,5 @@ class BytecodeStream: public BaseBytecodeStream {
return bytecode()->get_index_u4(raw_code()); }
bool has_index_u4() const { return bytecode()->has_index_u4(raw_code()); }
};
+
+#endif // SHARE_VM_INTERPRETER_BYTECODESTREAM_HPP
diff --git a/src/share/vm/interpreter/bytecodeTracer.cpp b/src/share/vm/interpreter/bytecodeTracer.cpp
index 1a5cadb4c..1f6ecb522 100644
--- a/src/share/vm/interpreter/bytecodeTracer.cpp
+++ b/src/share/vm/interpreter/bytecodeTracer.cpp
@@ -22,8 +22,17 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_bytecodeTracer.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/bytecodeHistogram.hpp"
+#include "interpreter/bytecodeTracer.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/interpreterRuntime.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/methodOop.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/timer.hpp"
#ifndef PRODUCT
diff --git a/src/share/vm/interpreter/bytecodeTracer.hpp b/src/share/vm/interpreter/bytecodeTracer.hpp
index 94114a802..5dc78e0ac 100644
--- a/src/share/vm/interpreter/bytecodeTracer.hpp
+++ b/src/share/vm/interpreter/bytecodeTracer.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_BYTECODETRACER_HPP
+#define SHARE_VM_INTERPRETER_BYTECODETRACER_HPP
+
+#include "memory/allocation.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
// for each bytecode.
@@ -56,3 +61,5 @@ class BytecodeClosure {
};
#endif // !PRODUCT
+
+#endif // SHARE_VM_INTERPRETER_BYTECODETRACER_HPP
diff --git a/src/share/vm/interpreter/bytecodes.cpp b/src/share/vm/interpreter/bytecodes.cpp
index 4e1dcc458..0601d3fbe 100644
--- a/src/share/vm/interpreter/bytecodes.cpp
+++ b/src/share/vm/interpreter/bytecodes.cpp
@@ -22,8 +22,19 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_bytecodes.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/methodOop.hpp"
+#ifdef TARGET_ARCH_x86
+# include "bytes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytes_zero.hpp"
+#endif
#if defined(WIN32) && (defined(_MSC_VER) && (_MSC_VER < 1600))
diff --git a/src/share/vm/interpreter/bytecodes.hpp b/src/share/vm/interpreter/bytecodes.hpp
index f171164bf..91e456f7a 100644
--- a/src/share/vm/interpreter/bytecodes.hpp
+++ b/src/share/vm/interpreter/bytecodes.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_BYTECODES_HPP
+#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.
@@ -279,7 +285,16 @@ class Bytecodes: AllStatic {
_shouldnotreachhere, // For debugging
// Platform specific JVM bytecodes
- #include "incls/_bytecodes_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "bytecodes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytecodes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytecodes_zero.hpp"
+#endif
+
number_of_codes
};
@@ -394,3 +409,5 @@ class Bytecodes: AllStatic {
// Initialization
static void initialize ();
};
+
+#endif // SHARE_VM_INTERPRETER_BYTECODES_HPP
diff --git a/src/share/vm/interpreter/cppInterpreter.cpp b/src/share/vm/interpreter/cppInterpreter.cpp
index 998d2e354..6ce16e271 100644
--- a/src/share/vm/interpreter/cppInterpreter.cpp
+++ b/src/share/vm/interpreter/cppInterpreter.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_cppInterpreter.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/bytecodeInterpreter.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/interpreterGenerator.hpp"
+#include "interpreter/interpreterRuntime.hpp"
#ifdef CC_INTERP
# define __ _masm->
diff --git a/src/share/vm/interpreter/cppInterpreter.hpp b/src/share/vm/interpreter/cppInterpreter.hpp
index 691f52d81..c428634ec 100644
--- a/src/share/vm/interpreter/cppInterpreter.hpp
+++ b/src/share/vm/interpreter/cppInterpreter.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_CPPINTERPRETER_HPP
+#define SHARE_VM_INTERPRETER_CPPINTERPRETER_HPP
+
+#include "interpreter/abstractInterpreter.hpp"
+
#ifdef CC_INTERP
// This file contains the platform-independent parts
@@ -76,8 +81,19 @@ class CppInterpreter: public AbstractInterpreter {
static address return_entry (TosState state, int length);
static address deopt_entry (TosState state, int length);
-#include "incls/_cppInterpreter_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "cppInterpreter_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "cppInterpreter_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "cppInterpreter_zero.hpp"
+#endif
+
};
#endif // CC_INTERP
+
+#endif // SHARE_VM_INTERPRETER_CPPINTERPRETER_HPP
diff --git a/src/share/vm/interpreter/cppInterpreterGenerator.hpp b/src/share/vm/interpreter/cppInterpreterGenerator.hpp
index 7d9b3660b..fa0b785c3 100644
--- a/src/share/vm/interpreter/cppInterpreterGenerator.hpp
+++ b/src/share/vm/interpreter/cppInterpreterGenerator.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_CPPINTERPRETERGENERATOR_HPP
+#define SHARE_VM_INTERPRETER_CPPINTERPRETERGENERATOR_HPP
+
// This file contains the platform-independent parts
// of the template interpreter generator.
@@ -41,7 +44,18 @@ class CppInterpreterGenerator: public AbstractInterpreterGenerator {
public:
CppInterpreterGenerator(StubQueue* _code);
- #include "incls/_cppInterpreterGenerator_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "cppInterpreterGenerator_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "cppInterpreterGenerator_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "cppInterpreterGenerator_zero.hpp"
+#endif
+
};
#endif // CC_INTERP
+
+#endif // SHARE_VM_INTERPRETER_CPPINTERPRETERGENERATOR_HPP
diff --git a/src/share/vm/interpreter/interpreter.cpp b/src/share/vm/interpreter/interpreter.cpp
index 1b1a16333..2c389b1d2 100644
--- a/src/share/vm/interpreter/interpreter.cpp
+++ b/src/share/vm/interpreter/interpreter.cpp
@@ -22,8 +22,25 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_interpreter.cpp.incl"
+#include "precompiled.hpp"
+#include "asm/assembler.hpp"
+#include "interpreter/bytecodeHistogram.hpp"
+#include "interpreter/bytecodeInterpreter.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/interpreterRuntime.hpp"
+#include "interpreter/templateTable.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/arrayOop.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/forte.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/timer.hpp"
# define __ _masm->
diff --git a/src/share/vm/interpreter/interpreter.hpp b/src/share/vm/interpreter/interpreter.hpp
index 606bbdfca..9de4afa6a 100644
--- a/src/share/vm/interpreter/interpreter.hpp
+++ b/src/share/vm/interpreter/interpreter.hpp
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_INTERPRETER_HPP
+#define SHARE_VM_INTERPRETER_INTERPRETER_HPP
+
+#include "code/stubs.hpp"
+#include "interpreter/cppInterpreter.hpp"
+#include "interpreter/templateInterpreter.hpp"
+#ifdef ZERO
+#ifdef TARGET_ARCH_zero
+# include "entry_zero.hpp"
+#endif
+#endif
+
// This file contains the platform-independent parts
// of the interpreter and the interpreter generator.
@@ -131,5 +143,16 @@ class Interpreter: public CC_INTERP_ONLY(CppInterpreter) NOT_CC_INTERP(TemplateI
public:
// Debugging/printing
static InterpreterCodelet* codelet_containing(address pc) { return (InterpreterCodelet*)_code->stub_containing(pc); }
-#include "incls/_interpreter_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "interpreter_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "interpreter_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "interpreter_zero.hpp"
+#endif
+
};
+
+#endif // SHARE_VM_INTERPRETER_INTERPRETER_HPP
diff --git a/src/share/vm/interpreter/interpreterGenerator.hpp b/src/share/vm/interpreter/interpreterGenerator.hpp
index 20e81a6bb..1030248f4 100644
--- a/src/share/vm/interpreter/interpreterGenerator.hpp
+++ b/src/share/vm/interpreter/interpreterGenerator.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_INTERPRETERGENERATOR_HPP
+#define SHARE_VM_INTERPRETER_INTERPRETERGENERATOR_HPP
+
+#include "interpreter/cppInterpreter.hpp"
+#include "interpreter/cppInterpreterGenerator.hpp"
+#include "interpreter/templateInterpreter.hpp"
+#include "interpreter/templateInterpreterGenerator.hpp"
+
// This file contains the platform-independent parts
// of the interpreter generator.
@@ -33,6 +41,17 @@ public:
InterpreterGenerator(StubQueue* _code);
-#include "incls/_interpreterGenerator_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "interpreterGenerator_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "interpreterGenerator_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "interpreterGenerator_zero.hpp"
+#endif
+
};
+
+#endif // SHARE_VM_INTERPRETER_INTERPRETERGENERATOR_HPP
diff --git a/src/share/vm/interpreter/interpreterRuntime.cpp b/src/share/vm/interpreter/interpreterRuntime.cpp
index ecd3d7bb0..2aa0c96dc 100644
--- a/src/share/vm/interpreter/interpreterRuntime.cpp
+++ b/src/share/vm/interpreter/interpreterRuntime.cpp
@@ -22,8 +22,52 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_interpreterRuntime.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "compiler/compileBroker.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/interpreterRuntime.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "interpreter/templateTable.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/cpCacheOop.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/nativeLookup.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/fieldDescriptor.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/java.hpp"
+#include "runtime/jfieldIDWorkaround.hpp"
+#include "runtime/osThread.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/synchronizer.hpp"
+#include "runtime/threadCritical.hpp"
+#include "utilities/events.hpp"
+#ifdef TARGET_ARCH_x86
+# include "vm_version_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "vm_version_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "vm_version_zero.hpp"
+#endif
+#ifdef COMPILER2
+#include "opto/runtime.hpp"
+#endif
class UnlockFlagSaver {
private:
diff --git a/src/share/vm/interpreter/interpreterRuntime.hpp b/src/share/vm/interpreter/interpreterRuntime.hpp
index 25b96211e..0a48ce16d 100644
--- a/src/share/vm/interpreter/interpreterRuntime.hpp
+++ b/src/share/vm/interpreter/interpreterRuntime.hpp
@@ -22,6 +22,26 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_INTERPRETERRUNTIME_HPP
+#define SHARE_VM_INTERPRETER_INTERPRETERRUNTIME_HPP
+
+#include "interpreter/bytecode.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/universe.hpp"
+#include "oops/methodOop.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/signature.hpp"
+#include "utilities/top.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
// The InterpreterRuntime is called by the interpreter for everything
// that cannot/should not be dealt with in assembly and needs C support.
@@ -128,7 +148,16 @@ class InterpreterRuntime: AllStatic {
#endif
// Platform dependent stuff
- #include "incls/_interpreterRT_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "interpreterRT_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "interpreterRT_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "interpreterRT_zero.hpp"
+#endif
+
// Interpreter's frequency counter overflow
static nmethod* frequency_counter_overflow(JavaThread* thread, address branch_bcp);
@@ -163,3 +192,5 @@ class SignatureHandlerLibrary: public AllStatic {
public:
static void add(methodHandle method);
};
+
+#endif // SHARE_VM_INTERPRETER_INTERPRETERRUNTIME_HPP
diff --git a/src/share/vm/interpreter/invocationCounter.cpp b/src/share/vm/interpreter/invocationCounter.cpp
index 4d8351f80..747516369 100644
--- a/src/share/vm/interpreter/invocationCounter.cpp
+++ b/src/share/vm/interpreter/invocationCounter.cpp
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_invocationCounter.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/invocationCounter.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/handles.inline.hpp"
// Implementation of InvocationCounter
diff --git a/src/share/vm/interpreter/invocationCounter.hpp b/src/share/vm/interpreter/invocationCounter.hpp
index 2019d4212..38725907e 100644
--- a/src/share/vm/interpreter/invocationCounter.hpp
+++ b/src/share/vm/interpreter/invocationCounter.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_INVOCATIONCOUNTER_HPP
+#define SHARE_VM_INTERPRETER_INVOCATIONCOUNTER_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/handles.hpp"
+#include "utilities/exceptions.hpp"
+
// InvocationCounters are used to trigger actions when a limit (threshold) is reached.
// For different states, different limits and actions can be defined in the initialization
// routine of InvocationCounters.
@@ -134,3 +141,5 @@ inline void InvocationCounter::decay() {
set(state(), new_count);
}
+
+#endif // SHARE_VM_INTERPRETER_INVOCATIONCOUNTER_HPP
diff --git a/src/share/vm/interpreter/linkResolver.cpp b/src/share/vm/interpreter/linkResolver.cpp
index 1542ab588..2dd2a94c0 100644
--- a/src/share/vm/interpreter/linkResolver.cpp
+++ b/src/share/vm/interpreter/linkResolver.cpp
@@ -22,8 +22,36 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_linkResolver.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "compiler/compileBroker.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/bytecode.hpp"
+#include "interpreter/interpreterRuntime.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "prims/methodHandles.hpp"
+#include "prims/nativeLookup.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/fieldDescriptor.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/reflection.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/vmThread.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
//------------------------------------------------------------------------------------------------------------------------
// Implementation of FieldAccessInfo
diff --git a/src/share/vm/interpreter/linkResolver.hpp b/src/share/vm/interpreter/linkResolver.hpp
index f98db15a4..ea1b5b6b5 100644
--- a/src/share/vm/interpreter/linkResolver.hpp
+++ b/src/share/vm/interpreter/linkResolver.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_LINKRESOLVER_HPP
+#define SHARE_VM_INTERPRETER_LINKRESOLVER_HPP
+
+#include "oops/methodOop.hpp"
+#include "utilities/top.hpp"
+
// All the necessary definitions for run-time link resolution.
// LinkInfo & its subclasses provide all the information gathered
@@ -174,3 +180,5 @@ class LinkResolver: AllStatic {
static void resolve_invoke (CallInfo& result, Handle recv, constantPoolHandle pool, int index, Bytecodes::Code byte, TRAPS);
};
+
+#endif // SHARE_VM_INTERPRETER_LINKRESOLVER_HPP
diff --git a/src/share/vm/interpreter/oopMapCache.cpp b/src/share/vm/interpreter/oopMapCache.cpp
index 4ad801c92..f5ff6f6c9 100644
--- a/src/share/vm/interpreter/oopMapCache.cpp
+++ b/src/share/vm/interpreter/oopMapCache.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_oopMapCache.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiRedefineClassesTrace.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/signature.hpp"
class OopMapCacheEntry: private InterpreterOopMap {
friend class InterpreterOopMap;
diff --git a/src/share/vm/interpreter/oopMapCache.hpp b/src/share/vm/interpreter/oopMapCache.hpp
index 2a8f82aee..4c1f0147f 100644
--- a/src/share/vm/interpreter/oopMapCache.hpp
+++ b/src/share/vm/interpreter/oopMapCache.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_OOPMAPCACHE_HPP
+#define SHARE_VM_INTERPRETER_OOPMAPCACHE_HPP
+
+#include "oops/generateOopMap.hpp"
+
// A Cache for storing (method, bci) -> oopMap.
// The memory management system uses the cache when locating object
// references in an interpreted frame.
@@ -188,3 +193,5 @@ class OopMapCache : public CHeapObj {
// Returns total no. of bytes allocated as part of OopMapCache's
static long memory_usage() PRODUCT_RETURN0;
};
+
+#endif // SHARE_VM_INTERPRETER_OOPMAPCACHE_HPP
diff --git a/src/share/vm/interpreter/rewriter.cpp b/src/share/vm/interpreter/rewriter.cpp
index 558e3138b..2365011fe 100644
--- a/src/share/vm/interpreter/rewriter.cpp
+++ b/src/share/vm/interpreter/rewriter.cpp
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_rewriter.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/rewriter.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/generateOopMap.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/methodComparator.hpp"
// Computes a CPC map (new_index -> original_index) for constant pool entries
// that are referred to by the interpreter at runtime via the constant pool cache.
diff --git a/src/share/vm/interpreter/rewriter.hpp b/src/share/vm/interpreter/rewriter.hpp
index 1f772a640..64413b476 100644
--- a/src/share/vm/interpreter/rewriter.hpp
+++ b/src/share/vm/interpreter/rewriter.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_REWRITER_HPP
+#define SHARE_VM_INTERPRETER_REWRITER_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/handles.inline.hpp"
+#include "utilities/growableArray.hpp"
+
// The Rewriter adds caches to the constant pool and rewrites bytecode indices
// pointing into the constant pool for better interpreter performance.
@@ -94,3 +101,5 @@ class Rewriter: public StackObj {
_secondary_entry_tag = nth_bit(30)
};
};
+
+#endif // SHARE_VM_INTERPRETER_REWRITER_HPP
diff --git a/src/share/vm/interpreter/templateInterpreter.cpp b/src/share/vm/interpreter/templateInterpreter.cpp
index d592d312d..7e09cfcc2 100644
--- a/src/share/vm/interpreter/templateInterpreter.cpp
+++ b/src/share/vm/interpreter/templateInterpreter.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_templateInterpreter.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/interpreterGenerator.hpp"
+#include "interpreter/interpreterRuntime.hpp"
+#include "interpreter/templateTable.hpp"
#ifndef CC_INTERP
diff --git a/src/share/vm/interpreter/templateInterpreter.hpp b/src/share/vm/interpreter/templateInterpreter.hpp
index 693702cce..73b02b57f 100644
--- a/src/share/vm/interpreter/templateInterpreter.hpp
+++ b/src/share/vm/interpreter/templateInterpreter.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_TEMPLATEINTERPRETER_HPP
+#define SHARE_VM_INTERPRETER_TEMPLATEINTERPRETER_HPP
+
+#include "interpreter/abstractInterpreter.hpp"
+#include "interpreter/templateTable.hpp"
+
// This file contains the platform-independent parts
// of the template interpreter and the template interpreter generator.
@@ -177,8 +183,19 @@ class TemplateInterpreter: public AbstractInterpreter {
// Compute the address for reexecution
static address deopt_reexecute_entry(methodOop method, address bcp);
-#include "incls/_templateInterpreter_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "templateInterpreter_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "templateInterpreter_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "templateInterpreter_zero.hpp"
+#endif
+
};
#endif // !CC_INTERP
+
+#endif // SHARE_VM_INTERPRETER_TEMPLATEINTERPRETER_HPP
diff --git a/src/share/vm/interpreter/templateInterpreterGenerator.hpp b/src/share/vm/interpreter/templateInterpreterGenerator.hpp
index d72be49a0..3d92fff04 100644
--- a/src/share/vm/interpreter/templateInterpreterGenerator.hpp
+++ b/src/share/vm/interpreter/templateInterpreterGenerator.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_TEMPLATEINTERPRETERGENERATOR_HPP
+#define SHARE_VM_INTERPRETER_TEMPLATEINTERPRETERGENERATOR_HPP
+
// This file contains the platform-independent parts
// of the template interpreter generator.
@@ -84,8 +87,19 @@ class TemplateInterpreterGenerator: public AbstractInterpreterGenerator {
public:
TemplateInterpreterGenerator(StubQueue* _code);
- #include "incls/_templateInterpreterGenerator_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "templateInterpreterGenerator_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "templateInterpreterGenerator_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "templateInterpreterGenerator_zero.hpp"
+#endif
+
};
#endif // !CC_INTERP
+
+#endif // SHARE_VM_INTERPRETER_TEMPLATEINTERPRETERGENERATOR_HPP
diff --git a/src/share/vm/interpreter/templateTable.cpp b/src/share/vm/interpreter/templateTable.cpp
index 57cc9659e..30c634873 100644
--- a/src/share/vm/interpreter/templateTable.cpp
+++ b/src/share/vm/interpreter/templateTable.cpp
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_templateTable.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "interpreter/templateTable.hpp"
+#include "runtime/timer.hpp"
#ifdef CC_INTERP
diff --git a/src/share/vm/interpreter/templateTable.hpp b/src/share/vm/interpreter/templateTable.hpp
index 9040d4474..0bca2dcd3 100644
--- a/src/share/vm/interpreter/templateTable.hpp
+++ b/src/share/vm/interpreter/templateTable.hpp
@@ -22,6 +22,25 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_TEMPLATETABLE_HPP
+#define SHARE_VM_INTERPRETER_TEMPLATETABLE_HPP
+
+#include "interpreter/bytecodes.hpp"
+#include "memory/allocation.hpp"
+#include "runtime/frame.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "interp_masm_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "interp_masm_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "interp_masm_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "interp_masm_zero.hpp"
+#endif
+
#ifndef CC_INTERP
// All the necessary definitions used for (bytecode) template generation. Instead of
// spreading the implementation functionality for each bytecode in the interpreter
@@ -333,6 +352,20 @@ class TemplateTable: AllStatic {
static Template* template_for_wide(Bytecodes::Code code) { Bytecodes::wide_check(code); return &_template_table_wide[code]; }
// Platform specifics
- #include "incls/_templateTable_pd.hpp.incl"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "templateTable_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "templateTable_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "templateTable_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "templateTable_zero.hpp"
+#endif
+
};
#endif /* !CC_INTERP */
+
+#endif // SHARE_VM_INTERPRETER_TEMPLATETABLE_HPP
diff --git a/src/share/vm/libadt/dict.cpp b/src/share/vm/libadt/dict.cpp
index 417f0b956..29c16bb41 100644
--- a/src/share/vm/libadt/dict.cpp
+++ b/src/share/vm/libadt/dict.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,10 +22,13 @@
*
*/
-// Dictionaries - An Abstract Data Type
+#include "precompiled.hpp"
+#include "libadt/dict.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/thread.hpp"
-#include "incls/_precompiled.incl"
-#include "incls/_dict.cpp.incl"
+// Dictionaries - An Abstract Data Type
// %%%%% includes not needed with AVM framework - Ungar
diff --git a/src/share/vm/libadt/dict.hpp b/src/share/vm/libadt/dict.hpp
index 30a262883..dad45832d 100644
--- a/src/share/vm/libadt/dict.hpp
+++ b/src/share/vm/libadt/dict.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#ifndef _DICT_
-#define _DICT_
+#ifndef SHARE_VM_LIBADT_DICT_HPP
+#define SHARE_VM_LIBADT_DICT_HPP
+
+#include "libadt/port.hpp"
+
// Dictionaries - An Abstract Data Type
//INTERFACE
class ostream;
@@ -114,4 +117,4 @@ class DictI {
int test(void) { return _i<_d->_size;} // Test for end of iteration
};
-#endif // _DICT_
+#endif // SHARE_VM_LIBADT_DICT_HPP
diff --git a/src/share/vm/libadt/port.cpp b/src/share/vm/libadt/port.cpp
index e452dea15..165b30184 100644
--- a/src/share/vm/libadt/port.cpp
+++ b/src/share/vm/libadt/port.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,15 +22,15 @@
*
*/
+#include "precompiled.hpp"
+#include "libadt/port.hpp"
+
// Code for portable compiling
#ifdef __GNUC__
#pragma implementation
#endif
-#include "incls/_precompiled.incl"
-#include "incls/_port.cpp.incl"
-
// %%%%% includes not needed with AVM framework - Ungar
// #include "port.hpp"
diff --git a/src/share/vm/libadt/port.hpp b/src/share/vm/libadt/port.hpp
index f12b83f61..ad7e77c1a 100644
--- a/src/share/vm/libadt/port.hpp
+++ b/src/share/vm/libadt/port.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#ifndef _PORT_
-#define _PORT_
+#ifndef SHARE_VM_LIBADT_PORT_HPP
+#define SHARE_VM_LIBADT_PORT_HPP
+
+#include "utilities/top.hpp"
+
// Typedefs for portable compiling
#if defined(__GNUC__)
@@ -204,4 +207,4 @@ uint32 rotate32( uint32 x, int32 cnt );
extern uint32 heap_totalmem; // Current total memory allocation
extern uint32 heap_highwater; // Highwater mark to date for memory usage
-#endif // _PORT_
+#endif // SHARE_VM_LIBADT_PORT_HPP
diff --git a/src/share/vm/libadt/set.cpp b/src/share/vm/libadt/set.cpp
index 1d6b057e4..1849b13b2 100644
--- a/src/share/vm/libadt/set.cpp
+++ b/src/share/vm/libadt/set.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,10 +22,11 @@
*
*/
-// Sets - An Abstract Data Type
+#include "precompiled.hpp"
+#include "libadt/set.hpp"
+#include "memory/allocation.inline.hpp"
-#include "incls/_precompiled.incl"
-#include "incls/_set.cpp.incl"
+// Sets - An Abstract Data Type
// %%%%% includes not needed with AVM framework - Ungar
// #include "port.hpp"
diff --git a/src/share/vm/libadt/set.hpp b/src/share/vm/libadt/set.hpp
index da8c77948..f3b3533eb 100644
--- a/src/share/vm/libadt/set.hpp
+++ b/src/share/vm/libadt/set.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,14 +22,14 @@
*
*/
-#ifndef _SET_
-#define _SET_
+#ifndef SHARE_VM_LIBADT_SET_HPP
+#define SHARE_VM_LIBADT_SET_HPP
+
+#include "libadt/port.hpp"
+#include "memory/allocation.hpp"
+
// Sets - An Abstract Data Type
-// Should not manually include these in AVM framework. %%%%% - Ungar
-// #ifndef _PORT_
-// #include "port.hpp"
-// #endif // _PORT_
//INTERFACE
class SparseSet;
@@ -248,4 +248,4 @@ public:
int test(void) { return impl->test(); }
};
-#endif // _SET_
+#endif // SHARE_VM_LIBADT_SET_HPP
diff --git a/src/share/vm/libadt/vectset.cpp b/src/share/vm/libadt/vectset.cpp
index 8815b29c4..efb1d6638 100644
--- a/src/share/vm/libadt/vectset.cpp
+++ b/src/share/vm/libadt/vectset.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,10 +22,11 @@
*
*/
-// Vector Sets - An Abstract Data Type
+#include "precompiled.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/allocation.inline.hpp"
-#include "incls/_precompiled.incl"
-#include "incls/_vectset.cpp.incl"
+// Vector Sets - An Abstract Data Type
// %%%%% includes not needed with AVM framework - Ungar
// #include "port.hpp"
diff --git a/src/share/vm/libadt/vectset.hpp b/src/share/vm/libadt/vectset.hpp
index 5bc95b2a2..22c97b2a2 100644
--- a/src/share/vm/libadt/vectset.hpp
+++ b/src/share/vm/libadt/vectset.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#ifndef _VECTOR_SET_
-#define _VECTOR_SET_
+#ifndef SHARE_VM_LIBADT_VECTSET_HPP
+#define SHARE_VM_LIBADT_VECTSET_HPP
+
+#include "libadt/set.hpp"
+
// Vector Sets - An Abstract Data Type
//INTERFACE
@@ -173,4 +176,4 @@ public:
int test(void) { return ((VSetI_*)impl)->test(); }
};
-#endif // _VECTOR_SET_
+#endif // SHARE_VM_LIBADT_VECTSET_HPP
diff --git a/src/share/vm/memory/allocation.cpp b/src/share/vm/memory/allocation.cpp
index 9dfe26dd4..69f5d9269 100644
--- a/src/share/vm/memory/allocation.cpp
+++ b/src/share/vm/memory/allocation.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,23 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_allocation.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/os.hpp"
+#include "runtime/task.hpp"
+#include "runtime/threadCritical.hpp"
+#include "utilities/ostream.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
void* CHeapObj::operator new(size_t size){
return (void *) AllocateHeap(size, "CHeapObj-new");
diff --git a/src/share/vm/memory/allocation.hpp b/src/share/vm/memory/allocation.hpp
index 7918d9f00..529b8bb44 100644
--- a/src/share/vm/memory/allocation.hpp
+++ b/src/share/vm/memory/allocation.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_MEMORY_ALLOCATION_HPP
+#define SHARE_VM_MEMORY_ALLOCATION_HPP
+
+#include "runtime/globals.hpp"
+#include "utilities/globalDefinitions.hpp"
+#ifdef COMPILER1
+#include "c1/c1_globals.hpp"
+#endif
+#ifdef COMPILER2
+#include "opto/c2_globals.hpp"
+#endif
+
#define ARENA_ALIGN_M1 (((size_t)(ARENA_AMALLOC_ALIGNMENT)) - 1)
#define ARENA_ALIGN_MASK (~((size_t)ARENA_ALIGN_M1))
#define ARENA_ALIGN(x) ((((size_t)(x)) + ARENA_ALIGN_M1) & ARENA_ALIGN_MASK)
@@ -419,3 +431,5 @@ public:
ReallocMark() PRODUCT_RETURN;
void check() PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_MEMORY_ALLOCATION_HPP
diff --git a/src/share/vm/memory/allocation.inline.hpp b/src/share/vm/memory/allocation.inline.hpp
index 70a8be68b..19bac7475 100644
--- a/src/share/vm/memory/allocation.inline.hpp
+++ b/src/share/vm/memory/allocation.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_MEMORY_ALLOCATION_INLINE_HPP
+#define SHARE_VM_MEMORY_ALLOCATION_INLINE_HPP
+
+#include "runtime/os.hpp"
+
// Explicit C-heap memory management
void trace_heap_malloc(size_t size, const char* name, void *p);
@@ -57,3 +62,5 @@ inline void FreeHeap(void* p) {
#endif
os::free(p);
}
+
+#endif // SHARE_VM_MEMORY_ALLOCATION_INLINE_HPP
diff --git a/src/share/vm/memory/barrierSet.cpp b/src/share/vm/memory/barrierSet.cpp
index 14799c816..476666367 100644
--- a/src/share/vm/memory/barrierSet.cpp
+++ b/src/share/vm/memory/barrierSet.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_barrierSet.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/barrierSet.inline.hpp"
+#include "memory/universe.hpp"
// count is number of array elements being written
void BarrierSet::static_write_ref_array_pre(HeapWord* start, size_t count) {
diff --git a/src/share/vm/memory/barrierSet.hpp b/src/share/vm/memory/barrierSet.hpp
index 207109f5b..7e02e96bf 100644
--- a/src/share/vm/memory/barrierSet.hpp
+++ b/src/share/vm/memory/barrierSet.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_BARRIERSET_HPP
+#define SHARE_VM_MEMORY_BARRIERSET_HPP
+
+#include "memory/memRegion.hpp"
+#include "oops/oopsHierarchy.hpp"
+
// This class provides the interface between a barrier implementation and
// the rest of the system.
@@ -170,3 +176,5 @@ public:
virtual bool is_aligned(HeapWord* addr) = 0;
};
+
+#endif // SHARE_VM_MEMORY_BARRIERSET_HPP
diff --git a/src/share/vm/memory/barrierSet.inline.hpp b/src/share/vm/memory/barrierSet.inline.hpp
index 772055349..01a78da8c 100644
--- a/src/share/vm/memory/barrierSet.inline.hpp
+++ b/src/share/vm/memory/barrierSet.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_BARRIERSET_INLINE_HPP
+#define SHARE_VM_MEMORY_BARRIERSET_INLINE_HPP
+
+#include "memory/barrierSet.hpp"
+#include "memory/cardTableModRefBS.hpp"
+
// Inline functions of BarrierSet, which de-virtualize certain
// performance-critical calls when the barrier is the most common
// card-table kind.
@@ -77,3 +83,5 @@ void BarrierSet::write_region(MemRegion mr) {
write_region_work(mr);
}
}
+
+#endif // SHARE_VM_MEMORY_BARRIERSET_INLINE_HPP
diff --git a/src/share/vm/memory/blockOffsetTable.cpp b/src/share/vm/memory/blockOffsetTable.cpp
index ee3ef125c..7caafeeb9 100644
--- a/src/share/vm/memory/blockOffsetTable.cpp
+++ b/src/share/vm/memory/blockOffsetTable.cpp
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_blockOffsetTable.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/blockOffsetTable.inline.hpp"
+#include "memory/iterator.hpp"
+#include "memory/space.inline.hpp"
+#include "memory/universe.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
//////////////////////////////////////////////////////////////////////
// BlockOffsetSharedArray
diff --git a/src/share/vm/memory/blockOffsetTable.hpp b/src/share/vm/memory/blockOffsetTable.hpp
index c0c78149a..16f329bdd 100644
--- a/src/share/vm/memory/blockOffsetTable.hpp
+++ b/src/share/vm/memory/blockOffsetTable.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_MEMORY_BLOCKOFFSETTABLE_HPP
+#define SHARE_VM_MEMORY_BLOCKOFFSETTABLE_HPP
+
+#include "memory/memRegion.hpp"
+#include "runtime/virtualspace.hpp"
+#include "utilities/globalDefinitions.hpp"
+
// The CollectedHeap type requires subtypes to implement a method
// "block_start". For some subtypes, notably generational
// systems using card-table-based write barriers, the efficiency of this
@@ -561,3 +568,5 @@ class BlockOffsetArrayContigSpace: public BlockOffsetArray {
// Debugging support
virtual size_t last_active_index() const;
};
+
+#endif // SHARE_VM_MEMORY_BLOCKOFFSETTABLE_HPP
diff --git a/src/share/vm/memory/blockOffsetTable.inline.hpp b/src/share/vm/memory/blockOffsetTable.inline.hpp
index 39afcea87..5599586bd 100644
--- a/src/share/vm/memory/blockOffsetTable.inline.hpp
+++ b/src/share/vm/memory/blockOffsetTable.inline.hpp
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_MEMORY_BLOCKOFFSETTABLE_INLINE_HPP
+#define SHARE_VM_MEMORY_BLOCKOFFSETTABLE_INLINE_HPP
+
+#include "memory/blockOffsetTable.hpp"
+#include "memory/space.hpp"
+#include "runtime/safepoint.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
+#endif
+
//////////////////////////////////////////////////////////////////////////
// BlockOffsetTable inlines
//////////////////////////////////////////////////////////////////////////
@@ -88,3 +98,5 @@ inline void BlockOffsetArrayNonContigSpace::freed(HeapWord* blk_start,
}
}
}
+
+#endif // SHARE_VM_MEMORY_BLOCKOFFSETTABLE_INLINE_HPP
diff --git a/src/share/vm/memory/cardTableModRefBS.cpp b/src/share/vm/memory/cardTableModRefBS.cpp
index 979678e25..5d8ea30fb 100644
--- a/src/share/vm/memory/cardTableModRefBS.cpp
+++ b/src/share/vm/memory/cardTableModRefBS.cpp
@@ -22,13 +22,26 @@
*
*/
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "memory/cardTableRS.hpp"
+#include "memory/sharedHeap.hpp"
+#include "memory/space.hpp"
+#include "memory/space.inline.hpp"
+#include "memory/universe.hpp"
+#include "runtime/java.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/virtualspace.hpp"
+#ifdef COMPILER1
+#include "c1/c1_LIR.hpp"
+#include "c1/c1_LIRGenerator.hpp"
+#endif
+
// This kind of "BarrierSet" allows a "CollectedHeap" to detect and
// enumerate ref fields that have been modified (since the last
// enumeration.)
-# include "incls/_precompiled.incl"
-# include "incls/_cardTableModRefBS.cpp.incl"
-
size_t CardTableModRefBS::cards_required(size_t covered_words)
{
// Add one for a guard card, used to detect errors.
diff --git a/src/share/vm/memory/cardTableModRefBS.hpp b/src/share/vm/memory/cardTableModRefBS.hpp
index 6bacb22f3..da1166ae7 100644
--- a/src/share/vm/memory/cardTableModRefBS.hpp
+++ b/src/share/vm/memory/cardTableModRefBS.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP
+#define SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP
+
+#include "memory/modRefBarrierSet.hpp"
+#include "oops/oop.hpp"
+#include "oops/oop.inline2.hpp"
+
// This kind of "BarrierSet" allows a "CollectedHeap" to detect and
// enumerate ref fields that have been modified (since the last
// enumeration.)
@@ -490,3 +497,5 @@ public:
void set_CTRS(CardTableRS* rs) { _rs = rs; }
};
+
+#endif // SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP
diff --git a/src/share/vm/memory/cardTableRS.cpp b/src/share/vm/memory/cardTableRS.cpp
index 5606049a5..afc166615 100644
--- a/src/share/vm/memory/cardTableRS.cpp
+++ b/src/share/vm/memory/cardTableRS.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_cardTableRS.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/cardTableRS.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/generation.hpp"
+#include "memory/space.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/os.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/g1/concurrentMark.hpp"
+#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
+#endif
CardTableRS::CardTableRS(MemRegion whole_heap,
int max_covered_regions) :
diff --git a/src/share/vm/memory/cardTableRS.hpp b/src/share/vm/memory/cardTableRS.hpp
index 505591f36..130154885 100644
--- a/src/share/vm/memory/cardTableRS.hpp
+++ b/src/share/vm/memory/cardTableRS.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_MEMORY_CARDTABLERS_HPP
+#define SHARE_VM_MEMORY_CARDTABLERS_HPP
+
+#include "memory/cardTableModRefBS.hpp"
+#include "memory/genRemSet.hpp"
+#include "memory/memRegion.hpp"
+
class Space;
class OopsInGenClosure;
class DirtyCardToOopClosure;
@@ -158,3 +165,5 @@ public:
}
};
+
+#endif // SHARE_VM_MEMORY_CARDTABLERS_HPP
diff --git a/src/share/vm/memory/classify.cpp b/src/share/vm/memory/classify.cpp
index 0c808afc1..130ecf32f 100644
--- a/src/share/vm/memory/classify.cpp
+++ b/src/share/vm/memory/classify.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_classify.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "memory/classify.hpp"
const char* ClassifyObjectClosure::object_type_name[number_object_types] = {
diff --git a/src/share/vm/memory/classify.hpp b/src/share/vm/memory/classify.hpp
index 71eba41a5..10b5128bc 100644
--- a/src/share/vm/memory/classify.hpp
+++ b/src/share/vm/memory/classify.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_MEMORY_CLASSIFY_HPP
+#define SHARE_VM_MEMORY_CLASSIFY_HPP
+
+#include "oops/oop.inline.hpp"
+
typedef enum oop_type {
unknown_type,
instance_type,
@@ -90,3 +95,5 @@ public:
}
}
};
+
+#endif // SHARE_VM_MEMORY_CLASSIFY_HPP
diff --git a/src/share/vm/memory/collectorPolicy.cpp b/src/share/vm/memory/collectorPolicy.cpp
index 3ddb0f65b..73489abc3 100644
--- a/src/share/vm/memory/collectorPolicy.cpp
+++ b/src/share/vm/memory/collectorPolicy.cpp
@@ -22,8 +22,35 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_collectorPolicy.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/adaptiveSizePolicy.hpp"
+#include "gc_implementation/shared/gcPolicyCounters.hpp"
+#include "gc_implementation/shared/vmGCOperations.hpp"
+#include "memory/cardTableRS.hpp"
+#include "memory/collectorPolicy.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/generationSpec.hpp"
+#include "memory/space.hpp"
+#include "memory/universe.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/globals_extension.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/vmThread.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp"
+#endif
// CollectorPolicy methods.
diff --git a/src/share/vm/memory/collectorPolicy.hpp b/src/share/vm/memory/collectorPolicy.hpp
index 4a332b3e9..50d2bf601 100644
--- a/src/share/vm/memory/collectorPolicy.hpp
+++ b/src/share/vm/memory/collectorPolicy.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_MEMORY_COLLECTORPOLICY_HPP
+#define SHARE_VM_MEMORY_COLLECTORPOLICY_HPP
+
+#include "memory/barrierSet.hpp"
+#include "memory/genRemSet.hpp"
+#include "memory/permGen.hpp"
+
// This class (or more correctly, subtypes of this class)
// are used to define global garbage collector attributes.
// This includes initialization of generations and any other
@@ -334,3 +341,5 @@ class MarkSweepPolicy : public TwoGenerationCollectorPolicy {
void initialize_gc_policy_counters();
};
+
+#endif // SHARE_VM_MEMORY_COLLECTORPOLICY_HPP
diff --git a/src/share/vm/memory/compactPermGen.hpp b/src/share/vm/memory/compactPermGen.hpp
index 1968888e1..45a0c74d2 100644
--- a/src/share/vm/memory/compactPermGen.hpp
+++ b/src/share/vm/memory/compactPermGen.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_COMPACTPERMGEN_HPP
+#define SHARE_VM_MEMORY_COMPACTPERMGEN_HPP
+
+#include "memory/generation.hpp"
+#include "memory/permGen.hpp"
+
class ContigPermSpace;
class CardTableModRefBS;
class CompactingPermGenGen;
@@ -46,3 +52,5 @@ public:
Generation* as_gen() const { return _gen; }
};
+
+#endif // SHARE_VM_MEMORY_COMPACTPERMGEN_HPP
diff --git a/src/share/vm/memory/compactingPermGenGen.cpp b/src/share/vm/memory/compactingPermGenGen.cpp
index 2a9451af8..f64986441 100644
--- a/src/share/vm/memory/compactingPermGenGen.cpp
+++ b/src/share/vm/memory/compactingPermGenGen.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_compactingPermGenGen.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "memory/compactingPermGenGen.hpp"
+#include "memory/filemap.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/generation.inline.hpp"
+#include "memory/generationSpec.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp"
+#endif
// An ObjectClosure helper: Recursively adjust all pointers in an object
diff --git a/src/share/vm/memory/compactingPermGenGen.hpp b/src/share/vm/memory/compactingPermGenGen.hpp
index 5d5251dc4..99224fb4e 100644
--- a/src/share/vm/memory/compactingPermGenGen.hpp
+++ b/src/share/vm/memory/compactingPermGenGen.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_COMPACTINGPERMGENGEN_HPP
+#define SHARE_VM_MEMORY_COMPACTINGPERMGENGEN_HPP
+
+#include "gc_implementation/shared/generationCounters.hpp"
+#include "memory/space.hpp"
+
// All heaps contains a "permanent generation," containing permanent
// (reflective) objects. This is like a regular generation in some ways,
// but unlike one in others, and so is split apart.
@@ -247,3 +253,5 @@ public:
// or if the remapping has already been done by a prior call.
static bool remap_shared_readonly_as_readwrite();
};
+
+#endif // SHARE_VM_MEMORY_COMPACTINGPERMGENGEN_HPP
diff --git a/src/share/vm/memory/defNewGeneration.cpp b/src/share/vm/memory/defNewGeneration.cpp
index e04dcf2ff..60b27a5fb 100644
--- a/src/share/vm/memory/defNewGeneration.cpp
+++ b/src/share/vm/memory/defNewGeneration.cpp
@@ -22,8 +22,32 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_defNewGeneration.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/collectorCounters.hpp"
+#include "gc_implementation/shared/gcPolicyCounters.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "memory/defNewGeneration.inline.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/generationSpec.hpp"
+#include "memory/iterator.hpp"
+#include "memory/referencePolicy.hpp"
+#include "memory/space.inline.hpp"
+#include "oops/instanceRefKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/stack.inline.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
//
// DefNewGeneration functions.
diff --git a/src/share/vm/memory/defNewGeneration.hpp b/src/share/vm/memory/defNewGeneration.hpp
index 6f9d9a7e6..e21fb2cb8 100644
--- a/src/share/vm/memory/defNewGeneration.hpp
+++ b/src/share/vm/memory/defNewGeneration.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_MEMORY_DEFNEWGENERATION_HPP
+#define SHARE_VM_MEMORY_DEFNEWGENERATION_HPP
+
+#include "gc_implementation/shared/ageTable.hpp"
+#include "gc_implementation/shared/cSpaceCounters.hpp"
+#include "gc_implementation/shared/generationCounters.hpp"
+#include "memory/generation.inline.hpp"
+#include "utilities/stack.hpp"
+
class EdenSpace;
class ContiguousSpace;
class ScanClosure;
@@ -346,3 +355,5 @@ protected:
// Scavenge support
void swap_spaces();
};
+
+#endif // SHARE_VM_MEMORY_DEFNEWGENERATION_HPP
diff --git a/src/share/vm/memory/defNewGeneration.inline.hpp b/src/share/vm/memory/defNewGeneration.inline.hpp
index 9c1ad772b..d30ad3788 100644
--- a/src/share/vm/memory/defNewGeneration.inline.hpp
+++ b/src/share/vm/memory/defNewGeneration.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_MEMORY_DEFNEWGENERATION_INLINE_HPP
+#define SHARE_VM_MEMORY_DEFNEWGENERATION_INLINE_HPP
+
+#include "memory/cardTableRS.hpp"
+#include "memory/defNewGeneration.hpp"
+#include "memory/space.hpp"
+
// Methods of protected closure types
template <class T>
@@ -79,3 +86,5 @@ inline void DefNewGeneration::FastKeepAliveClosure::do_oop_work(T* p) {
_rs->inline_write_ref_field_gc(p, obj);
}
}
+
+#endif // SHARE_VM_MEMORY_DEFNEWGENERATION_INLINE_HPP
diff --git a/src/share/vm/memory/dump.cpp b/src/share/vm/memory/dump.cpp
index bdc03b17d..5fc7eeaf8 100644
--- a/src/share/vm/memory/dump.cpp
+++ b/src/share/vm/memory/dump.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,23 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_dump.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/loaderConstraints.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "memory/classify.hpp"
+#include "memory/filemap.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
+#include "utilities/copy.hpp"
// Closure to set up the fingerprint field for all methods.
diff --git a/src/share/vm/memory/filemap.cpp b/src/share/vm/memory/filemap.cpp
index 4b601e930..0269a5e5a 100644
--- a/src/share/vm/memory/filemap.cpp
+++ b/src/share/vm/memory/filemap.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,24 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_filemap.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classLoader.hpp"
+#include "classfile/symbolTable.hpp"
+#include "memory/filemap.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/java.hpp"
+#include "runtime/os.hpp"
+#include "utilities/defaultStream.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "hpi_linux.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "hpi_solaris.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "hpi_windows.hpp"
+#endif
+
# include <sys/stat.h>
# include <errno.h>
diff --git a/src/share/vm/memory/filemap.hpp b/src/share/vm/memory/filemap.hpp
index 946e4004a..8d239b841 100644
--- a/src/share/vm/memory/filemap.hpp
+++ b/src/share/vm/memory/filemap.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_FILEMAP_HPP
+#define SHARE_VM_MEMORY_FILEMAP_HPP
+
+#include "memory/compactingPermGenGen.hpp"
+#include "memory/space.hpp"
+
// Layout of the file:
// header: dump of archive instance plus versioning info, datestamp, etc.
// [magic # = 0xF00BABA2]
@@ -137,3 +143,5 @@ public:
// Return true if given address is in the mapped shared space.
bool is_in_shared_space(const void* p);
};
+
+#endif // SHARE_VM_MEMORY_FILEMAP_HPP
diff --git a/src/share/vm/memory/gcLocker.cpp b/src/share/vm/memory/gcLocker.cpp
index c25b1b55a..db0a79d4d 100644
--- a/src/share/vm/memory/gcLocker.cpp
+++ b/src/share/vm/memory/gcLocker.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_gcLocker.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/sharedHeap.hpp"
volatile jint GC_locker::_jni_lock_count = 0;
volatile jint GC_locker::_lock_count = 0;
diff --git a/src/share/vm/memory/gcLocker.hpp b/src/share/vm/memory/gcLocker.hpp
index 299a645fe..09135cb49 100644
--- a/src/share/vm/memory/gcLocker.hpp
+++ b/src/share/vm/memory/gcLocker.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,26 @@
*
*/
+#ifndef SHARE_VM_MEMORY_GCLOCKER_HPP
+#define SHARE_VM_MEMORY_GCLOCKER_HPP
+
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/universe.hpp"
+#include "oops/oop.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+# include "thread_windows.inline.hpp"
+#endif
+
// The direct lock/unlock calls do not force a collection if an unlock
// decrements the count to zero. Avoid calling these if at all possible.
@@ -310,3 +330,5 @@ class No_Alloc_Verifier : public StackObj {
~No_Alloc_Verifier() {}
#endif
};
+
+#endif // SHARE_VM_MEMORY_GCLOCKER_HPP
diff --git a/src/share/vm/memory/gcLocker.inline.hpp b/src/share/vm/memory/gcLocker.inline.hpp
index 6e5a30500..5c63e077b 100644
--- a/src/share/vm/memory/gcLocker.inline.hpp
+++ b/src/share/vm/memory/gcLocker.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_MEMORY_GCLOCKER_INLINE_HPP
+#define SHARE_VM_MEMORY_GCLOCKER_INLINE_HPP
+
+#include "memory/gcLocker.hpp"
+
inline bool GC_locker::is_active() {
return _lock_count > 0 || _jni_lock_count > 0;
}
@@ -70,3 +75,5 @@ inline void GC_locker::unlock_critical(JavaThread* thread) {
}
}
}
+
+#endif // SHARE_VM_MEMORY_GCLOCKER_INLINE_HPP
diff --git a/src/share/vm/memory/genCollectedHeap.cpp b/src/share/vm/memory/genCollectedHeap.cpp
index 432f64737..ded35d0f4 100644
--- a/src/share/vm/memory/genCollectedHeap.cpp
+++ b/src/share/vm/memory/genCollectedHeap.cpp
@@ -22,8 +22,41 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_genCollectedHeap.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/icBuffer.hpp"
+#include "gc_implementation/shared/collectorCounters.hpp"
+#include "gc_implementation/shared/vmGCOperations.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/compactPermGen.hpp"
+#include "memory/filemap.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/generation.inline.hpp"
+#include "memory/generationSpec.hpp"
+#include "memory/permGen.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/sharedHeap.hpp"
+#include "memory/space.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "runtime/aprofiler.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/vmThread.hpp"
+#include "services/memoryService.hpp"
+#include "utilities/vmError.hpp"
+#include "utilities/workgroup.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
+#include "gc_implementation/concurrentMarkSweep/vmCMSOperations.hpp"
+#endif
GenCollectedHeap* GenCollectedHeap::_gch;
NOT_PRODUCT(size_t GenCollectedHeap::_skip_header_HeapWords = 0;)
diff --git a/src/share/vm/memory/genCollectedHeap.hpp b/src/share/vm/memory/genCollectedHeap.hpp
index 859f47936..cc0d0b8bf 100644
--- a/src/share/vm/memory/genCollectedHeap.hpp
+++ b/src/share/vm/memory/genCollectedHeap.hpp
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_MEMORY_GENCOLLECTEDHEAP_HPP
+#define SHARE_VM_MEMORY_GENCOLLECTEDHEAP_HPP
+
+#include "gc_implementation/shared/adaptiveSizePolicy.hpp"
+#include "memory/collectorPolicy.hpp"
+#include "memory/generation.hpp"
+#include "memory/sharedHeap.hpp"
+
class SubTasksDone;
// A "GenCollectedHeap" is a SharedHeap that uses generational
@@ -535,3 +543,5 @@ protected:
public:
virtual void preload_and_dump(TRAPS) KERNEL_RETURN;
};
+
+#endif // SHARE_VM_MEMORY_GENCOLLECTEDHEAP_HPP
diff --git a/src/share/vm/memory/genMarkSweep.cpp b/src/share/vm/memory/genMarkSweep.cpp
index da99d56cf..95056cd8f 100644
--- a/src/share/vm/memory/genMarkSweep.cpp
+++ b/src/share/vm/memory/genMarkSweep.cpp
@@ -22,8 +22,39 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_genMarkSweep.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/codeCache.hpp"
+#include "code/icBuffer.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/genMarkSweep.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/generation.inline.hpp"
+#include "memory/modRefBarrierSet.hpp"
+#include "memory/referencePolicy.hpp"
+#include "memory/space.hpp"
+#include "oops/instanceRefKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/synchronizer.hpp"
+#include "runtime/vmThread.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/events.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
void GenMarkSweep::invoke_at_safepoint(int level, ReferenceProcessor* rp,
bool clear_all_softrefs) {
diff --git a/src/share/vm/memory/genMarkSweep.hpp b/src/share/vm/memory/genMarkSweep.hpp
index 7cf6d62c8..b6147ab5b 100644
--- a/src/share/vm/memory/genMarkSweep.hpp
+++ b/src/share/vm/memory/genMarkSweep.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_MEMORY_GENMARKSWEEP_HPP
+#define SHARE_VM_MEMORY_GENMARKSWEEP_HPP
+
+#include "gc_implementation/shared/markSweep.hpp"
+
class GenMarkSweep : public MarkSweep {
friend class VM_MarkSweep;
friend class G1MarkSweep;
@@ -44,3 +49,5 @@ class GenMarkSweep : public MarkSweep {
static void allocate_stacks();
static void deallocate_stacks();
};
+
+#endif // SHARE_VM_MEMORY_GENMARKSWEEP_HPP
diff --git a/src/share/vm/memory/genOopClosures.hpp b/src/share/vm/memory/genOopClosures.hpp
index 044201960..77ae7efba 100644
--- a/src/share/vm/memory/genOopClosures.hpp
+++ b/src/share/vm/memory/genOopClosures.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_GENOOPCLOSURES_HPP
+#define SHARE_VM_MEMORY_GENOOPCLOSURES_HPP
+
+#include "memory/iterator.hpp"
+#include "oops/oop.hpp"
+
class Generation;
class HeapWord;
class CardTableRS;
@@ -176,3 +182,5 @@ class VerifyOopClosure: public OopClosure {
virtual void do_oop(narrowOop* p);
static VerifyOopClosure verify_oop;
};
+
+#endif // SHARE_VM_MEMORY_GENOOPCLOSURES_HPP
diff --git a/src/share/vm/memory/genOopClosures.inline.hpp b/src/share/vm/memory/genOopClosures.inline.hpp
index bfb37ae96..a87069898 100644
--- a/src/share/vm/memory/genOopClosures.inline.hpp
+++ b/src/share/vm/memory/genOopClosures.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_MEMORY_GENOOPCLOSURES_INLINE_HPP
+#define SHARE_VM_MEMORY_GENOOPCLOSURES_INLINE_HPP
+
+#include "memory/cardTableRS.hpp"
+#include "memory/defNewGeneration.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/genOopClosures.hpp"
+#include "memory/genRemSet.hpp"
+#include "memory/generation.hpp"
+#include "memory/sharedHeap.hpp"
+#include "memory/space.hpp"
+
inline OopsInGenClosure::OopsInGenClosure(Generation* gen) :
OopClosure(gen->ref_processor()), _orig_gen(gen), _rs(NULL) {
set_generation(gen);
@@ -122,3 +134,5 @@ template <class T> inline void ScanWeakRefClosure::do_oop_work(T* p) {
inline void ScanWeakRefClosure::do_oop_nv(oop* p) { ScanWeakRefClosure::do_oop_work(p); }
inline void ScanWeakRefClosure::do_oop_nv(narrowOop* p) { ScanWeakRefClosure::do_oop_work(p); }
+
+#endif // SHARE_VM_MEMORY_GENOOPCLOSURES_INLINE_HPP
diff --git a/src/share/vm/memory/genRemSet.cpp b/src/share/vm/memory/genRemSet.cpp
index 7fd3629d9..33c3b4dfd 100644
--- a/src/share/vm/memory/genRemSet.cpp
+++ b/src/share/vm/memory/genRemSet.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,13 +22,14 @@
*
*/
+#include "precompiled.hpp"
+#include "memory/cardTableRS.hpp"
+#include "memory/genRemSet.hpp"
+
// This kind of "BarrierSet" allows a "CollectedHeap" to detect and
// enumerate ref fields that have been modified (since the last
// enumeration.)
-# include "incls/_precompiled.incl"
-# include "incls/_genRemSet.cpp.incl"
-
uintx GenRemSet::max_alignment_constraint(Name nm) {
switch (nm) {
case GenRemSet::CardTable:
diff --git a/src/share/vm/memory/genRemSet.hpp b/src/share/vm/memory/genRemSet.hpp
index 4abf212c2..bf0535f83 100644
--- a/src/share/vm/memory/genRemSet.hpp
+++ b/src/share/vm/memory/genRemSet.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_MEMORY_GENREMSET_HPP
+#define SHARE_VM_MEMORY_GENREMSET_HPP
+
+#include "oops/oop.hpp"
+
// A GenRemSet provides ways of iterating over pointers accross generations.
// (This is especially useful for older-to-younger.)
@@ -133,3 +138,5 @@ public:
// perm gen as well.
virtual void invalidate_or_clear(Generation* gen, bool younger, bool perm) = 0;
};
+
+#endif // SHARE_VM_MEMORY_GENREMSET_HPP
diff --git a/src/share/vm/memory/genRemSet.inline.hpp b/src/share/vm/memory/genRemSet.inline.hpp
index 5e853d461..c468e859d 100644
--- a/src/share/vm/memory/genRemSet.inline.hpp
+++ b/src/share/vm/memory/genRemSet.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_MEMORY_GENREMSET_INLINE_HPP
+#define SHARE_VM_MEMORY_GENREMSET_INLINE_HPP
+
// Inline functions of GenRemSet, which de-virtualize this
// performance-critical call when when the rem set is the most common
// card-table kind.
@@ -33,3 +36,5 @@ void GenRemSet::write_ref_field_gc(void* field, oop new_val) {
write_ref_field_gc_work(field, new_val);
}
}
+
+#endif // SHARE_VM_MEMORY_GENREMSET_INLINE_HPP
diff --git a/src/share/vm/memory/generation.cpp b/src/share/vm/memory/generation.cpp
index c2f515937..fe194871c 100644
--- a/src/share/vm/memory/generation.cpp
+++ b/src/share/vm/memory/generation.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,24 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_generation.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/blockOffsetTable.inline.hpp"
+#include "memory/cardTableRS.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/genMarkSweep.hpp"
+#include "memory/genOopClosures.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/generation.hpp"
+#include "memory/generation.inline.hpp"
+#include "memory/space.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/events.hpp"
Generation::Generation(ReservedSpace rs, size_t initial_size, int level) :
_level(level),
diff --git a/src/share/vm/memory/generation.hpp b/src/share/vm/memory/generation.hpp
index 4398730a3..4561f5ad3 100644
--- a/src/share/vm/memory/generation.hpp
+++ b/src/share/vm/memory/generation.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,19 @@
*
*/
+#ifndef SHARE_VM_MEMORY_GENERATION_HPP
+#define SHARE_VM_MEMORY_GENERATION_HPP
+
+#include "gc_implementation/shared/collectorCounters.hpp"
+#include "memory/allocation.hpp"
+#include "memory/memRegion.hpp"
+#include "memory/referenceProcessor.hpp"
+#include "memory/universe.hpp"
+#include "memory/watermark.hpp"
+#include "runtime/mutex.hpp"
+#include "runtime/perfData.hpp"
+#include "runtime/virtualspace.hpp"
+
// A Generation models a heap area for similarly-aged objects.
// It will contain one ore more spaces holding the actual objects.
//
@@ -740,3 +753,5 @@ class OneContigSpaceCardGeneration: public CardGeneration {
virtual void verify(bool allow_dirty);
virtual void print_on(outputStream* st) const;
};
+
+#endif // SHARE_VM_MEMORY_GENERATION_HPP
diff --git a/src/share/vm/memory/generation.inline.hpp b/src/share/vm/memory/generation.inline.hpp
index 46315a7e7..506bf2a27 100644
--- a/src/share/vm/memory/generation.inline.hpp
+++ b/src/share/vm/memory/generation.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_MEMORY_GENERATION_INLINE_HPP
+#define SHARE_VM_MEMORY_GENERATION_INLINE_HPP
+
+#include "memory/genCollectedHeap.hpp"
+#include "memory/generation.hpp"
+#include "memory/space.hpp"
+
bool OneContigSpaceCardGeneration::is_in(const void* p) const {
return the_space()->is_in(p);
}
@@ -63,3 +70,5 @@ size_t OneContigSpaceCardGeneration::block_size(const HeapWord* addr) const {
bool OneContigSpaceCardGeneration::block_is_obj(const HeapWord* addr) const {
return addr < the_space()->top();
}
+
+#endif // SHARE_VM_MEMORY_GENERATION_INLINE_HPP
diff --git a/src/share/vm/memory/generationSpec.cpp b/src/share/vm/memory/generationSpec.cpp
index 637113b12..bbe63ce48 100644
--- a/src/share/vm/memory/generationSpec.cpp
+++ b/src/share/vm/memory/generationSpec.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_generationSpec.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/compactPermGen.hpp"
+#include "memory/defNewGeneration.hpp"
+#include "memory/filemap.hpp"
+#include "memory/genRemSet.hpp"
+#include "memory/generationSpec.hpp"
+#include "memory/tenuredGeneration.hpp"
+#include "runtime/java.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/cmsPermGen.hpp"
+#include "gc_implementation/parNew/asParNewGeneration.hpp"
+#include "gc_implementation/parNew/parNewGeneration.hpp"
+#endif
Generation* GenerationSpec::init(ReservedSpace rs, int level,
GenRemSet* remset) {
diff --git a/src/share/vm/memory/generationSpec.hpp b/src/share/vm/memory/generationSpec.hpp
index b5c2767a6..5aff302b9 100644
--- a/src/share/vm/memory/generationSpec.hpp
+++ b/src/share/vm/memory/generationSpec.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_GENERATIONSPEC_HPP
+#define SHARE_VM_MEMORY_GENERATIONSPEC_HPP
+
+#include "memory/generation.hpp"
+#include "memory/permGen.hpp"
+
// The specification of a generation. This class also encapsulates
// some generation-specific behavior. This is done here rather than as a
// virtual function of Generation because these methods are needed in
@@ -120,3 +126,5 @@ public:
size_t misc_code_size() const { return _misc_code_size; }
bool enable_shared_spaces() const { return _enable_shared_spaces; }
};
+
+#endif // SHARE_VM_MEMORY_GENERATIONSPEC_HPP
diff --git a/src/share/vm/memory/heap.cpp b/src/share/vm/memory/heap.cpp
index 4a82bc067..b6d6484f0 100644
--- a/src/share/vm/memory/heap.cpp
+++ b/src/share/vm/memory/heap.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_heap.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/heap.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/os.hpp"
size_t CodeHeap::header_size() {
diff --git a/src/share/vm/memory/heap.hpp b/src/share/vm/memory/heap.hpp
index 1fee8e09a..95199aac9 100644
--- a/src/share/vm/memory/heap.hpp
+++ b/src/share/vm/memory/heap.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_HEAP_HPP
+#define SHARE_VM_MEMORY_HEAP_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/virtualspace.hpp"
+
// Blocks
class HeapBlock VALUE_OBJ_CLASS_SPEC {
@@ -160,3 +166,5 @@ class CodeHeap : public CHeapObj {
void verify();
void print() PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_MEMORY_HEAP_HPP
diff --git a/src/share/vm/memory/heapInspection.cpp b/src/share/vm/memory/heapInspection.cpp
index e5aa50f8f..5bd354a97 100644
--- a/src/share/vm/memory/heapInspection.cpp
+++ b/src/share/vm/memory/heapInspection.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_heapInspection.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/heapInspection.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/klassOop.hpp"
+#include "runtime/os.hpp"
+#include "utilities/globalDefinitions.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#endif
// HeapInspection
diff --git a/src/share/vm/memory/heapInspection.hpp b/src/share/vm/memory/heapInspection.hpp
index 54b943116..6d2f544b4 100644
--- a/src/share/vm/memory/heapInspection.hpp
+++ b/src/share/vm/memory/heapInspection.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_HEAPINSPECTION_HPP
+#define SHARE_VM_MEMORY_HEAPINSPECTION_HPP
+
+#include "memory/allocation.inline.hpp"
+#include "oops/oop.inline.hpp"
+
#ifndef SERVICES_KERNEL
@@ -130,3 +136,5 @@ class HeapInspection : public AllStatic {
static void heap_inspection(outputStream* st, bool need_prologue) KERNEL_RETURN;
static void find_instances_at_safepoint(klassOop k, GrowableArray<oop>* result) KERNEL_RETURN;
};
+
+#endif // SHARE_VM_MEMORY_HEAPINSPECTION_HPP
diff --git a/src/share/vm/memory/iterator.cpp b/src/share/vm/memory/iterator.cpp
index 683a1e3ab..de0958c55 100644
--- a/src/share/vm/memory/iterator.cpp
+++ b/src/share/vm/memory/iterator.cpp
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_iterator.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/iterator.hpp"
+#include "oops/oop.inline.hpp"
#ifdef ASSERT
bool OopClosure::_must_remember_klasses = false;
diff --git a/src/share/vm/memory/iterator.hpp b/src/share/vm/memory/iterator.hpp
index 8d64aeb71..60e833b2a 100644
--- a/src/share/vm/memory/iterator.hpp
+++ b/src/share/vm/memory/iterator.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_MEMORY_ITERATOR_HPP
+#define SHARE_VM_MEMORY_ITERATOR_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/memRegion.hpp"
+#include "runtime/prefetch.hpp"
+#include "utilities/top.hpp"
+
// The following classes are C++ `closures` for iterating over objects, roots and spaces
class CodeBlob;
@@ -325,3 +333,5 @@ class RememberKlassesChecker: StackObj {
}
};
#endif // ASSERT
+
+#endif // SHARE_VM_MEMORY_ITERATOR_HPP
diff --git a/src/share/vm/memory/memRegion.cpp b/src/share/vm/memory/memRegion.cpp
index 4437350a6..70483f9ad 100644
--- a/src/share/vm/memory/memRegion.cpp
+++ b/src/share/vm/memory/memRegion.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,12 +22,13 @@
*
*/
+#include "precompiled.hpp"
+#include "memory/memRegion.hpp"
+#include "runtime/globals.hpp"
+
// A very simple data structure representing a contigous word-aligned
// region of address space.
-#include "incls/_precompiled.incl"
-#include "incls/_memRegion.cpp.incl"
-
MemRegion MemRegion::intersection(const MemRegion mr2) const {
MemRegion res;
HeapWord* res_start = MAX2(start(), mr2.start());
diff --git a/src/share/vm/memory/memRegion.hpp b/src/share/vm/memory/memRegion.hpp
index 84b36ef2f..4ed33d731 100644
--- a/src/share/vm/memory/memRegion.hpp
+++ b/src/share/vm/memory/memRegion.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_MEMORY_MEMREGION_HPP
+#define SHARE_VM_MEMORY_MEMREGION_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/globalDefinitions.hpp"
+
// A very simple data structure representing a contigous region
// region of address space.
@@ -104,3 +111,5 @@ public:
void operator delete(void* p) {} // nothing to do
};
+
+#endif // SHARE_VM_MEMORY_MEMREGION_HPP
diff --git a/src/share/vm/memory/modRefBarrierSet.hpp b/src/share/vm/memory/modRefBarrierSet.hpp
index 2258c6a53..6a9b2aa0a 100644
--- a/src/share/vm/memory/modRefBarrierSet.hpp
+++ b/src/share/vm/memory/modRefBarrierSet.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_MEMORY_MODREFBARRIERSET_HPP
+#define SHARE_VM_MEMORY_MODREFBARRIERSET_HPP
+
+#include "memory/barrierSet.hpp"
+
// This kind of "BarrierSet" allows a "CollectedHeap" to detect and
// enumerate ref fields that have been modified (since the last
// enumeration), using a card table.
@@ -111,3 +116,5 @@ public:
#endif
};
+
+#endif // SHARE_VM_MEMORY_MODREFBARRIERSET_HPP
diff --git a/src/share/vm/memory/oopFactory.cpp b/src/share/vm/memory/oopFactory.cpp
index 8db5a10ed..f737bfdad 100644
--- a/src/share/vm/memory/oopFactory.cpp
+++ b/src/share/vm/memory/oopFactory.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,28 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_oopFactory.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/compiledICHolderKlass.hpp"
+#include "oops/constMethodKlass.hpp"
+#include "oops/constantPoolKlass.hpp"
+#include "oops/cpCacheKlass.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/instanceKlassKlass.hpp"
+#include "oops/instanceOop.hpp"
+#include "oops/klassKlass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/methodDataKlass.hpp"
+#include "oops/methodKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
typeArrayOop oopFactory::new_charArray(const char* utf8_str, TRAPS) {
diff --git a/src/share/vm/memory/oopFactory.hpp b/src/share/vm/memory/oopFactory.hpp
index be35f5d19..79ce99c4c 100644
--- a/src/share/vm/memory/oopFactory.hpp
+++ b/src/share/vm/memory/oopFactory.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_MEMORY_OOPFACTORY_HPP
+#define SHARE_VM_MEMORY_OOPFACTORY_HPP
+
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "memory/universe.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/oop.hpp"
+#include "oops/typeArrayKlass.hpp"
+#include "utilities/growableArray.hpp"
+
// oopFactory is a class used for creating new objects.
class vframeArray;
@@ -126,3 +138,5 @@ public:
// For compiled ICs
static compiledICHolderOop new_compiledICHolder(methodHandle method, KlassHandle klass, TRAPS);
};
+
+#endif // SHARE_VM_MEMORY_OOPFACTORY_HPP
diff --git a/src/share/vm/memory/permGen.cpp b/src/share/vm/memory/permGen.cpp
index 7073aa47d..350f583aa 100644
--- a/src/share/vm/memory/permGen.cpp
+++ b/src/share/vm/memory/permGen.cpp
@@ -22,8 +22,21 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_permGen.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/cSpaceCounters.hpp"
+#include "gc_implementation/shared/vmGCOperations.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/blockOffsetTable.inline.hpp"
+#include "memory/compactPermGen.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/generation.inline.hpp"
+#include "memory/permGen.hpp"
+#include "memory/universe.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/vmThread.hpp"
HeapWord* PermGen::request_expand_and_allocate(Generation* gen, size_t size,
GCCause::Cause prev_cause) {
diff --git a/src/share/vm/memory/permGen.hpp b/src/share/vm/memory/permGen.hpp
index a6f54e0f8..7400ed65f 100644
--- a/src/share/vm/memory/permGen.hpp
+++ b/src/share/vm/memory/permGen.hpp
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_MEMORY_PERMGEN_HPP
+#define SHARE_VM_MEMORY_PERMGEN_HPP
+
+#include "gc_interface/gcCause.hpp"
+#include "memory/generation.hpp"
+#include "memory/iterator.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/virtualspace.hpp"
+
// All heaps contains a "permanent generation," containing permanent
// (reflective) objects. This is like a regular generation in some ways,
// but unlike one in others, and so is split apart.
@@ -84,3 +94,5 @@ class PermGen : public CHeapObj {
g->update_counters();
}
};
+
+#endif // SHARE_VM_MEMORY_PERMGEN_HPP
diff --git a/src/share/vm/memory/referencePolicy.cpp b/src/share/vm/memory/referencePolicy.cpp
index 5e2073d2a..2af436862 100644
--- a/src/share/vm/memory/referencePolicy.cpp
+++ b/src/share/vm/memory/referencePolicy.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_referencePolicy.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "memory/referencePolicy.hpp"
+#include "memory/universe.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/globals.hpp"
LRUCurrentHeapPolicy::LRUCurrentHeapPolicy() {
setup();
diff --git a/src/share/vm/memory/referencePolicy.hpp b/src/share/vm/memory/referencePolicy.hpp
index 8e9c943e9..9672ed9e5 100644
--- a/src/share/vm/memory/referencePolicy.hpp
+++ b/src/share/vm/memory/referencePolicy.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_MEMORY_REFERENCEPOLICY_HPP
+#define SHARE_VM_MEMORY_REFERENCEPOLICY_HPP
+
// referencePolicy is used to determine when soft reference objects
// should be cleared.
@@ -66,3 +69,5 @@ class LRUMaxHeapPolicy : public ReferencePolicy {
void setup();
bool should_clear_reference(oop p);
};
+
+#endif // SHARE_VM_MEMORY_REFERENCEPOLICY_HPP
diff --git a/src/share/vm/memory/referenceProcessor.cpp b/src/share/vm/memory/referenceProcessor.cpp
index 6e58f6af3..f69b3286b 100644
--- a/src/share/vm/memory/referenceProcessor.cpp
+++ b/src/share/vm/memory/referenceProcessor.cpp
@@ -22,8 +22,16 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_referenceProcessor.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/referencePolicy.hpp"
+#include "memory/referenceProcessor.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/jniHandles.hpp"
ReferencePolicy* ReferenceProcessor::_always_clear_soft_ref_policy = NULL;
ReferencePolicy* ReferenceProcessor::_default_soft_ref_policy = NULL;
diff --git a/src/share/vm/memory/referenceProcessor.hpp b/src/share/vm/memory/referenceProcessor.hpp
index d1f928776..abc3b66af 100644
--- a/src/share/vm/memory/referenceProcessor.hpp
+++ b/src/share/vm/memory/referenceProcessor.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_REFERENCEPROCESSOR_HPP
+#define SHARE_VM_MEMORY_REFERENCEPROCESSOR_HPP
+
+#include "memory/referencePolicy.hpp"
+#include "oops/instanceRefKlass.hpp"
+
// ReferenceProcessor class encapsulates the per-"collector" processing
// of java.lang.Reference objects for GC. The interface is useful for supporting
// a generational abstraction, in particular when there are multiple
@@ -542,3 +548,5 @@ protected:
oop _sentinel_ref;
int _n_queues;
};
+
+#endif // SHARE_VM_MEMORY_REFERENCEPROCESSOR_HPP
diff --git a/src/share/vm/memory/resourceArea.cpp b/src/share/vm/memory/resourceArea.cpp
index 1251d011c..90c1e6e3e 100644
--- a/src/share/vm/memory/resourceArea.cpp
+++ b/src/share/vm/memory/resourceArea.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_resourceArea.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/mutexLocker.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
//------------------------------ResourceMark-----------------------------------
debug_only(int ResourceArea::_warned;) // to suppress multiple warnings
diff --git a/src/share/vm/memory/resourceArea.hpp b/src/share/vm/memory/resourceArea.hpp
index 1f4c56364..728a12f57 100644
--- a/src/share/vm/memory/resourceArea.hpp
+++ b/src/share/vm/memory/resourceArea.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_MEMORY_RESOURCEAREA_HPP
+#define SHARE_VM_MEMORY_RESOURCEAREA_HPP
+
+#include "memory/allocation.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
// The resource area holds temporary data structures in the VM.
// The actual allocation areas are thread local. Typical usage:
//
@@ -224,3 +238,5 @@ protected:
void free_malloced_objects() PRODUCT_RETURN;
size_t size_in_bytes() NOT_PRODUCT({ return _size_in_bytes; }) PRODUCT_RETURN0;
};
+
+#endif // SHARE_VM_MEMORY_RESOURCEAREA_HPP
diff --git a/src/share/vm/memory/restore.cpp b/src/share/vm/memory/restore.cpp
index 61a55ef83..024ac26a5 100644
--- a/src/share/vm/memory/restore.cpp
+++ b/src/share/vm/memory/restore.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_restore.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "memory/filemap.hpp"
+#include "oops/oop.inline.hpp"
+#include "utilities/hashtable.inline.hpp"
// Closure for serializing initialization data in from a data area
diff --git a/src/share/vm/memory/serialize.cpp b/src/share/vm/memory/serialize.cpp
index 7b2e53cb9..2aa933ce8 100644
--- a/src/share/vm/memory/serialize.cpp
+++ b/src/share/vm/memory/serialize.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,16 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_serialize.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "memory/classify.hpp"
+#include "memory/compactingPermGenGen.hpp"
+#include "oops/compiledICHolderOop.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
// Serialize out the block offset shared array for the shared spaces.
diff --git a/src/share/vm/memory/sharedHeap.cpp b/src/share/vm/memory/sharedHeap.cpp
index bf6bb8a8f..3c21da751 100644
--- a/src/share/vm/memory/sharedHeap.cpp
+++ b/src/share/vm/memory/sharedHeap.cpp
@@ -22,8 +22,18 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_sharedHeap.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/sharedHeap.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/java.hpp"
+#include "services/management.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/workgroup.hpp"
SharedHeap* SharedHeap::_sh;
diff --git a/src/share/vm/memory/sharedHeap.hpp b/src/share/vm/memory/sharedHeap.hpp
index 9e74b2cd4..54af68a42 100644
--- a/src/share/vm/memory/sharedHeap.hpp
+++ b/src/share/vm/memory/sharedHeap.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_MEMORY_SHAREDHEAP_HPP
+#define SHARE_VM_MEMORY_SHAREDHEAP_HPP
+
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/generation.hpp"
+#include "memory/permGen.hpp"
+
// A "SharedHeap" is an implementation of a java heap for HotSpot. This
// is an abstract class: there may be many different kinds of heaps. This
// class defines the functions that a heap must implement, and contains
@@ -285,3 +292,5 @@ public:
size_t bytes_after,
size_t capacity);
};
+
+#endif // SHARE_VM_MEMORY_SHAREDHEAP_HPP
diff --git a/src/share/vm/memory/space.cpp b/src/share/vm/memory/space.cpp
index f20d82c9b..65afc7b4a 100644
--- a/src/share/vm/memory/space.cpp
+++ b/src/share/vm/memory/space.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,24 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_space.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "gc_implementation/shared/liveRange.hpp"
+#include "gc_implementation/shared/markSweep.hpp"
+#include "gc_implementation/shared/spaceDecorator.hpp"
+#include "memory/blockOffsetTable.inline.hpp"
+#include "memory/defNewGeneration.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/space.hpp"
+#include "memory/space.inline.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "runtime/java.hpp"
+#include "runtime/safepoint.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/globalDefinitions.hpp"
void SpaceMemRegionOopsIterClosure::do_oop(oop* p) { SpaceMemRegionOopsIterClosure::do_oop_work(p); }
void SpaceMemRegionOopsIterClosure::do_oop(narrowOop* p) { SpaceMemRegionOopsIterClosure::do_oop_work(p); }
diff --git a/src/share/vm/memory/space.hpp b/src/share/vm/memory/space.hpp
index 14755b9bf..3693b64ea 100644
--- a/src/share/vm/memory/space.hpp
+++ b/src/share/vm/memory/space.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,29 @@
*
*/
+#ifndef SHARE_VM_MEMORY_SPACE_HPP
+#define SHARE_VM_MEMORY_SPACE_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/blockOffsetTable.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "memory/iterator.hpp"
+#include "memory/memRegion.hpp"
+#include "memory/watermark.hpp"
+#include "oops/markOop.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/prefetch.hpp"
+#include "utilities/workgroup.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
+
// A space is an abstraction for the "storage units" backing
// up the generation abstraction. It includes specific
// implementations for keeping track of free and used space,
@@ -1107,3 +1130,5 @@ class ContigPermSpace: public OffsetTableContigSpace {
ContigPermSpace(BlockOffsetSharedArray* sharedOffsetArray, MemRegion mr) :
OffsetTableContigSpace(sharedOffsetArray, mr) {}
};
+
+#endif // SHARE_VM_MEMORY_SPACE_HPP
diff --git a/src/share/vm/memory/space.inline.hpp b/src/share/vm/memory/space.inline.hpp
index 6ccc2702b..7d62476a6 100644
--- a/src/share/vm/memory/space.inline.hpp
+++ b/src/share/vm/memory/space.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_MEMORY_SPACE_INLINE_HPP
+#define SHARE_VM_MEMORY_SPACE_INLINE_HPP
+
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/space.hpp"
+#include "memory/universe.hpp"
+#include "runtime/safepoint.hpp"
+
inline HeapWord* Space::block_start(const void* p) {
return block_start_const(p);
}
@@ -71,3 +79,5 @@ inline void ContiguousSpace::set_concurrent_iteration_safe_limit(HeapWord* new_l
assert(new_limit <= top(), "uninitialized objects in the safe range");
_concurrent_iteration_safe_limit = new_limit;
}
+
+#endif // SHARE_VM_MEMORY_SPACE_INLINE_HPP
diff --git a/src/share/vm/memory/specialized_oop_closures.cpp b/src/share/vm/memory/specialized_oop_closures.cpp
index 3e6a6ead9..467eba1ef 100644
--- a/src/share/vm/memory/specialized_oop_closures.cpp
+++ b/src/share/vm/memory/specialized_oop_closures.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_specialized_oop_closures.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/specialized_oop_closures.hpp"
+#include "utilities/ostream.hpp"
// For keeping stats on effectiveness.
#ifndef PRODUCT
diff --git a/src/share/vm/memory/specialized_oop_closures.hpp b/src/share/vm/memory/specialized_oop_closures.hpp
index d629c381d..4d7c50b21 100644
--- a/src/share/vm/memory/specialized_oop_closures.hpp
+++ b/src/share/vm/memory/specialized_oop_closures.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_MEMORY_SPECIALIZED_OOP_CLOSURES_HPP
+#define SHARE_VM_MEMORY_SPECIALIZED_OOP_CLOSURES_HPP
+
+#include "runtime/atomic.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/g1/g1_specialized_oop_closures.hpp"
+#endif
+
// The following OopClosure types get specialized versions of
// "oop_oop_iterate" that invoke the closures' do_oop methods
// non-virtually, using a mechanism defined in this file. Extend these
@@ -251,3 +259,5 @@ inline void SpecializationStats::print() {}
#endif // ENABLE_SPECIALIZATION_STATS
#endif // !PRODUCT
+
+#endif // SHARE_VM_MEMORY_SPECIALIZED_OOP_CLOSURES_HPP
diff --git a/src/share/vm/memory/tenuredGeneration.cpp b/src/share/vm/memory/tenuredGeneration.cpp
index ea474825d..b88f315ed 100644
--- a/src/share/vm/memory/tenuredGeneration.cpp
+++ b/src/share/vm/memory/tenuredGeneration.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_tenuredGeneration.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/parNew/parGCAllocBuffer.hpp"
+#include "gc_implementation/shared/collectorCounters.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/blockOffsetTable.inline.hpp"
+#include "memory/generation.inline.hpp"
+#include "memory/generationSpec.hpp"
+#include "memory/space.hpp"
+#include "memory/tenuredGeneration.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/java.hpp"
TenuredGeneration::TenuredGeneration(ReservedSpace rs,
size_t initial_byte_size, int level,
diff --git a/src/share/vm/memory/tenuredGeneration.hpp b/src/share/vm/memory/tenuredGeneration.hpp
index 367786753..3a1541e79 100644
--- a/src/share/vm/memory/tenuredGeneration.hpp
+++ b/src/share/vm/memory/tenuredGeneration.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_MEMORY_TENUREDGENERATION_HPP
+#define SHARE_VM_MEMORY_TENUREDGENERATION_HPP
+
+#include "gc_implementation/shared/cSpaceCounters.hpp"
+#include "gc_implementation/shared/gcStats.hpp"
+#include "gc_implementation/shared/generationCounters.hpp"
+#include "memory/generation.hpp"
+
// TenuredGeneration models the heap containing old (promoted/tenured) objects.
class ParGCAllocBufferWithBOT;
@@ -105,3 +113,5 @@ class TenuredGeneration: public OneContigSpaceCardGeneration {
void verify_alloc_buffers_clean();
};
+
+#endif // SHARE_VM_MEMORY_TENUREDGENERATION_HPP
diff --git a/src/share/vm/memory/threadLocalAllocBuffer.cpp b/src/share/vm/memory/threadLocalAllocBuffer.cpp
index c83d27ea7..f3eec576c 100644
--- a/src/share/vm/memory/threadLocalAllocBuffer.cpp
+++ b/src/share/vm/memory/threadLocalAllocBuffer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,10 +22,24 @@
*
*/
-// Thread-Local Edens support
+#include "precompiled.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/threadLocalAllocBuffer.inline.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "utilities/copy.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
-# include "incls/_precompiled.incl"
-# include "incls/_threadLocalAllocBuffer.cpp.incl"
+// Thread-Local Edens support
// static member initialization
unsigned ThreadLocalAllocBuffer::_target_refills = 0;
diff --git a/src/share/vm/memory/threadLocalAllocBuffer.hpp b/src/share/vm/memory/threadLocalAllocBuffer.hpp
index be420a9e8..2d091f693 100644
--- a/src/share/vm/memory/threadLocalAllocBuffer.hpp
+++ b/src/share/vm/memory/threadLocalAllocBuffer.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_MEMORY_THREADLOCALALLOCBUFFER_HPP
+#define SHARE_VM_MEMORY_THREADLOCALALLOCBUFFER_HPP
+
+#include "gc_implementation/shared/gcUtil.hpp"
+#include "oops/typeArrayOop.hpp"
+#include "runtime/perfData.hpp"
+
class GlobalTLABStats;
// ThreadLocalAllocBuffer: a descriptor for thread-local storage used by
@@ -255,3 +262,5 @@ public:
_max_slow_allocations = MAX2(_max_slow_allocations, value);
}
};
+
+#endif // SHARE_VM_MEMORY_THREADLOCALALLOCBUFFER_HPP
diff --git a/src/share/vm/memory/threadLocalAllocBuffer.inline.hpp b/src/share/vm/memory/threadLocalAllocBuffer.inline.hpp
index 712abe437..cd8e7a827 100644
--- a/src/share/vm/memory/threadLocalAllocBuffer.inline.hpp
+++ b/src/share/vm/memory/threadLocalAllocBuffer.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_MEMORY_THREADLOCALALLOCBUFFER_INLINE_HPP
+#define SHARE_VM_MEMORY_THREADLOCALALLOCBUFFER_INLINE_HPP
+
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/threadLocalAllocBuffer.hpp"
+#include "runtime/atomic.hpp"
+#include "utilities/copy.hpp"
+
inline HeapWord* ThreadLocalAllocBuffer::allocate(size_t size) {
invariants();
HeapWord* obj = top();
@@ -93,3 +101,5 @@ void ThreadLocalAllocBuffer::record_slow_allocation(size_t obj_size) {
obj_size, free(), refill_waste_limit());
}
}
+
+#endif // SHARE_VM_MEMORY_THREADLOCALALLOCBUFFER_INLINE_HPP
diff --git a/src/share/vm/memory/universe.cpp b/src/share/vm/memory/universe.cpp
index 667bc3156..9909e8035 100644
--- a/src/share/vm/memory/universe.cpp
+++ b/src/share/vm/memory/universe.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,80 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_universe.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classLoader.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/codeCache.hpp"
+#include "code/dependencies.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "memory/filemap.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/genRemSet.hpp"
+#include "memory/generation.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/permGen.hpp"
+#include "memory/space.hpp"
+#include "memory/universe.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/arrayKlassKlass.hpp"
+#include "oops/compiledICHolderKlass.hpp"
+#include "oops/constMethodKlass.hpp"
+#include "oops/constantPoolKlass.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/cpCacheKlass.hpp"
+#include "oops/cpCacheOop.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/instanceKlassKlass.hpp"
+#include "oops/instanceRefKlass.hpp"
+#include "oops/klassKlass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/methodDataKlass.hpp"
+#include "oops/methodKlass.hpp"
+#include "oops/objArrayKlassKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolKlass.hpp"
+#include "oops/typeArrayKlass.hpp"
+#include "oops/typeArrayKlassKlass.hpp"
+#include "prims/jvmtiRedefineClassesTrace.hpp"
+#include "runtime/aprofiler.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/init.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/synchronizer.hpp"
+#include "runtime/timer.hpp"
+#include "runtime/vm_operations.hpp"
+#include "services/memoryService.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/events.hpp"
+#include "utilities/hashtable.inline.hpp"
+#include "utilities/preserveException.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp"
+#include "gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#endif
// Known objects
klassOop Universe::_boolArrayKlassObj = NULL;
diff --git a/src/share/vm/memory/universe.hpp b/src/share/vm/memory/universe.hpp
index 6be32bb01..f57f7be6a 100644
--- a/src/share/vm/memory/universe.hpp
+++ b/src/share/vm/memory/universe.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_UNIVERSE_HPP
+#define SHARE_VM_MEMORY_UNIVERSE_HPP
+
+#include "runtime/handles.hpp"
+#include "utilities/growableArray.hpp"
+
// Universe is a name space holding known system classes and objects in the VM.
//
// Loaded classes are accessible through the SystemDictionary.
@@ -461,3 +467,5 @@ class DeferredObjAllocEvent : public CHeapObj {
size_t bytesize() { return _bytesize; }
oop get_oop() { return _oop; }
};
+
+#endif // SHARE_VM_MEMORY_UNIVERSE_HPP
diff --git a/src/share/vm/memory/universe.inline.hpp b/src/share/vm/memory/universe.inline.hpp
index 19c3e913a..8bb6de330 100644
--- a/src/share/vm/memory/universe.inline.hpp
+++ b/src/share/vm/memory/universe.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_MEMORY_UNIVERSE_INLINE_HPP
+#define SHARE_VM_MEMORY_UNIVERSE_INLINE_HPP
+
+#include "memory/universe.hpp"
+
// Check whether an element of a typeArrayOop with the given type must be
// aligned 0 mod 8. The typeArrayOop itself must be aligned at least this
// strongly.
@@ -35,3 +40,5 @@ inline bool Universe::element_type_should_be_aligned(BasicType type) {
inline bool Universe::field_type_should_be_aligned(BasicType type) {
return type == T_DOUBLE || type == T_LONG;
}
+
+#endif // SHARE_VM_MEMORY_UNIVERSE_INLINE_HPP
diff --git a/src/share/vm/memory/watermark.hpp b/src/share/vm/memory/watermark.hpp
index cd2dae1b1..4d65aab1e 100644
--- a/src/share/vm/memory/watermark.hpp
+++ b/src/share/vm/memory/watermark.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_MEMORY_WATERMARK_HPP
+#define SHARE_VM_MEMORY_WATERMARK_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/globalDefinitions.hpp"
+
// A water mark points into a space and is used during GC to keep track of
// progress.
@@ -51,3 +57,5 @@ inline bool operator==(const WaterMark& x, const WaterMark& y) {
inline bool operator!=(const WaterMark& x, const WaterMark& y) {
return !(x == y);
}
+
+#endif // SHARE_VM_MEMORY_WATERMARK_HPP
diff --git a/src/share/vm/oops/arrayKlass.cpp b/src/share/vm/oops/arrayKlass.cpp
index 8ed782219..2022bb88c 100644
--- a/src/share/vm/oops/arrayKlass.cpp
+++ b/src/share/vm/oops/arrayKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,20 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_arrayKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "jvmtifiles/jvmti.h"
+#include "memory/gcLocker.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/arrayKlass.hpp"
+#include "oops/arrayKlassKlass.hpp"
+#include "oops/arrayOop.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
int arrayKlass::object_size(int header_size) const {
// size of an array klass object
diff --git a/src/share/vm/oops/arrayKlass.hpp b/src/share/vm/oops/arrayKlass.hpp
index 199131ee4..4b504ec47 100644
--- a/src/share/vm/oops/arrayKlass.hpp
+++ b/src/share/vm/oops/arrayKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OOPS_ARRAYKLASS_HPP
+#define SHARE_VM_OOPS_ARRAYKLASS_HPP
+
+#include "memory/universe.hpp"
+#include "oops/klass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/klassVtable.hpp"
+
// arrayKlass is the abstract baseclass for all array classes
class arrayKlass: public Klass {
@@ -127,3 +135,5 @@ class arrayKlass: public Klass {
// Verification
void oop_verify_on(oop obj, outputStream* st);
};
+
+#endif // SHARE_VM_OOPS_ARRAYKLASS_HPP
diff --git a/src/share/vm/oops/arrayKlassKlass.cpp b/src/share/vm/oops/arrayKlassKlass.cpp
index b4b37b3ef..a27e62f10 100644
--- a/src/share/vm/oops/arrayKlassKlass.cpp
+++ b/src/share/vm/oops/arrayKlassKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_arrayKlassKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "oops/arrayKlassKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
klassOop arrayKlassKlass::create_klass(TRAPS) {
diff --git a/src/share/vm/oops/arrayKlassKlass.hpp b/src/share/vm/oops/arrayKlassKlass.hpp
index 4fe4fb51a..0031dddb4 100644
--- a/src/share/vm/oops/arrayKlassKlass.hpp
+++ b/src/share/vm/oops/arrayKlassKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_OOPS_ARRAYKLASSKLASS_HPP
+#define SHARE_VM_OOPS_ARRAYKLASSKLASS_HPP
+
+#include "oops/arrayKlass.hpp"
+#include "oops/klassKlass.hpp"
+
// arrayKlassKlass is the abstract baseclass for all array class classes
class arrayKlassKlass : public klassKlass {
@@ -63,3 +69,5 @@ class arrayKlassKlass : public klassKlass {
const char* internal_name() const;
void oop_verify_on(oop obj, outputStream* st);
};
+
+#endif // SHARE_VM_OOPS_ARRAYKLASSKLASS_HPP
diff --git a/src/share/vm/oops/arrayOop.cpp b/src/share/vm/oops/arrayOop.cpp
index 34b6389c8..304f1219f 100644
--- a/src/share/vm/oops/arrayOop.cpp
+++ b/src/share/vm/oops/arrayOop.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,7 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_arrayOop.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/arrayOop.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
// <<this page is intentionally left blank>>
diff --git a/src/share/vm/oops/arrayOop.hpp b/src/share/vm/oops/arrayOop.hpp
index c1ad41474..0e762397c 100644
--- a/src/share/vm/oops/arrayOop.hpp
+++ b/src/share/vm/oops/arrayOop.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_OOPS_ARRAYOOP_HPP
+#define SHARE_VM_OOPS_ARRAYOOP_HPP
+
+#include "memory/universe.inline.hpp"
+#include "oops/oop.hpp"
+
// arrayOopDesc is the abstract baseclass for all arrays. It doesn't
// declare pure virtual to enforce this because that would allocate a vtbl
// in each instance, which we don't want.
@@ -113,3 +119,5 @@ class arrayOopDesc : public oopDesc {
return max_element_words / words_per_element;
}
};
+
+#endif // SHARE_VM_OOPS_ARRAYOOP_HPP
diff --git a/src/share/vm/oops/compiledICHolderKlass.cpp b/src/share/vm/oops/compiledICHolderKlass.cpp
index 035d86e33..f91716d12 100644
--- a/src/share/vm/oops/compiledICHolderKlass.cpp
+++ b/src/share/vm/oops/compiledICHolderKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,20 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_compiledICHolderKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/permGen.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/compiledICHolderKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "runtime/handles.inline.hpp"
+#ifndef SERIALGC
+#include "oops/oop.pcgc.inline.hpp"
+#endif
klassOop compiledICHolderKlass::create_klass(TRAPS) {
compiledICHolderKlass o;
diff --git a/src/share/vm/oops/compiledICHolderKlass.hpp b/src/share/vm/oops/compiledICHolderKlass.hpp
index 33fd89b0d..4018f0893 100644
--- a/src/share/vm/oops/compiledICHolderKlass.hpp
+++ b/src/share/vm/oops/compiledICHolderKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OOPS_COMPILEDICHOLDERKLASS_HPP
+#define SHARE_VM_OOPS_COMPILEDICHOLDERKLASS_HPP
+
+#include "oops/compiledICHolderOop.hpp"
+#include "oops/klass.hpp"
+#include "oops/methodOop.hpp"
+
class CMSIsAliveClosure;
// a compiledICHolderKlass is the klass of a compiledICHolderOop
@@ -77,3 +84,5 @@ class compiledICHolderKlass : public Klass {
void oop_verify_on(oop obj, outputStream* st);
};
+
+#endif // SHARE_VM_OOPS_COMPILEDICHOLDERKLASS_HPP
diff --git a/src/share/vm/oops/compiledICHolderOop.cpp b/src/share/vm/oops/compiledICHolderOop.cpp
index d32ccfbf1..2f31b9550 100644
--- a/src/share/vm/oops/compiledICHolderOop.cpp
+++ b/src/share/vm/oops/compiledICHolderOop.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,7 +22,7 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_compiledICHolderOop.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/compiledICHolderOop.hpp"
// <<this page is intentionally left blank>>
diff --git a/src/share/vm/oops/compiledICHolderOop.hpp b/src/share/vm/oops/compiledICHolderOop.hpp
index a31744002..e2681521b 100644
--- a/src/share/vm/oops/compiledICHolderOop.hpp
+++ b/src/share/vm/oops/compiledICHolderOop.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OOPS_COMPILEDICHOLDEROOP_HPP
+#define SHARE_VM_OOPS_COMPILEDICHOLDEROOP_HPP
+
+#include "oops/oop.hpp"
+
// A compiledICHolderOop is a helper object for the inline cache implementation.
// It holds an intermediate value (method+klass pair) used when converting from
// compiled to an interpreted call.
@@ -54,3 +59,5 @@ class compiledICHolderOopDesc : public oopDesc {
oop* adr_holder_method() const { return (oop*)&_holder_method; }
oop* adr_holder_klass() const { return (oop*)&_holder_klass; }
};
+
+#endif // SHARE_VM_OOPS_COMPILEDICHOLDEROOP_HPP
diff --git a/src/share/vm/oops/constMethodKlass.cpp b/src/share/vm/oops/constMethodKlass.cpp
index 114dea85b..19e292d7a 100644
--- a/src/share/vm/oops/constMethodKlass.cpp
+++ b/src/share/vm/oops/constMethodKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,16 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_constMethodKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/constMethodKlass.hpp"
+#include "oops/constMethodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "runtime/handles.inline.hpp"
klassOop constMethodKlass::create_klass(TRAPS) {
diff --git a/src/share/vm/oops/constMethodKlass.hpp b/src/share/vm/oops/constMethodKlass.hpp
index 4e99518c6..1c3e3c83b 100644
--- a/src/share/vm/oops/constMethodKlass.hpp
+++ b/src/share/vm/oops/constMethodKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OOPS_CONSTMETHODKLASS_HPP
+#define SHARE_VM_OOPS_CONSTMETHODKLASS_HPP
+
+#include "oops/klass.hpp"
+#include "oops/oop.hpp"
+#include "runtime/orderAccess.hpp"
+
// A constMethodKlass is the klass of a constMethodOop
class constMethodKlass : public Klass {
@@ -87,3 +94,5 @@ public:
bool oop_partially_loaded(oop obj) const;
void oop_set_partially_loaded(oop obj);
};
+
+#endif // SHARE_VM_OOPS_CONSTMETHODKLASS_HPP
diff --git a/src/share/vm/oops/constMethodOop.cpp b/src/share/vm/oops/constMethodOop.cpp
index 62918c717..b52e64ee4 100644
--- a/src/share/vm/oops/constMethodOop.cpp
+++ b/src/share/vm/oops/constMethodOop.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_constMethodOop.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/constMethodOop.hpp"
+#include "oops/methodOop.hpp"
// Static initialization
const u2 constMethodOopDesc::MAX_IDNUM = 0xFFFE;
diff --git a/src/share/vm/oops/constMethodOop.hpp b/src/share/vm/oops/constMethodOop.hpp
index b806fcbe9..91f97869a 100644
--- a/src/share/vm/oops/constMethodOop.hpp
+++ b/src/share/vm/oops/constMethodOop.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_OOPS_CONSTMETHODOOP_HPP
+#define SHARE_VM_OOPS_CONSTMETHODOOP_HPP
+
+#include "oops/oop.hpp"
+#include "oops/typeArrayOop.hpp"
+
// An constMethodOop represents portions of a Java method which
// do not vary.
//
@@ -301,3 +307,5 @@ private:
u2* last_u2_element() const
{ return (u2*)constMethod_end() - 1; }
};
+
+#endif // SHARE_VM_OOPS_CONSTMETHODOOP_HPP
diff --git a/src/share/vm/oops/constantPoolKlass.cpp b/src/share/vm/oops/constantPoolKlass.cpp
index 0634c9714..9b2f8ecec 100644
--- a/src/share/vm/oops/constantPoolKlass.cpp
+++ b/src/share/vm/oops/constantPoolKlass.cpp
@@ -22,8 +22,35 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_constantPoolKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/permGen.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/constantPoolKlass.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/handles.inline.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+#ifndef SERIALGC
+#include "gc_implementation/parNew/parOopClosures.inline.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.inline.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#include "memory/cardTableRS.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#endif
constantPoolOop constantPoolKlass::allocate(int length, bool is_conc_safe, TRAPS) {
int size = constantPoolOopDesc::object_size(length);
diff --git a/src/share/vm/oops/constantPoolKlass.hpp b/src/share/vm/oops/constantPoolKlass.hpp
index 95adcbe30..2e3f0d067 100644
--- a/src/share/vm/oops/constantPoolKlass.hpp
+++ b/src/share/vm/oops/constantPoolKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_OOPS_CONSTANTPOOLKLASS_HPP
+#define SHARE_VM_OOPS_CONSTANTPOOLKLASS_HPP
+
+#include "oops/arrayKlass.hpp"
+#include "oops/instanceKlass.hpp"
+
// A constantPoolKlass is the klass of a constantPoolOop
class constantPoolKlass : public Klass {
@@ -79,3 +85,5 @@ class constantPoolKlass : public Klass {
static void preload_and_initialize_all_classes(oop constant_pool, TRAPS);
#endif
};
+
+#endif // SHARE_VM_OOPS_CONSTANTPOOLKLASS_HPP
diff --git a/src/share/vm/oops/constantPoolOop.cpp b/src/share/vm/oops/constantPoolOop.cpp
index 5c1b6c3f9..5ccff2388 100644
--- a/src/share/vm/oops/constantPoolOop.cpp
+++ b/src/share/vm/oops/constantPoolOop.cpp
@@ -22,8 +22,22 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_constantPoolOop.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/fieldType.hpp"
+#include "runtime/init.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/vframe.hpp"
void constantPoolOopDesc::set_flag_at(FlagBit fb) {
const int MAX_STATE_CHANGES = 2;
diff --git a/src/share/vm/oops/constantPoolOop.hpp b/src/share/vm/oops/constantPoolOop.hpp
index 4b9da5b45..2826aa9cd 100644
--- a/src/share/vm/oops/constantPoolOop.hpp
+++ b/src/share/vm/oops/constantPoolOop.hpp
@@ -22,6 +22,23 @@
*
*/
+#ifndef SHARE_VM_OOPS_CONSTANTPOOLOOP_HPP
+#define SHARE_VM_OOPS_CONSTANTPOOLOOP_HPP
+
+#include "oops/arrayOop.hpp"
+#include "oops/cpCacheOop.hpp"
+#include "oops/typeArrayOop.hpp"
+#include "utilities/constantTag.hpp"
+#ifdef TARGET_ARCH_x86
+# include "bytes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytes_zero.hpp"
+#endif
+
// A constantPool is an array containing class constants as described in the
// class file.
//
@@ -765,3 +782,5 @@ class SymbolHashMap: public CHeapObj {
delete _buckets;
}
}; // End SymbolHashMap class
+
+#endif // SHARE_VM_OOPS_CONSTANTPOOLOOP_HPP
diff --git a/src/share/vm/oops/cpCacheKlass.cpp b/src/share/vm/oops/cpCacheKlass.cpp
index 216c62ee4..c3ed892fe 100644
--- a/src/share/vm/oops/cpCacheKlass.cpp
+++ b/src/share/vm/oops/cpCacheKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,24 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_cpCacheKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/permGen.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/cpCacheKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/parNew/parOopClosures.inline.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.inline.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#include "memory/cardTableRS.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#endif
int constantPoolCacheKlass::oop_size(oop obj) const {
diff --git a/src/share/vm/oops/cpCacheKlass.hpp b/src/share/vm/oops/cpCacheKlass.hpp
index f790e1637..a3f6f3ecc 100644
--- a/src/share/vm/oops/cpCacheKlass.hpp
+++ b/src/share/vm/oops/cpCacheKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OOPS_CPCACHEKLASS_HPP
+#define SHARE_VM_OOPS_CPCACHEKLASS_HPP
+
+#include "oops/arrayKlass.hpp"
+#include "oops/cpCacheOop.hpp"
+#include "oops/instanceKlass.hpp"
+
class constantPoolCacheKlass: public Klass {
juint _alloc_size; // allocation profiling support
public:
@@ -69,3 +76,5 @@ class constantPoolCacheKlass: public Klass {
const char* internal_name() const;
void oop_verify_on(oop obj, outputStream* st);
};
+
+#endif // SHARE_VM_OOPS_CPCACHEKLASS_HPP
diff --git a/src/share/vm/oops/cpCacheOop.cpp b/src/share/vm/oops/cpCacheOop.cpp
index c49c934dc..e627a250b 100644
--- a/src/share/vm/oops/cpCacheOop.cpp
+++ b/src/share/vm/oops/cpCacheOop.cpp
@@ -22,8 +22,16 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_cpCacheOop.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/rewriter.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/cpCacheOop.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiRedefineClassesTrace.hpp"
+#include "runtime/handles.inline.hpp"
// Implememtation of ConstantPoolCacheEntry
diff --git a/src/share/vm/oops/cpCacheOop.hpp b/src/share/vm/oops/cpCacheOop.hpp
index 4b9036965..e18063425 100644
--- a/src/share/vm/oops/cpCacheOop.hpp
+++ b/src/share/vm/oops/cpCacheOop.hpp
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OOPS_CPCACHEOOP_HPP
+#define SHARE_VM_OOPS_CPCACHEOOP_HPP
+
+#include "interpreter/bytecodes.hpp"
+#include "memory/allocation.hpp"
+#include "oops/arrayOop.hpp"
+#include "utilities/array.hpp"
+
// A ConstantPoolCacheEntry describes an individual entry of the constant
// pool cache. There's 2 principal kinds of entries: field entries for in-
// stance & static field access, and method entries for invokes. Some of
@@ -406,3 +414,5 @@ class constantPoolCacheOopDesc: public oopDesc {
void adjust_method_entries(methodOop* old_methods, methodOop* new_methods,
int methods_length, bool * trace_name_printed);
};
+
+#endif // SHARE_VM_OOPS_CPCACHEOOP_HPP
diff --git a/src/share/vm/oops/generateOopMap.cpp b/src/share/vm/oops/generateOopMap.cpp
index e48ba1ee6..4d78ca2a8 100644
--- a/src/share/vm/oops/generateOopMap.cpp
+++ b/src/share/vm/oops/generateOopMap.cpp
@@ -22,6 +22,16 @@
*
*/
+#include "precompiled.hpp"
+#include "interpreter/bytecodeStream.hpp"
+#include "oops/generateOopMap.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/relocator.hpp"
+#include "utilities/bitMap.inline.hpp"
+
//
//
// Compute stack layouts for each instruction in method.
@@ -85,9 +95,6 @@
//
// (Note this comment is borrowed form the original author of the algorithm)
-#include "incls/_precompiled.incl"
-#include "incls/_generateOopMap.cpp.incl"
-
// ComputeCallStack
//
// Specialization of SignatureIterator - compute the effects of a call
diff --git a/src/share/vm/oops/generateOopMap.hpp b/src/share/vm/oops/generateOopMap.hpp
index 1302e9225..b6c35f768 100644
--- a/src/share/vm/oops/generateOopMap.hpp
+++ b/src/share/vm/oops/generateOopMap.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_OOPS_GENERATEOOPMAP_HPP
+#define SHARE_VM_OOPS_GENERATEOOPMAP_HPP
+
+#include "interpreter/bytecodeStream.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oopsHierarchy.hpp"
+#include "runtime/signature.hpp"
+
// Forward definition
class MethodOopMap;
class GenerateOopMap;
@@ -557,3 +567,5 @@ class GeneratePairingInfo: public GenerateOopMap {
// Call compute_map(CHECK) to generate info.
};
+
+#endif // SHARE_VM_OOPS_GENERATEOOPMAP_HPP
diff --git a/src/share/vm/oops/instanceKlass.cpp b/src/share/vm/oops/instanceKlass.cpp
index a82b711f0..46b220019 100644
--- a/src/share/vm/oops/instanceKlass.cpp
+++ b/src/share/vm/oops/instanceKlass.cpp
@@ -22,8 +22,56 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_instanceKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/verifier.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "compiler/compileBroker.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "interpreter/rewriter.hpp"
+#include "jvmtifiles/jvmti.h"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/permGen.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/instanceOop.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/objArrayKlassKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/jvmtiRedefineClassesTrace.hpp"
+#include "runtime/fieldDescriptor.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "services/threadService.hpp"
+#include "utilities/dtrace.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+#ifndef SERIALGC
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1OopClosures.inline.hpp"
+#include "gc_implementation/g1/g1RemSet.inline.hpp"
+#include "gc_implementation/g1/heapRegionSeq.inline.hpp"
+#include "gc_implementation/parNew/parOopClosures.inline.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.inline.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#endif
+#ifdef COMPILER1
+#include "c1/c1_Compiler.hpp"
+#endif
#ifdef DTRACE_ENABLED
diff --git a/src/share/vm/oops/instanceKlass.hpp b/src/share/vm/oops/instanceKlass.hpp
index 234e4830a..d37a60a7f 100644
--- a/src/share/vm/oops/instanceKlass.hpp
+++ b/src/share/vm/oops/instanceKlass.hpp
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_OOPS_INSTANCEKLASS_HPP
+#define SHARE_VM_OOPS_INSTANCEKLASS_HPP
+
+#include "oops/constMethodOop.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/instanceOop.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/klassVtable.hpp"
+#include "oops/objArrayOop.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/os.hpp"
+#include "utilities/accessFlags.hpp"
+#include "utilities/bitMap.inline.hpp"
+
// An instanceKlass is the VM level representation of a Java class.
// It contains all information needed for at class at execution runtime.
@@ -1017,3 +1031,5 @@ class PreviousVersionWalker : public StackObj {
// of the klass. Returns NULL if there are no more previous versions.
PreviousVersionInfo* next_previous_version();
};
+
+#endif // SHARE_VM_OOPS_INSTANCEKLASS_HPP
diff --git a/src/share/vm/oops/instanceKlassKlass.cpp b/src/share/vm/oops/instanceKlassKlass.cpp
index 74268925e..e273f6251 100644
--- a/src/share/vm/oops/instanceKlassKlass.cpp
+++ b/src/share/vm/oops/instanceKlassKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,32 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_instanceKlassKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "memory/gcLocker.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/instanceKlassKlass.hpp"
+#include "oops/instanceRefKlass.hpp"
+#include "oops/objArrayKlassKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "oops/symbolOop.hpp"
+#include "oops/typeArrayOop.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/fieldDescriptor.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/parNew/parOopClosures.inline.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.inline.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#include "memory/cardTableRS.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#endif
klassOop instanceKlassKlass::create_klass(TRAPS) {
instanceKlassKlass o;
diff --git a/src/share/vm/oops/instanceKlassKlass.hpp b/src/share/vm/oops/instanceKlassKlass.hpp
index c8fa3ad8c..4e0eb1125 100644
--- a/src/share/vm/oops/instanceKlassKlass.hpp
+++ b/src/share/vm/oops/instanceKlassKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OOPS_INSTANCEKLASSKLASS_HPP
+#define SHARE_VM_OOPS_INSTANCEKLASSKLASS_HPP
+
+#include "oops/klassKlass.hpp"
+
// An instanceKlassKlass is the klass of an instanceKlass
class instanceKlassKlass : public klassKlass {
@@ -83,3 +88,5 @@ private:
bool oop_partially_loaded(oop obj) const;
void oop_set_partially_loaded(oop obj);
};
+
+#endif // SHARE_VM_OOPS_INSTANCEKLASSKLASS_HPP
diff --git a/src/share/vm/oops/instanceOop.cpp b/src/share/vm/oops/instanceOop.cpp
index 47264e5c0..8f58fecce 100644
--- a/src/share/vm/oops/instanceOop.cpp
+++ b/src/share/vm/oops/instanceOop.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,7 +22,7 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_instanceOop.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/instanceOop.hpp"
// <<this page is intentionally left blank>>
diff --git a/src/share/vm/oops/instanceOop.hpp b/src/share/vm/oops/instanceOop.hpp
index e8b6ffb2f..3fbcef861 100644
--- a/src/share/vm/oops/instanceOop.hpp
+++ b/src/share/vm/oops/instanceOop.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OOPS_INSTANCEOOP_HPP
+#define SHARE_VM_OOPS_INSTANCEOOP_HPP
+
+#include "oops/oop.hpp"
+
// An instanceOop is an instance of a Java Class
// Evaluating "new HashTable()" will create an instanceOop.
@@ -43,3 +48,5 @@ class instanceOopDesc : public oopDesc {
(offset-base_in_bytes) < nonstatic_field_size * heapOopSize);
}
};
+
+#endif // SHARE_VM_OOPS_INSTANCEOOP_HPP
diff --git a/src/share/vm/oops/instanceRefKlass.cpp b/src/share/vm/oops/instanceRefKlass.cpp
index 022827f30..ff321b720 100644
--- a/src/share/vm/oops/instanceRefKlass.cpp
+++ b/src/share/vm/oops/instanceRefKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,27 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_instanceRefKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "oops/instanceRefKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "utilities/preserveException.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1OopClosures.inline.hpp"
+#include "gc_implementation/g1/g1RemSet.inline.hpp"
+#include "gc_implementation/g1/heapRegionSeq.inline.hpp"
+#include "gc_implementation/parNew/parOopClosures.inline.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.inline.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#endif
template <class T>
static void specialized_oop_follow_contents(instanceRefKlass* ref, oop obj) {
diff --git a/src/share/vm/oops/instanceRefKlass.hpp b/src/share/vm/oops/instanceRefKlass.hpp
index c335f80e5..c3513e537 100644
--- a/src/share/vm/oops/instanceRefKlass.hpp
+++ b/src/share/vm/oops/instanceRefKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OOPS_INSTANCEREFKLASS_HPP
+#define SHARE_VM_OOPS_INSTANCEREFKLASS_HPP
+
+#include "oops/instanceKlass.hpp"
+
// An instanceRefKlass is a specialized instanceKlass for Java
// classes that are subclasses of java/lang/ref/Reference.
//
@@ -93,3 +98,5 @@ class instanceRefKlass: public instanceKlass {
// Verification
void oop_verify_on(oop obj, outputStream* st);
};
+
+#endif // SHARE_VM_OOPS_INSTANCEREFKLASS_HPP
diff --git a/src/share/vm/oops/klass.cpp b/src/share/vm/oops/klass.cpp
index 2b6dc261e..7c16ce2ba 100644
--- a/src/share/vm/oops/klass.cpp
+++ b/src/share/vm/oops/klass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,18 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_klass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/klass.inline.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "runtime/atomic.hpp"
bool Klass::is_subclass_of(klassOop k) const {
diff --git a/src/share/vm/oops/klass.hpp b/src/share/vm/oops/klass.hpp
index ca4571b9b..46ce42eab 100644
--- a/src/share/vm/oops/klass.hpp
+++ b/src/share/vm/oops/klass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,24 @@
*
*/
+#ifndef SHARE_VM_OOPS_KLASS_HPP
+#define SHARE_VM_OOPS_KLASS_HPP
+
+#include "memory/genOopClosures.hpp"
+#include "memory/iterator.hpp"
+#include "memory/memRegion.hpp"
+#include "memory/specialized_oop_closures.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/klassPS.hpp"
+#include "oops/oop.hpp"
+#include "runtime/orderAccess.hpp"
+#include "utilities/accessFlags.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp"
+#include "gc_implementation/g1/g1OopClosures.hpp"
+#include "gc_implementation/parNew/parOopClosures.hpp"
+#endif
+
// A Klass is the part of the klassOop that provides:
// 1: language level class object (method dictionary etc.)
// 2: provide vm dispatch behavior for the object
@@ -792,3 +810,5 @@ class Klass : public Klass_vtbl {
void verify_vtable_index(int index);
#endif
};
+
+#endif // SHARE_VM_OOPS_KLASS_HPP
diff --git a/src/share/vm/oops/klass.inline.hpp b/src/share/vm/oops/klass.inline.hpp
index f3f256e1b..3eb62afe8 100644
--- a/src/share/vm/oops/klass.inline.hpp
+++ b/src/share/vm/oops/klass.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,7 +22,15 @@
*
*/
+#ifndef SHARE_VM_OOPS_KLASS_INLINE_HPP
+#define SHARE_VM_OOPS_KLASS_INLINE_HPP
+
+#include "oops/klass.hpp"
+#include "oops/markOop.hpp"
+
inline void Klass::set_prototype_header(markOop header) {
assert(!header->has_bias_pattern() || oop_is_instance(), "biased locking currently only supported for Java instances");
_prototype_header = header;
}
+
+#endif // SHARE_VM_OOPS_KLASS_INLINE_HPP
diff --git a/src/share/vm/oops/klassKlass.cpp b/src/share/vm/oops/klassKlass.cpp
index b1f0225d7..0d26d8156 100644
--- a/src/share/vm/oops/klassKlass.cpp
+++ b/src/share/vm/oops/klassKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,28 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_klassKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/permGen.hpp"
+#include "oops/constantPoolKlass.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/instanceOop.hpp"
+#include "oops/klassKlass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/methodKlass.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "oops/symbolKlass.hpp"
+#include "oops/symbolOop.hpp"
+#include "oops/typeArrayKlass.hpp"
+#include "runtime/handles.inline.hpp"
+#ifndef SERIALGC
+#include "oops/oop.pcgc.inline.hpp"
+#endif
int klassKlass::oop_size(oop obj) const {
assert (obj->is_klass(), "must be a klassOop");
diff --git a/src/share/vm/oops/klassKlass.hpp b/src/share/vm/oops/klassKlass.hpp
index 168e8daad..c1e2d5187 100644
--- a/src/share/vm/oops/klassKlass.hpp
+++ b/src/share/vm/oops/klassKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OOPS_KLASSKLASS_HPP
+#define SHARE_VM_OOPS_KLASSKLASS_HPP
+
+#include "memory/oopFactory.hpp"
+#include "oops/klass.hpp"
+#include "oops/klassOop.hpp"
+
// A klassKlass serves as the fix point of the klass chain.
// The klass of klassKlass is itself.
@@ -75,3 +82,5 @@ class klassKlass: public Klass {
const char* internal_name() const;
void oop_verify_on(oop obj, outputStream* st);
};
+
+#endif // SHARE_VM_OOPS_KLASSKLASS_HPP
diff --git a/src/share/vm/oops/klassOop.cpp b/src/share/vm/oops/klassOop.cpp
index e92d201df..22c010784 100644
--- a/src/share/vm/oops/klassOop.cpp
+++ b/src/share/vm/oops/klassOop.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,5 +22,6 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_klassOop.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/klassOop.hpp"
+
diff --git a/src/share/vm/oops/klassOop.hpp b/src/share/vm/oops/klassOop.hpp
index 68d2c6dec..bc6e2bb36 100644
--- a/src/share/vm/oops/klassOop.hpp
+++ b/src/share/vm/oops/klassOop.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OOPS_KLASSOOP_HPP
+#define SHARE_VM_OOPS_KLASSOOP_HPP
+
+#include "oops/oop.hpp"
+
// A klassOop is the C++ equivalent of a Java class.
// Part of a klassOopDesc is a Klass which handle the
// dispatching for the C++ method calls.
@@ -42,3 +47,5 @@ class klassOopDesc : public oopDesc {
// returns the Klass part containing dispatching behavior
Klass* klass_part() { return (Klass*)((address)this + klass_part_offset_in_bytes()); }
};
+
+#endif // SHARE_VM_OOPS_KLASSOOP_HPP
diff --git a/src/share/vm/oops/klassPS.hpp b/src/share/vm/oops/klassPS.hpp
index 6c02905db..fa898b070 100644
--- a/src/share/vm/oops/klassPS.hpp
+++ b/src/share/vm/oops/klassPS.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -21,8 +21,9 @@
* questions.
*
*/
-#ifndef KLASS_PS_H
-#define KLASS_PS_H
+
+#ifndef SHARE_VM_OOPS_KLASSPS_HPP
+#define SHARE_VM_OOPS_KLASSPS_HPP
// Expands to Parallel Scavenge and Parallel Old declarations
@@ -52,4 +53,4 @@
#define PARALLEL_GC_DECLS_PV
#endif // SERIALGC
-#endif // KLASS_PS_H
+#endif // SHARE_VM_OOPS_KLASSPS_HPP
diff --git a/src/share/vm/oops/klassVtable.cpp b/src/share/vm/oops/klassVtable.cpp
index 3631b7ec7..15933915c 100644
--- a/src/share/vm/oops/klassVtable.cpp
+++ b/src/share/vm/oops/klassVtable.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,23 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_klassVtable.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/klassVtable.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiRedefineClassesTrace.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/handles.inline.hpp"
+#include "utilities/copy.hpp"
inline instanceKlass* klassVtable::ik() const {
Klass* k = _klass()->klass_part();
diff --git a/src/share/vm/oops/klassVtable.hpp b/src/share/vm/oops/klassVtable.hpp
index d8e503d64..058643771 100644
--- a/src/share/vm/oops/klassVtable.hpp
+++ b/src/share/vm/oops/klassVtable.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OOPS_KLASSVTABLE_HPP
+#define SHARE_VM_OOPS_KLASSVTABLE_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/oopsHierarchy.hpp"
+#include "runtime/handles.hpp"
+#include "utilities/growableArray.hpp"
+
// A klassVtable abstracts the variable-length vtable that is embedded in instanceKlass
// and arrayKlass. klassVtable objects are used just as convenient transient accessors to the vtable,
// not to actually hold the vtable data.
@@ -319,3 +327,5 @@ class klassItable : public ResourceObj {
static void update_stats(int size) PRODUCT_RETURN NOT_PRODUCT({ _total_classes++; _total_size += size; })
};
+
+#endif // SHARE_VM_OOPS_KLASSVTABLE_HPP
diff --git a/src/share/vm/oops/markOop.cpp b/src/share/vm/oops/markOop.cpp
index d3c43d1e2..5be365e72 100644
--- a/src/share/vm/oops/markOop.cpp
+++ b/src/share/vm/oops/markOop.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_markOop.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/markOop.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
void markOopDesc::print_on(outputStream* st) const {
diff --git a/src/share/vm/oops/markOop.hpp b/src/share/vm/oops/markOop.hpp
index 5ca46dd88..20b643d03 100644
--- a/src/share/vm/oops/markOop.hpp
+++ b/src/share/vm/oops/markOop.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OOPS_MARKOOP_HPP
+#define SHARE_VM_OOPS_MARKOOP_HPP
+
+#include "oops/oop.hpp"
+
// The markOop describes the header of an object.
//
// Note that the mark is not a real oop but just a word.
@@ -406,3 +411,5 @@ class markOopDesc: public oopDesc {
}
#endif // _LP64
};
+
+#endif // SHARE_VM_OOPS_MARKOOP_HPP
diff --git a/src/share/vm/oops/markOop.inline.hpp b/src/share/vm/oops/markOop.inline.hpp
index 624c146b6..6e82ada2c 100644
--- a/src/share/vm/oops/markOop.inline.hpp
+++ b/src/share/vm/oops/markOop.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OOPS_MARKOOP_INLINE_HPP
+#define SHARE_VM_OOPS_MARKOOP_INLINE_HPP
+
+#include "oops/klass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/markOop.hpp"
+#include "runtime/globals.hpp"
+
// Should this header be preserved during GC?
inline bool markOopDesc::must_be_preserved_with_bias(oop obj_containing_mark) const {
assert(UseBiasedLocking, "unexpected");
@@ -96,3 +104,5 @@ inline markOop markOopDesc::prototype_for_object(oop obj) {
#endif
return obj->klass()->klass_part()->prototype_header();
}
+
+#endif // SHARE_VM_OOPS_MARKOOP_INLINE_HPP
diff --git a/src/share/vm/oops/methodDataKlass.cpp b/src/share/vm/oops/methodDataKlass.cpp
index e11f6afd6..500dd7726 100644
--- a/src/share/vm/oops/methodDataKlass.cpp
+++ b/src/share/vm/oops/methodDataKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,8 +22,22 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_methodDataKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/methodDataKlass.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "runtime/handles.inline.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#endif
klassOop methodDataKlass::create_klass(TRAPS) {
methodDataKlass o;
diff --git a/src/share/vm/oops/methodDataKlass.hpp b/src/share/vm/oops/methodDataKlass.hpp
index a92f4176b..b6279b290 100644
--- a/src/share/vm/oops/methodDataKlass.hpp
+++ b/src/share/vm/oops/methodDataKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OOPS_METHODDATAKLASS_HPP
+#define SHARE_VM_OOPS_METHODDATAKLASS_HPP
+
+#include "oops/klass.hpp"
+
// a methodDataKlass is the klass of a methodDataOop
class methodDataKlass : public Klass {
@@ -82,3 +87,5 @@ class methodDataKlass : public Klass {
const char* internal_name() const;
void oop_verify_on(oop obj, outputStream* st);
};
+
+#endif // SHARE_VM_OOPS_METHODDATAKLASS_HPP
diff --git a/src/share/vm/oops/methodDataOop.cpp b/src/share/vm/oops/methodDataOop.cpp
index 3de63339a..c69ab0af4 100644
--- a/src/share/vm/oops/methodDataOop.cpp
+++ b/src/share/vm/oops/methodDataOop.cpp
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_methodDataOop.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "interpreter/bytecode.hpp"
+#include "interpreter/bytecodeStream.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/handles.inline.hpp"
// ==================================================================
// DataLayout
diff --git a/src/share/vm/oops/methodDataOop.hpp b/src/share/vm/oops/methodDataOop.hpp
index 71daacb4c..a3f649489 100644
--- a/src/share/vm/oops/methodDataOop.hpp
+++ b/src/share/vm/oops/methodDataOop.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_OOPS_METHODDATAOOP_HPP
+#define SHARE_VM_OOPS_METHODDATAOOP_HPP
+
+#include "interpreter/bytecodes.hpp"
+#include "memory/universe.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.hpp"
+#include "runtime/orderAccess.hpp"
+
class BytecodeStream;
// The MethodData object collects counts and other profile information
@@ -1490,3 +1499,5 @@ public:
// verification
void verify_data_on(outputStream* st);
};
+
+#endif // SHARE_VM_OOPS_METHODDATAOOP_HPP
diff --git a/src/share/vm/oops/methodKlass.cpp b/src/share/vm/oops/methodKlass.cpp
index 29e772eed..9afbf33fb 100644
--- a/src/share/vm/oops/methodKlass.cpp
+++ b/src/share/vm/oops/methodKlass.cpp
@@ -22,8 +22,22 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_methodKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/constMethodKlass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/methodKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/handles.inline.hpp"
klassOop methodKlass::create_klass(TRAPS) {
methodKlass o;
diff --git a/src/share/vm/oops/methodKlass.hpp b/src/share/vm/oops/methodKlass.hpp
index ee87c4857..b2f4da050 100644
--- a/src/share/vm/oops/methodKlass.hpp
+++ b/src/share/vm/oops/methodKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OOPS_METHODKLASS_HPP
+#define SHARE_VM_OOPS_METHODKLASS_HPP
+
+#include "oops/klass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/methodOop.hpp"
+
// a methodKlass is the klass of a methodOop
class methodKlass : public Klass {
@@ -81,3 +88,5 @@ class methodKlass : public Klass {
bool oop_partially_loaded(oop obj) const;
void oop_set_partially_loaded(oop obj);
};
+
+#endif // SHARE_VM_OOPS_METHODKLASS_HPP
diff --git a/src/share/vm/oops/methodOop.cpp b/src/share/vm/oops/methodOop.cpp
index 89a99c987..b68b15755 100644
--- a/src/share/vm/oops/methodOop.cpp
+++ b/src/share/vm/oops/methodOop.cpp
@@ -22,8 +22,34 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_methodOop.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/debugInfoRec.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/bytecodeStream.hpp"
+#include "interpreter/bytecodeTracer.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/generation.hpp"
+#include "memory/oopFactory.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/methodHandleWalk.hpp"
+#include "prims/nativeLookup.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/relocator.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/signature.hpp"
+#include "utilities/xmlstream.hpp"
// Implementation of methodOopDesc
diff --git a/src/share/vm/oops/methodOop.hpp b/src/share/vm/oops/methodOop.hpp
index 9ae2ca907..84029431c 100644
--- a/src/share/vm/oops/methodOop.hpp
+++ b/src/share/vm/oops/methodOop.hpp
@@ -22,6 +22,21 @@
*
*/
+#ifndef SHARE_VM_OOPS_METHODOOP_HPP
+#define SHARE_VM_OOPS_METHODOOP_HPP
+
+#include "classfile/vmSymbols.hpp"
+#include "code/compressedStream.hpp"
+#include "compiler/oopMap.hpp"
+#include "interpreter/invocationCounter.hpp"
+#include "oops/constMethodOop.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/oop.hpp"
+#include "oops/typeArrayOop.hpp"
+#include "utilities/accessFlags.hpp"
+#include "utilities/growableArray.hpp"
+
// A methodOop represents a Java method.
//
// Memory layout (each line represents a word). Note that most applications load thousands of methods,
@@ -784,3 +799,5 @@ class BreakpointInfo : public CHeapObj {
void set(methodOop method);
void clear(methodOop method);
};
+
+#endif // SHARE_VM_OOPS_METHODOOP_HPP
diff --git a/src/share/vm/oops/objArrayKlass.cpp b/src/share/vm/oops/objArrayKlass.cpp
index a932a117d..3233a4d22 100644
--- a/src/share/vm/oops/objArrayKlass.cpp
+++ b/src/share/vm/oops/objArrayKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,36 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_objArrayKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/genOopClosures.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/objArrayKlass.inline.hpp"
+#include "oops/objArrayKlassKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "utilities/copy.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1OopClosures.inline.hpp"
+#include "gc_implementation/g1/g1RemSet.inline.hpp"
+#include "gc_implementation/g1/heapRegionSeq.inline.hpp"
+#include "gc_implementation/parNew/parOopClosures.inline.hpp"
+#include "gc_implementation/parallelScavenge/psCompactionManager.hpp"
+#include "gc_implementation/parallelScavenge/psPromotionManager.inline.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#include "oops/oop.pcgc.inline.hpp"
+#endif
int objArrayKlass::oop_size(oop obj) const {
assert(obj->is_objArray(), "must be object array");
diff --git a/src/share/vm/oops/objArrayKlass.hpp b/src/share/vm/oops/objArrayKlass.hpp
index 7b36b7885..023f221ab 100644
--- a/src/share/vm/oops/objArrayKlass.hpp
+++ b/src/share/vm/oops/objArrayKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OOPS_OBJARRAYKLASS_HPP
+#define SHARE_VM_OOPS_OBJARRAYKLASS_HPP
+
+#include "memory/specialized_oop_closures.hpp"
+#include "oops/arrayKlass.hpp"
+#include "oops/instanceKlass.hpp"
+
// objArrayKlass is the klass for objArrays
class objArrayKlass : public arrayKlass {
@@ -140,3 +147,5 @@ class objArrayKlass : public arrayKlass {
void oop_verify_old_oop(oop obj, oop* p, bool allow_dirty);
void oop_verify_old_oop(oop obj, narrowOop* p, bool allow_dirty);
};
+
+#endif // SHARE_VM_OOPS_OBJARRAYKLASS_HPP
diff --git a/src/share/vm/oops/objArrayKlass.inline.hpp b/src/share/vm/oops/objArrayKlass.inline.hpp
index 58709c10f..ca08a4d9f 100644
--- a/src/share/vm/oops/objArrayKlass.inline.hpp
+++ b/src/share/vm/oops/objArrayKlass.inline.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_OOPS_OBJARRAYKLASS_INLINE_HPP
+#define SHARE_VM_OOPS_OBJARRAYKLASS_INLINE_HPP
+
+#include "oops/objArrayKlass.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/parallelScavenge/psCompactionManager.inline.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#endif
+
void objArrayKlass::oop_follow_contents(oop obj, int index) {
if (UseCompressedOops) {
objarray_follow_contents<narrowOop>(obj, index);
@@ -87,3 +96,5 @@ void objArrayKlass::objarray_follow_contents(ParCompactionManager* cm, oop obj,
}
}
#endif // #ifndef SERIALGC
+
+#endif // SHARE_VM_OOPS_OBJARRAYKLASS_INLINE_HPP
diff --git a/src/share/vm/oops/objArrayKlassKlass.cpp b/src/share/vm/oops/objArrayKlassKlass.cpp
index 7050d57b1..324de7995 100644
--- a/src/share/vm/oops/objArrayKlassKlass.cpp
+++ b/src/share/vm/oops/objArrayKlassKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,15 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_objArrayKlassKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/objArrayKlassKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
klassOop objArrayKlassKlass::create_klass(TRAPS) {
objArrayKlassKlass o;
diff --git a/src/share/vm/oops/objArrayKlassKlass.hpp b/src/share/vm/oops/objArrayKlassKlass.hpp
index d6ddc1da4..3de47ed80 100644
--- a/src/share/vm/oops/objArrayKlassKlass.hpp
+++ b/src/share/vm/oops/objArrayKlassKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_OOPS_OBJARRAYKLASSKLASS_HPP
+#define SHARE_VM_OOPS_OBJARRAYKLASSKLASS_HPP
+
+#include "oops/arrayKlassKlass.hpp"
+#include "oops/objArrayKlass.hpp"
+
// The objArrayKlassKlass is klass for all objArrayKlass'
class objArrayKlassKlass : public arrayKlassKlass {
@@ -76,3 +82,5 @@ class objArrayKlassKlass : public arrayKlassKlass {
void oop_verify_on(oop obj, outputStream* st);
};
+
+#endif // SHARE_VM_OOPS_OBJARRAYKLASSKLASS_HPP
diff --git a/src/share/vm/oops/objArrayOop.cpp b/src/share/vm/oops/objArrayOop.cpp
index e169a1e92..b93371f92 100644
--- a/src/share/vm/oops/objArrayOop.cpp
+++ b/src/share/vm/oops/objArrayOop.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_objArrayOop.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
#define ObjArrayOop_OOP_ITERATE_DEFN(OopClosureType, nv_suffix) \
\
diff --git a/src/share/vm/oops/objArrayOop.hpp b/src/share/vm/oops/objArrayOop.hpp
index e0956dc67..8de8728d0 100644
--- a/src/share/vm/oops/objArrayOop.hpp
+++ b/src/share/vm/oops/objArrayOop.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OOPS_OBJARRAYOOP_HPP
+#define SHARE_VM_OOPS_OBJARRAYOOP_HPP
+
+#include "oops/arrayOop.hpp"
+
// An objArrayOop is an array containing oops.
// Evaluating "String arg[10]" will create an objArrayOop.
@@ -110,3 +115,5 @@ private:
ALL_OOP_OOP_ITERATE_CLOSURES_1(ObjArrayOop_OOP_ITERATE_DECL)
ALL_OOP_OOP_ITERATE_CLOSURES_2(ObjArrayOop_OOP_ITERATE_DECL)
};
+
+#endif // SHARE_VM_OOPS_OBJARRAYOOP_HPP
diff --git a/src/share/vm/oops/oop.cpp b/src/share/vm/oops/oop.cpp
index ff7c78a50..d8fa9b023 100644
--- a/src/share/vm/oops/oop.cpp
+++ b/src/share/vm/oops/oop.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,20 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_oop.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "utilities/copy.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
bool always_do_update_barrier = false;
diff --git a/src/share/vm/oops/oop.hpp b/src/share/vm/oops/oop.hpp
index 04d311804..3ef043ceb 100644
--- a/src/share/vm/oops/oop.hpp
+++ b/src/share/vm/oops/oop.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OOPS_OOP_HPP
+#define SHARE_VM_OOPS_OOP_HPP
+
+#include "memory/iterator.hpp"
+#include "memory/memRegion.hpp"
+#include "memory/specialized_oop_closures.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++.
// oopDesc is abstract.
@@ -30,12 +38,12 @@
// no virtual functions allowed
// store into oop with store check
-template <class T> inline void oop_store(T* p, oop v);
-template <class T> inline void oop_store(volatile T* p, oop v);
+template <class T> void oop_store(T* p, oop v);
+template <class T> void oop_store(volatile T* p, oop v);
// store into oop without store check
-template <class T> inline void oop_store_without_check(T* p, oop v);
-template <class T> inline void oop_store_without_check(volatile T* p, oop v);
+template <class T> void oop_store_without_check(T* p, oop v);
+template <class T> void oop_store_without_check(volatile T* p, oop v);
extern bool always_do_update_barrier;
@@ -403,3 +411,5 @@ class oopDesc {
static int klass_offset_in_bytes() { return offset_of(oopDesc, _metadata._klass); }
static int klass_gap_offset_in_bytes();
};
+
+#endif // SHARE_VM_OOPS_OOP_HPP
diff --git a/src/share/vm/oops/oop.inline.hpp b/src/share/vm/oops/oop.inline.hpp
index dc3245d58..25b078b4c 100644
--- a/src/share/vm/oops/oop.inline.hpp
+++ b/src/share/vm/oops/oop.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,37 @@
*
*/
+#ifndef SHARE_VM_OOPS_OOP_INLINE_HPP
+#define SHARE_VM_OOPS_OOP_INLINE_HPP
+
+#include "gc_implementation/shared/ageTable.hpp"
+#include "gc_implementation/shared/markSweep.inline.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/barrierSet.inline.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "memory/compactingPermGenGen.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/generation.hpp"
+#include "memory/permGen.hpp"
+#include "memory/specialized_oop_closures.hpp"
+#include "oops/arrayKlass.hpp"
+#include "oops/arrayOop.hpp"
+#include "oops/klass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/markOop.inline.hpp"
+#include "oops/oop.hpp"
+#include "runtime/atomic.hpp"
+#include "runtime/os.hpp"
+#ifdef TARGET_ARCH_x86
+# include "bytes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytes_zero.hpp"
+#endif
+
// Implementation of all inlined member functions defined in oop.hpp
// We need a separate file to avoid circular references
@@ -746,3 +777,5 @@ inline bool oopDesc::is_shared_readonly() const {
inline bool oopDesc::is_shared_readwrite() const {
return CompactingPermGenGen::is_shared_readwrite(this);
}
+
+#endif // SHARE_VM_OOPS_OOP_INLINE_HPP
diff --git a/src/share/vm/oops/oop.inline2.hpp b/src/share/vm/oops/oop.inline2.hpp
index 4884a0c5c..448feb4b1 100644
--- a/src/share/vm/oops/oop.inline2.hpp
+++ b/src/share/vm/oops/oop.inline2.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_OOPS_OOP_INLINE2_HPP
+#define SHARE_VM_OOPS_OOP_INLINE2_HPP
+
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/generation.hpp"
+#include "memory/permGen.hpp"
+#include "memory/universe.hpp"
+#include "oops/oop.hpp"
+
// Implementation of all inlined member functions defined in oop.hpp
// We need a separate file to avoid circular references
@@ -38,3 +47,5 @@ inline bool oopDesc::is_perm_or_null() const {
inline bool oopDesc::is_scavengable() const {
return Universe::heap()->is_scavengable(this);
}
+
+#endif // SHARE_VM_OOPS_OOP_INLINE2_HPP
diff --git a/src/share/vm/oops/oop.pcgc.inline.hpp b/src/share/vm/oops/oop.pcgc.inline.hpp
index 624550370..22f290f43 100644
--- a/src/share/vm/oops/oop.pcgc.inline.hpp
+++ b/src/share/vm/oops/oop.pcgc.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_OOPS_OOP_PCGC_INLINE_HPP
+#define SHARE_VM_OOPS_OOP_PCGC_INLINE_HPP
+
+#ifndef SERIALGC
+#include "gc_implementation/parNew/parNewGeneration.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psCompactionManager.hpp"
+#include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#endif
+
inline void oopDesc::update_contents(ParCompactionManager* cm) {
// The klass field must be updated before anything else
// can be done.
@@ -133,3 +145,5 @@ inline void oopDesc::update_header(HeapWord* beg_addr, HeapWord* end_addr) {
PSParallelCompact::adjust_pointer(klass_addr(), beg_addr, end_addr);
}
}
+
+#endif // SHARE_VM_OOPS_OOP_PCGC_INLINE_HPP
diff --git a/src/share/vm/oops/oop.psgc.inline.hpp b/src/share/vm/oops/oop.psgc.inline.hpp
index 40d40a372..94fd6400d 100644
--- a/src/share/vm/oops/oop.psgc.inline.hpp
+++ b/src/share/vm/oops/oop.psgc.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_OOPS_OOP_PSGC_INLINE_HPP
+#define SHARE_VM_OOPS_OOP_PSGC_INLINE_HPP
+
+#ifndef SERIALGC
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#endif
+
// ParallelScavengeHeap methods
inline void oopDesc::push_contents(PSPromotionManager* pm) {
@@ -32,3 +41,5 @@ inline void oopDesc::push_contents(PSPromotionManager* pm) {
}
// Else skip it. The typeArrayKlass in the header never needs scavenging.
}
+
+#endif // SHARE_VM_OOPS_OOP_PSGC_INLINE_HPP
diff --git a/src/share/vm/oops/oopsHierarchy.cpp b/src/share/vm/oops/oopsHierarchy.cpp
index 2fd96b481..950980673 100644
--- a/src/share/vm/oops/oopsHierarchy.cpp
+++ b/src/share/vm/oops/oopsHierarchy.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,21 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_oopsHierarchy.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "oops/oopsHierarchy.hpp"
+#include "runtime/thread.hpp"
+#include "utilities/globalDefinitions.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
#ifdef CHECK_UNHANDLED_OOPS
diff --git a/src/share/vm/oops/oopsHierarchy.hpp b/src/share/vm/oops/oopsHierarchy.hpp
index 7a7613e47..4990e0684 100644
--- a/src/share/vm/oops/oopsHierarchy.hpp
+++ b/src/share/vm/oops/oopsHierarchy.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_OOPS_OOPSHIERARCHY_HPP
+#define SHARE_VM_OOPS_OOPSHIERARCHY_HPP
+
+#include "runtime/globals.hpp"
+#include "utilities/globalDefinitions.hpp"
+
// OBJECT hierarchy
// This hierarchy is a representation hierarchy, i.e. if A is a superclass
// of B, A's representation is a prefix of B's representation.
@@ -186,3 +192,5 @@ class constantPoolKlass;
class constantPoolCacheKlass;
class symbolKlass;
class compiledICHolderKlass;
+
+#endif // SHARE_VM_OOPS_OOPSHIERARCHY_HPP
diff --git a/src/share/vm/oops/symbolKlass.cpp b/src/share/vm/oops/symbolKlass.cpp
index e3806db12..a569725e4 100644
--- a/src/share/vm/oops/symbolKlass.cpp
+++ b/src/share/vm/oops/symbolKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_symbolKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "memory/gcLocker.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolKlass.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/handles.inline.hpp"
symbolOop symbolKlass::allocate_symbol(u1* name, int len, TRAPS) {
// Don't allow symbol oops to be created which cannot fit in a symbolOop.
diff --git a/src/share/vm/oops/symbolKlass.hpp b/src/share/vm/oops/symbolKlass.hpp
index fca98ee7b..852e99701 100644
--- a/src/share/vm/oops/symbolKlass.hpp
+++ b/src/share/vm/oops/symbolKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OOPS_SYMBOLKLASS_HPP
+#define SHARE_VM_OOPS_SYMBOLKLASS_HPP
+
+#include "oops/typeArrayKlass.hpp"
+
// a symbolKlass is the klass for a symbolOop
class symbolKlass : public Klass {
@@ -72,3 +77,5 @@ class symbolKlass : public Klass {
#endif //PRODUCT
const char* internal_name() const;
};
+
+#endif // SHARE_VM_OOPS_SYMBOLKLASS_HPP
diff --git a/src/share/vm/oops/symbolOop.cpp b/src/share/vm/oops/symbolOop.cpp
index caf5ec1f2..c5c825552 100644
--- a/src/share/vm/oops/symbolOop.cpp
+++ b/src/share/vm/oops/symbolOop.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_symbolOop.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
// ------------------------------------------------------------------
diff --git a/src/share/vm/oops/symbolOop.hpp b/src/share/vm/oops/symbolOop.hpp
index fa2f1413e..475397f9a 100644
--- a/src/share/vm/oops/symbolOop.hpp
+++ b/src/share/vm/oops/symbolOop.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_OOPS_SYMBOLOOP_HPP
+#define SHARE_VM_OOPS_SYMBOLOOP_HPP
+
+#include "oops/typeArrayOop.hpp"
+#include "utilities/utf8.hpp"
+
// A symbolOop is a canonicalized string.
// All symbolOops reside in global symbolTable.
// See oopFactory::new_symbol for how to allocate a symbolOop
@@ -129,3 +135,5 @@ int symbolOopDesc::fast_compare(symbolOop other) const {
return (((uintptr_t)this < (uintptr_t)other) ? -1
: ((uintptr_t)this == (uintptr_t) other) ? 0 : 1);
}
+
+#endif // SHARE_VM_OOPS_SYMBOLOOP_HPP
diff --git a/src/share/vm/oops/typeArrayKlass.cpp b/src/share/vm/oops/typeArrayKlass.cpp
index 088960ce0..8d317dff9 100644
--- a/src/share/vm/oops/typeArrayKlass.cpp
+++ b/src/share/vm/oops/typeArrayKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,21 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_typeArrayKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/objArrayKlassKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/typeArrayKlass.hpp"
+#include "oops/typeArrayOop.hpp"
+#include "runtime/handles.inline.hpp"
bool typeArrayKlass::compute_is_subtype_of(klassOop k) {
if (!k->klass_part()->oop_is_typeArray()) {
diff --git a/src/share/vm/oops/typeArrayKlass.hpp b/src/share/vm/oops/typeArrayKlass.hpp
index 693649971..78a26be09 100644
--- a/src/share/vm/oops/typeArrayKlass.hpp
+++ b/src/share/vm/oops/typeArrayKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OOPS_TYPEARRAYKLASS_HPP
+#define SHARE_VM_OOPS_TYPEARRAYKLASS_HPP
+
+#include "oops/arrayKlass.hpp"
+
// A typeArrayKlass is the klass of a typeArray
// It contains the type and size of the elements
@@ -105,3 +110,5 @@ class typeArrayKlass : public arrayKlass {
public:
const char* internal_name() const;
};
+
+#endif // SHARE_VM_OOPS_TYPEARRAYKLASS_HPP
diff --git a/src/share/vm/oops/typeArrayKlassKlass.cpp b/src/share/vm/oops/typeArrayKlassKlass.cpp
index 8d70cd8dc..5deb75f5f 100644
--- a/src/share/vm/oops/typeArrayKlassKlass.cpp
+++ b/src/share/vm/oops/typeArrayKlassKlass.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_typeArrayKlassKlass.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/typeArrayKlassKlass.hpp"
+#include "runtime/handles.inline.hpp"
klassOop typeArrayKlassKlass::create_klass(TRAPS) {
typeArrayKlassKlass o;
diff --git a/src/share/vm/oops/typeArrayKlassKlass.hpp b/src/share/vm/oops/typeArrayKlassKlass.hpp
index 5ef1d39c6..0395fad16 100644
--- a/src/share/vm/oops/typeArrayKlassKlass.hpp
+++ b/src/share/vm/oops/typeArrayKlassKlass.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_OOPS_TYPEARRAYKLASSKLASS_HPP
+#define SHARE_VM_OOPS_TYPEARRAYKLASSKLASS_HPP
+
+#include "oops/arrayKlassKlass.hpp"
+#include "oops/typeArrayKlass.hpp"
+
// A typeArrayKlassKlass is the klass of a typeArrayKlass
class typeArrayKlassKlass : public arrayKlassKlass {
@@ -56,3 +62,5 @@ class typeArrayKlassKlass : public arrayKlassKlass {
const char* internal_name() const;
};
+
+#endif // SHARE_VM_OOPS_TYPEARRAYKLASSKLASS_HPP
diff --git a/src/share/vm/oops/typeArrayOop.cpp b/src/share/vm/oops/typeArrayOop.cpp
index 5025016e5..d3551e0cf 100644
--- a/src/share/vm/oops/typeArrayOop.cpp
+++ b/src/share/vm/oops/typeArrayOop.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,7 +22,8 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_typeArrayOop.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/typeArrayOop.hpp"
// <<this page is intentionally left blank>>
diff --git a/src/share/vm/oops/typeArrayOop.hpp b/src/share/vm/oops/typeArrayOop.hpp
index 004c8a6a5..05d4ef81d 100644
--- a/src/share/vm/oops/typeArrayOop.hpp
+++ b/src/share/vm/oops/typeArrayOop.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,30 @@
*
*/
+#ifndef SHARE_VM_OOPS_TYPEARRAYOOP_HPP
+#define SHARE_VM_OOPS_TYPEARRAYOOP_HPP
+
+#include "oops/arrayOop.hpp"
+#include "oops/typeArrayKlass.hpp"
+#ifdef TARGET_OS_ARCH_linux_x86
+# include "orderAccess_linux_x86.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_sparc
+# include "orderAccess_linux_sparc.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_zero
+# include "orderAccess_linux_zero.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_x86
+# include "orderAccess_solaris_x86.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_sparc
+# include "orderAccess_solaris_sparc.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_windows_x86
+# include "orderAccess_windows_x86.inline.hpp"
+#endif
+
// A typeArrayOop is an array containing basic types (non oop elements).
// It is used for arrays of {characters, singles, doubles, bytes, shorts, integers, longs}
#include <limits.h>
@@ -141,3 +165,5 @@ class typeArrayOopDesc : public arrayOopDesc {
return object_size(tk->layout_helper(), length());
}
};
+
+#endif // SHARE_VM_OOPS_TYPEARRAYOOP_HPP
diff --git a/src/share/vm/opto/addnode.cpp b/src/share/vm/opto/addnode.cpp
index b6d073d5b..33ecf15ba 100644
--- a/src/share/vm/opto/addnode.cpp
+++ b/src/share/vm/opto/addnode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,10 +22,17 @@
*
*/
-// Portions of code courtesy of Clifford Click
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/subnode.hpp"
-#include "incls/_precompiled.incl"
-#include "incls/_addnode.cpp.incl"
+// Portions of code courtesy of Clifford Click
#define MAXFLOAT ((float)3.40282346638528860e+38)
diff --git a/src/share/vm/opto/addnode.hpp b/src/share/vm/opto/addnode.hpp
index cd84acb8f..31aed490e 100644
--- a/src/share/vm/opto/addnode.hpp
+++ b/src/share/vm/opto/addnode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OPTO_ADDNODE_HPP
+#define SHARE_VM_OPTO_ADDNODE_HPP
+
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/type.hpp"
+
// Portions of code courtesy of Clifford Click
class PhaseTransform;
@@ -241,3 +248,5 @@ public:
virtual uint ideal_reg() const { return Op_RegI; }
virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
};
+
+#endif // SHARE_VM_OPTO_ADDNODE_HPP
diff --git a/src/share/vm/opto/adlcVMDeps.hpp b/src/share/vm/opto/adlcVMDeps.hpp
index 6ff5e5107..299728480 100644
--- a/src/share/vm/opto/adlcVMDeps.hpp
+++ b/src/share/vm/opto/adlcVMDeps.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_OPTO_ADLCVMDEPS_HPP
+#define SHARE_VM_OPTO_ADLCVMDEPS_HPP
+
+// adlcVMDeps.hpp is used by both adlc and vm builds.
+// Only include allocation.hpp when we're not building adlc.
+#ifndef SHARE_VM_ADLC_ARENA_HPP
+#include "memory/allocation.hpp"
+#endif
+
// Declare commonly known constant and data structures between the
// ADLC and the VM
//
@@ -42,3 +51,5 @@ class AdlcVMDeps : public AllStatic {
static const char* oop_reloc_type() { return "relocInfo::oop_type"; }
static const char* none_reloc_type() { return "relocInfo::none"; }
};
+
+#endif // SHARE_VM_OPTO_ADLCVMDEPS_HPP
diff --git a/src/share/vm/opto/block.cpp b/src/share/vm/opto/block.cpp
index 1d7a84048..5514b97f8 100644
--- a/src/share/vm/opto/block.cpp
+++ b/src/share/vm/opto/block.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,10 +22,20 @@
*
*/
-// Optimization - Graph Style
+#include "precompiled.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/block.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/chaitin.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/rootnode.hpp"
+#include "utilities/copy.hpp"
-#include "incls/_precompiled.incl"
-#include "incls/_block.cpp.incl"
+// Optimization - Graph Style
//-----------------------------------------------------------------------------
diff --git a/src/share/vm/opto/block.hpp b/src/share/vm/opto/block.hpp
index cc06263f1..bb8781221 100644
--- a/src/share/vm/opto/block.hpp
+++ b/src/share/vm/opto/block.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OPTO_BLOCK_HPP
+#define SHARE_VM_OPTO_BLOCK_HPP
+
+#include "opto/multnode.hpp"
+#include "opto/node.hpp"
+#include "opto/phase.hpp"
+
// Optimization - Graph Style
class Block;
@@ -716,3 +723,5 @@ class PhaseBlockLayout : public Phase {
void reorder_traces(int count);
void union_traces(Trace* from, Trace* to);
};
+
+#endif // SHARE_VM_OPTO_BLOCK_HPP
diff --git a/src/share/vm/opto/buildOopMap.cpp b/src/share/vm/opto/buildOopMap.cpp
index eea0813f2..564fd369a 100644
--- a/src/share/vm/opto/buildOopMap.cpp
+++ b/src/share/vm/opto/buildOopMap.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,25 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_buildOopMap.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/oopMap.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/compile.hpp"
+#include "opto/machnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/phase.hpp"
+#include "opto/regalloc.hpp"
+#include "opto/rootnode.hpp"
+#ifdef TARGET_ARCH_x86
+# include "vmreg_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "vmreg_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "vmreg_zero.inline.hpp"
+#endif
// The functions in this file builds OopMaps after all scheduling is done.
//
diff --git a/src/share/vm/opto/bytecodeInfo.cpp b/src/share/vm/opto/bytecodeInfo.cpp
index ca0a3260f..bb511eb8f 100644
--- a/src/share/vm/opto/bytecodeInfo.cpp
+++ b/src/share/vm/opto/bytecodeInfo.cpp
@@ -22,8 +22,15 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_bytecodeInfo.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "compiler/compileLog.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "opto/callGenerator.hpp"
+#include "opto/parse.hpp"
+#include "runtime/handles.inline.hpp"
//=============================================================================
//------------------------------InlineTree-------------------------------------
diff --git a/src/share/vm/opto/c2_globals.cpp b/src/share/vm/opto/c2_globals.cpp
index 06becbad9..f2925f90e 100644
--- a/src/share/vm/opto/c2_globals.cpp
+++ b/src/share/vm/opto/c2_globals.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,7 +22,7 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_c2_globals.cpp.incl"
+#include "precompiled.hpp"
+#include "opto/c2_globals.hpp"
C2_FLAGS(MATERIALIZE_DEVELOPER_FLAG, MATERIALIZE_PD_DEVELOPER_FLAG, MATERIALIZE_PRODUCT_FLAG, MATERIALIZE_PD_PRODUCT_FLAG, MATERIALIZE_DIAGNOSTIC_FLAG, MATERIALIZE_EXPERIMENTAL_FLAG, MATERIALIZE_NOTPRODUCT_FLAG)
diff --git a/src/share/vm/opto/c2_globals.hpp b/src/share/vm/opto/c2_globals.hpp
index 9b35d5be8..2bdc1a04a 100644
--- a/src/share/vm/opto/c2_globals.hpp
+++ b/src/share/vm/opto/c2_globals.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,26 @@
*
*/
+#ifndef SHARE_VM_OPTO_C2_GLOBALS_HPP
+#define SHARE_VM_OPTO_C2_GLOBALS_HPP
+
+#include "runtime/globals.hpp"
+#ifdef TARGET_ARCH_x86
+# include "c2_globals_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "c2_globals_sparc.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "c2_globals_linux.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "c2_globals_solaris.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "c2_globals_windows.hpp"
+#endif
+
//
// Defines all globals flags used by the server compiler.
//
@@ -438,3 +458,5 @@
"Allow back branches to be fall throughs in the block layour") \
C2_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG)
+
+#endif // SHARE_VM_OPTO_C2_GLOBALS_HPP
diff --git a/src/share/vm/opto/c2compiler.cpp b/src/share/vm/opto/c2compiler.cpp
index 142273b26..889fc4295 100644
--- a/src/share/vm/opto/c2compiler.cpp
+++ b/src/share/vm/opto/c2compiler.cpp
@@ -22,8 +22,21 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_c2compiler.cpp.incl"
+#include "precompiled.hpp"
+#include "opto/c2compiler.hpp"
+#include "opto/runtime.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/ad_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/ad_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/ad_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/ad_zero.hpp"
+#endif
volatile int C2Compiler::_runtimes = uninitialized;
diff --git a/src/share/vm/opto/c2compiler.hpp b/src/share/vm/opto/c2compiler.hpp
index 382fc1633..c25f2ea92 100644
--- a/src/share/vm/opto/c2compiler.hpp
+++ b/src/share/vm/opto/c2compiler.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OPTO_C2COMPILER_HPP
+#define SHARE_VM_OPTO_C2COMPILER_HPP
+
+#include "compiler/abstractCompiler.hpp"
+
class C2Compiler : public AbstractCompiler {
private:
@@ -55,3 +60,5 @@ public:
// Print compilation timers and statistics
void print_timers();
};
+
+#endif // SHARE_VM_OPTO_C2COMPILER_HPP
diff --git a/src/share/vm/opto/callGenerator.cpp b/src/share/vm/opto/callGenerator.cpp
index 6dc9e5c23..5b861bfb2 100644
--- a/src/share/vm/opto/callGenerator.cpp
+++ b/src/share/vm/opto/callGenerator.cpp
@@ -22,8 +22,21 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_callGenerator.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/bcEscapeAnalyzer.hpp"
+#include "ci/ciCPCache.hpp"
+#include "ci/ciMethodHandle.hpp"
+#include "classfile/javaClasses.hpp"
+#include "compiler/compileLog.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callGenerator.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/parse.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "opto/subnode.hpp"
CallGenerator::CallGenerator(ciMethod* method) {
_method = method;
diff --git a/src/share/vm/opto/callGenerator.hpp b/src/share/vm/opto/callGenerator.hpp
index bc704f756..75e8ba004 100644
--- a/src/share/vm/opto/callGenerator.hpp
+++ b/src/share/vm/opto/callGenerator.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OPTO_CALLGENERATOR_HPP
+#define SHARE_VM_OPTO_CALLGENERATOR_HPP
+
+#include "opto/callnode.hpp"
+#include "opto/compile.hpp"
+#include "opto/type.hpp"
+#include "runtime/deoptimization.hpp"
+
//---------------------------CallGenerator-------------------------------------
// The subclasses of this class handle generation of ideal nodes for
// call sites and method entry points.
@@ -281,3 +289,5 @@ class WarmCallInfo : public ResourceObj {
int count_all() const;
#endif
};
+
+#endif // SHARE_VM_OPTO_CALLGENERATOR_HPP
diff --git a/src/share/vm/opto/callnode.cpp b/src/share/vm/opto/callnode.cpp
index df29e482f..34ce61503 100644
--- a/src/share/vm/opto/callnode.cpp
+++ b/src/share/vm/opto/callnode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,13 +22,24 @@
*
*/
+#include "precompiled.hpp"
+#include "ci/bcEscapeAnalyzer.hpp"
+#include "compiler/oopMap.hpp"
+#include "opto/callnode.hpp"
+#include "opto/escape.hpp"
+#include "opto/locknode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/parse.hpp"
+#include "opto/regalloc.hpp"
+#include "opto/regmask.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
-#include "incls/_precompiled.incl"
-#include "incls/_callnode.cpp.incl"
-
//=============================================================================
uint StartNode::size_of() const { return sizeof(*this); }
uint StartNode::cmp( const Node &n ) const
diff --git a/src/share/vm/opto/callnode.hpp b/src/share/vm/opto/callnode.hpp
index d2788a407..774b4b8dd 100644
--- a/src/share/vm/opto/callnode.hpp
+++ b/src/share/vm/opto/callnode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_OPTO_CALLNODE_HPP
+#define SHARE_VM_OPTO_CALLNODE_HPP
+
+#include "opto/connode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/multnode.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/type.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
@@ -938,3 +948,5 @@ public:
// unlock is never a safepoint
virtual bool guaranteed_safepoint() { return false; }
};
+
+#endif // SHARE_VM_OPTO_CALLNODE_HPP
diff --git a/src/share/vm/opto/cfgnode.cpp b/src/share/vm/opto/cfgnode.cpp
index ee4ccc4dd..f6ca3ce7f 100644
--- a/src/share/vm/opto/cfgnode.cpp
+++ b/src/share/vm/opto/cfgnode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,13 +22,25 @@
*
*/
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "opto/addnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/regmask.hpp"
+#include "opto/runtime.hpp"
+#include "opto/subnode.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
-#include "incls/_precompiled.incl"
-#include "incls/_cfgnode.cpp.incl"
-
//=============================================================================
//------------------------------Value------------------------------------------
// Compute the type of the RegionNode.
diff --git a/src/share/vm/opto/cfgnode.hpp b/src/share/vm/opto/cfgnode.hpp
index eae5cd093..71bc2ab75 100644
--- a/src/share/vm/opto/cfgnode.hpp
+++ b/src/share/vm/opto/cfgnode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OPTO_CFGNODE_HPP
+#define SHARE_VM_OPTO_CFGNODE_HPP
+
+#include "opto/multnode.hpp"
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/type.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
@@ -519,3 +527,5 @@ public:
virtual void format( PhaseRegAlloc *, outputStream *st ) const;
#endif
};
+
+#endif // SHARE_VM_OPTO_CFGNODE_HPP
diff --git a/src/share/vm/opto/chaitin.cpp b/src/share/vm/opto/chaitin.cpp
index 4a8e0e3f5..a7ab061fc 100644
--- a/src/share/vm/opto/chaitin.cpp
+++ b/src/share/vm/opto/chaitin.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,8 +22,23 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_chaitin.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileLog.hpp"
+#include "compiler/oopMap.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/block.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/chaitin.hpp"
+#include "opto/coalesce.hpp"
+#include "opto/connode.hpp"
+#include "opto/idealGraphPrinter.hpp"
+#include "opto/indexSet.hpp"
+#include "opto/machnode.hpp"
+#include "opto/memnode.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/rootnode.hpp"
//=============================================================================
diff --git a/src/share/vm/opto/chaitin.hpp b/src/share/vm/opto/chaitin.hpp
index 208a3a6df..0e184caac 100644
--- a/src/share/vm/opto/chaitin.hpp
+++ b/src/share/vm/opto/chaitin.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,19 @@
*
*/
+#ifndef SHARE_VM_OPTO_CHAITIN_HPP
+#define SHARE_VM_OPTO_CHAITIN_HPP
+
+#include "code/vmreg.hpp"
+#include "libadt/port.hpp"
+#include "memory/resourceArea.hpp"
+#include "opto/connode.hpp"
+#include "opto/live.hpp"
+#include "opto/matcher.hpp"
+#include "opto/phase.hpp"
+#include "opto/regalloc.hpp"
+#include "opto/regmask.hpp"
+
class LoopTree;
class MachCallNode;
class MachSafePointNode;
@@ -519,3 +532,5 @@ private:
friend class PhaseAggressiveCoalesce;
friend class PhaseConservativeCoalesce;
};
+
+#endif // SHARE_VM_OPTO_CHAITIN_HPP
diff --git a/src/share/vm/opto/classes.cpp b/src/share/vm/opto/classes.cpp
index f57841d95..0dbe9a7e9 100644
--- a/src/share/vm/opto/classes.cpp
+++ b/src/share/vm/opto/classes.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,22 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_classes.cpp.incl"
+#include "precompiled.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/divnode.hpp"
+#include "opto/locknode.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/memnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/multnode.hpp"
+#include "opto/node.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/subnode.hpp"
+#include "opto/vectornode.hpp"
// ----------------------------------------------------------------------------
// Build a table of virtual functions to map from Nodes to dense integer
diff --git a/src/share/vm/opto/coalesce.cpp b/src/share/vm/opto/coalesce.cpp
index 2144b59ec..bc4d1fdcf 100644
--- a/src/share/vm/opto/coalesce.cpp
+++ b/src/share/vm/opto/coalesce.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_coalesce.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/block.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/chaitin.hpp"
+#include "opto/coalesce.hpp"
+#include "opto/connode.hpp"
+#include "opto/indexSet.hpp"
+#include "opto/machnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/regmask.hpp"
//=============================================================================
//------------------------------reset_uf_map-----------------------------------
diff --git a/src/share/vm/opto/coalesce.hpp b/src/share/vm/opto/coalesce.hpp
index 26847fbf4..904ce7f67 100644
--- a/src/share/vm/opto/coalesce.hpp
+++ b/src/share/vm/opto/coalesce.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OPTO_COALESCE_HPP
+#define SHARE_VM_OPTO_COALESCE_HPP
+
+#include "opto/phase.hpp"
+
class LoopTree;
class LRG;
class LRG_List;
@@ -107,3 +112,5 @@ public:
void update_ifg(uint lr1, uint lr2, IndexSet *n_lr1, IndexSet *n_lr2);
};
+
+#endif // SHARE_VM_OPTO_COALESCE_HPP
diff --git a/src/share/vm/opto/compile.cpp b/src/share/vm/opto/compile.cpp
index 7289cc2b8..677279c5d 100644
--- a/src/share/vm/opto/compile.cpp
+++ b/src/share/vm/opto/compile.cpp
@@ -22,8 +22,58 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_compile.cpp.incl"
+#include "precompiled.hpp"
+#include "asm/assembler.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/exceptionHandlerTable.hpp"
+#include "code/nmethod.hpp"
+#include "compiler/compileLog.hpp"
+#include "compiler/oopMap.hpp"
+#include "opto/addnode.hpp"
+#include "opto/block.hpp"
+#include "opto/c2compiler.hpp"
+#include "opto/callGenerator.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/chaitin.hpp"
+#include "opto/compile.hpp"
+#include "opto/connode.hpp"
+#include "opto/divnode.hpp"
+#include "opto/escape.hpp"
+#include "opto/idealGraphPrinter.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/macro.hpp"
+#include "opto/matcher.hpp"
+#include "opto/memnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/output.hpp"
+#include "opto/parse.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "opto/stringopts.hpp"
+#include "opto/type.hpp"
+#include "opto/vectornode.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/timer.hpp"
+#include "utilities/copy.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/ad_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/ad_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/ad_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/ad_zero.hpp"
+#endif
/// Support for intrinsics.
diff --git a/src/share/vm/opto/compile.hpp b/src/share/vm/opto/compile.hpp
index ce4f4298f..9ec26ac70 100644
--- a/src/share/vm/opto/compile.hpp
+++ b/src/share/vm/opto/compile.hpp
@@ -22,6 +22,24 @@
*
*/
+#ifndef SHARE_VM_OPTO_COMPILE_HPP
+#define SHARE_VM_OPTO_COMPILE_HPP
+
+#include "asm/codeBuffer.hpp"
+#include "ci/compilerInterface.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/exceptionHandlerTable.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "libadt/dict.hpp"
+#include "libadt/port.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/resourceArea.hpp"
+#include "opto/idealGraphPrinter.hpp"
+#include "opto/phase.hpp"
+#include "opto/regmask.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/vmThread.hpp"
+
class Block;
class Bundle;
class C2Compiler;
@@ -777,3 +795,5 @@ class Compile : public Phase {
// Definitions of pd methods
static void pd_compiler2_init();
};
+
+#endif // SHARE_VM_OPTO_COMPILE_HPP
diff --git a/src/share/vm/opto/connode.cpp b/src/share/vm/opto/connode.cpp
index 3fd660a9f..db36c6dd4 100644
--- a/src/share/vm/opto/connode.cpp
+++ b/src/share/vm/opto/connode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,10 +22,19 @@
*
*/
-// Optimization - Graph Style
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/compile.hpp"
+#include "opto/connode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/memnode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/subnode.hpp"
+#include "runtime/sharedRuntime.hpp"
-#include "incls/_precompiled.incl"
-#include "incls/_connode.cpp.incl"
+// Optimization - Graph Style
//=============================================================================
//------------------------------hash-------------------------------------------
diff --git a/src/share/vm/opto/connode.hpp b/src/share/vm/opto/connode.hpp
index 7b00b61bc..9d3e094c1 100644
--- a/src/share/vm/opto/connode.hpp
+++ b/src/share/vm/opto/connode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OPTO_CONNODE_HPP
+#define SHARE_VM_OPTO_CONNODE_HPP
+
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/type.hpp"
+
class PhaseTransform;
class MachNode;
@@ -695,3 +702,5 @@ public:
PopCountLNode(Node* in1) : CountBitsNode(in1) {}
virtual int Opcode() const;
};
+
+#endif // SHARE_VM_OPTO_CONNODE_HPP
diff --git a/src/share/vm/opto/divnode.cpp b/src/share/vm/opto/divnode.cpp
index 496e3a38d..553941007 100644
--- a/src/share/vm/opto/divnode.cpp
+++ b/src/share/vm/opto/divnode.cpp
@@ -22,12 +22,21 @@
*
*/
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/divnode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/subnode.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
-#include "incls/_precompiled.incl"
-#include "incls/_divnode.cpp.incl"
#include <math.h>
//----------------------magic_int_divide_constants-----------------------------
diff --git a/src/share/vm/opto/divnode.hpp b/src/share/vm/opto/divnode.hpp
index dd61be4a3..03f5be546 100644
--- a/src/share/vm/opto/divnode.hpp
+++ b/src/share/vm/opto/divnode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OPTO_DIVNODE_HPP
+#define SHARE_VM_OPTO_DIVNODE_HPP
+
+#include "opto/multnode.hpp"
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/type.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
@@ -175,3 +183,5 @@ public:
// Make a divmod and associated projections from a div or mod.
static DivModLNode* make(Compile* C, Node* div_or_mod);
};
+
+#endif // SHARE_VM_OPTO_DIVNODE_HPP
diff --git a/src/share/vm/opto/doCall.cpp b/src/share/vm/opto/doCall.cpp
index bfe52483a..4c19678ea 100644
--- a/src/share/vm/opto/doCall.cpp
+++ b/src/share/vm/opto/doCall.cpp
@@ -22,8 +22,23 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_doCall.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciCPCache.hpp"
+#include "ci/ciCallSite.hpp"
+#include "ci/ciMethodHandle.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "compiler/compileLog.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callGenerator.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/parse.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "opto/subnode.hpp"
+#include "prims/nativeLookup.hpp"
+#include "runtime/sharedRuntime.hpp"
#ifndef PRODUCT
void trace_type_profile(ciMethod *method, int depth, int bci, ciMethod *prof_method, ciKlass *prof_klass, int site_count, int receiver_count) {
diff --git a/src/share/vm/opto/domgraph.cpp b/src/share/vm/opto/domgraph.cpp
index eb6e0b7b4..ef4e1b17d 100644
--- a/src/share/vm/opto/domgraph.cpp
+++ b/src/share/vm/opto/domgraph.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,13 +22,18 @@
*
*/
+#include "precompiled.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/allocation.hpp"
+#include "opto/block.hpp"
+#include "opto/machnode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/rootnode.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
-#include "incls/_precompiled.incl"
-#include "incls/_domgraph.cpp.incl"
-
//------------------------------Tarjan-----------------------------------------
// A data structure that holds all the information needed to find dominators.
struct Tarjan {
diff --git a/src/share/vm/opto/escape.cpp b/src/share/vm/opto/escape.cpp
index 23d90d7da..c53c4ae6e 100644
--- a/src/share/vm/opto/escape.cpp
+++ b/src/share/vm/opto/escape.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_escape.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/bcEscapeAnalyzer.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/allocation.hpp"
+#include "opto/c2compiler.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/compile.hpp"
+#include "opto/escape.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/rootnode.hpp"
void PointsToNode::add_edge(uint targIdx, PointsToNode::EdgeType et) {
uint v = (targIdx << EdgeShift) + ((uint) et);
diff --git a/src/share/vm/opto/escape.hpp b/src/share/vm/opto/escape.hpp
index a7d47ba67..51198305b 100644
--- a/src/share/vm/opto/escape.hpp
+++ b/src/share/vm/opto/escape.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OPTO_ESCAPE_HPP
+#define SHARE_VM_OPTO_ESCAPE_HPP
+
+#include "opto/addnode.hpp"
+#include "opto/node.hpp"
+#include "utilities/growableArray.hpp"
+
//
// Adaptation for C2 of the escape analysis algorithm described in:
//
@@ -364,3 +371,5 @@ public:
void dump();
#endif
};
+
+#endif // SHARE_VM_OPTO_ESCAPE_HPP
diff --git a/src/share/vm/opto/gcm.cpp b/src/share/vm/opto/gcm.cpp
index f222001d3..6a6a18e73 100644
--- a/src/share/vm/opto/gcm.cpp
+++ b/src/share/vm/opto/gcm.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,13 +22,36 @@
*
*/
+#include "precompiled.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/block.hpp"
+#include "opto/c2compiler.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "runtime/deoptimization.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/ad_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/ad_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/ad_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/ad_zero.hpp"
+#endif
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
-#include "incls/_precompiled.incl"
-#include "incls/_gcm.cpp.incl"
-
// To avoid float value underflow
#define MIN_BLOCK_FREQUENCY 1.e-35f
diff --git a/src/share/vm/opto/generateOptoStub.cpp b/src/share/vm/opto/generateOptoStub.cpp
index 111a33289..31600a749 100644
--- a/src/share/vm/opto/generateOptoStub.cpp
+++ b/src/share/vm/opto/generateOptoStub.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,21 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_generateOptoStub.cpp.incl"
+#include "precompiled.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/compile.hpp"
+#include "opto/connode.hpp"
+#include "opto/locknode.hpp"
+#include "opto/memnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/node.hpp"
+#include "opto/parse.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "opto/type.hpp"
//--------------------gen_stub-------------------------------
void GraphKit::gen_stub(address C_function,
diff --git a/src/share/vm/opto/graphKit.cpp b/src/share/vm/opto/graphKit.cpp
index 493af5cea..1a3333db7 100644
--- a/src/share/vm/opto/graphKit.cpp
+++ b/src/share/vm/opto/graphKit.cpp
@@ -22,8 +22,23 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_graphKit.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileLog.hpp"
+#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/barrierSet.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "opto/addnode.hpp"
+#include "opto/graphKit.hpp"
+#include "opto/idealKit.hpp"
+#include "opto/locknode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/parse.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/sharedRuntime.hpp"
//----------------------------GraphKit-----------------------------------------
// Main utility constructor.
diff --git a/src/share/vm/opto/graphKit.hpp b/src/share/vm/opto/graphKit.hpp
index 3d15fe826..721bd8640 100644
--- a/src/share/vm/opto/graphKit.hpp
+++ b/src/share/vm/opto/graphKit.hpp
@@ -22,6 +22,22 @@
*
*/
+#ifndef SHARE_VM_OPTO_GRAPHKIT_HPP
+#define SHARE_VM_OPTO_GRAPHKIT_HPP
+
+#include "ci/ciEnv.hpp"
+#include "ci/ciMethodData.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/compile.hpp"
+#include "opto/divnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/subnode.hpp"
+#include "opto/type.hpp"
+#include "runtime/deoptimization.hpp"
+
class FastLockNode;
class FastUnlockNode;
class IdealKit;
@@ -824,3 +840,5 @@ class PreserveReexecuteState: public StackObj {
PreserveReexecuteState(GraphKit* kit);
~PreserveReexecuteState();
};
+
+#endif // SHARE_VM_OPTO_GRAPHKIT_HPP
diff --git a/src/share/vm/opto/idealGraphPrinter.cpp b/src/share/vm/opto/idealGraphPrinter.cpp
index 923759a53..212880c07 100644
--- a/src/share/vm/opto/idealGraphPrinter.cpp
+++ b/src/share/vm/opto/idealGraphPrinter.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_idealGraphPrinter.cpp.incl"
+#include "precompiled.hpp"
+#include "opto/chaitin.hpp"
+#include "opto/idealGraphPrinter.hpp"
+#include "opto/machnode.hpp"
+#include "opto/parse.hpp"
+#include "runtime/threadCritical.hpp"
#ifndef PRODUCT
diff --git a/src/share/vm/opto/idealGraphPrinter.hpp b/src/share/vm/opto/idealGraphPrinter.hpp
index 5080200b1..9c8807a47 100644
--- a/src/share/vm/opto/idealGraphPrinter.hpp
+++ b/src/share/vm/opto/idealGraphPrinter.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_OPTO_IDEALGRAPHPRINTER_HPP
+#define SHARE_VM_OPTO_IDEALGRAPHPRINTER_HPP
+
+#include "libadt/dict.hpp"
+#include "libadt/vectset.hpp"
+#include "utilities/growableArray.hpp"
+#include "utilities/ostream.hpp"
+#include "utilities/xmlstream.hpp"
+
#ifndef PRODUCT
class Compile;
@@ -140,3 +149,5 @@ public:
};
#endif
+
+#endif // SHARE_VM_OPTO_IDEALGRAPHPRINTER_HPP
diff --git a/src/share/vm/opto/idealKit.cpp b/src/share/vm/opto/idealKit.cpp
index f2a17b3e7..5cd6f9bde 100644
--- a/src/share/vm/opto/idealKit.cpp
+++ b/src/share/vm/opto/idealKit.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_idealKit.cpp.incl"
+#include "precompiled.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/idealKit.hpp"
+#include "opto/runtime.hpp"
// Static initialization
diff --git a/src/share/vm/opto/idealKit.hpp b/src/share/vm/opto/idealKit.hpp
index 2fe5dbc5d..b5d894ca2 100644
--- a/src/share/vm/opto/idealKit.hpp
+++ b/src/share/vm/opto/idealKit.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_OPTO_IDEALKIT_HPP
+#define SHARE_VM_OPTO_IDEALKIT_HPP
+
+#include "opto/addnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/divnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/subnode.hpp"
+#include "opto/type.hpp"
+
//-----------------------------------------------------------------------------
//----------------------------IdealKit-----------------------------------------
// Set of utilities for creating control flow and scalar SSA data flow.
@@ -228,3 +240,5 @@ class IdealKit: public StackObj {
Node* parm1 = NULL,
Node* parm2 = NULL);
};
+
+#endif // SHARE_VM_OPTO_IDEALKIT_HPP
diff --git a/src/share/vm/opto/ifg.cpp b/src/share/vm/opto/ifg.cpp
index caae38314..3a2254565 100644
--- a/src/share/vm/opto/ifg.cpp
+++ b/src/share/vm/opto/ifg.cpp
@@ -22,8 +22,20 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_ifg.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/oopMap.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/block.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/chaitin.hpp"
+#include "opto/coalesce.hpp"
+#include "opto/connode.hpp"
+#include "opto/indexSet.hpp"
+#include "opto/machnode.hpp"
+#include "opto/memnode.hpp"
+#include "opto/opcodes.hpp"
#define EXACT_PRESSURE 1
diff --git a/src/share/vm/opto/ifnode.cpp b/src/share/vm/opto/ifnode.cpp
index 590e1379e..25f2e3151 100644
--- a/src/share/vm/opto/ifnode.cpp
+++ b/src/share/vm/opto/ifnode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,13 +22,19 @@
*
*/
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/runtime.hpp"
+#include "opto/subnode.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
-#include "incls/_precompiled.incl"
-#include "incls/_ifnode.cpp.incl"
-
extern int explicit_null_checks_elided;
diff --git a/src/share/vm/opto/indexSet.cpp b/src/share/vm/opto/indexSet.cpp
index b1fc43f4e..efbb4e3c3 100644
--- a/src/share/vm/opto/indexSet.cpp
+++ b/src/share/vm/opto/indexSet.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,13 +22,17 @@
*
*/
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/chaitin.hpp"
+#include "opto/compile.hpp"
+#include "opto/indexSet.hpp"
+#include "opto/regmask.hpp"
+
// This file defines the IndexSet class, a set of sparse integer indices.
// This data structure is used by the compiler in its liveness analysis and
// during register allocation. It also defines an iterator for this class.
-#include "incls/_precompiled.incl"
-#include "incls/_indexSet.cpp.incl"
-
//-------------------------------- Initializations ------------------------------
IndexSet::BitBlock IndexSet::_empty_block = IndexSet::BitBlock();
diff --git a/src/share/vm/opto/indexSet.hpp b/src/share/vm/opto/indexSet.hpp
index ba2183981..0c4119c2d 100644
--- a/src/share/vm/opto/indexSet.hpp
+++ b/src/share/vm/opto/indexSet.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OPTO_INDEXSET_HPP
+#define SHARE_VM_OPTO_INDEXSET_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/resourceArea.hpp"
+#include "opto/compile.hpp"
+#include "opto/regmask.hpp"
+
// This file defines the IndexSet class, a set of sparse integer indices.
// This data structure is used by the compiler in its liveness analysis and
// during register allocation.
@@ -459,3 +467,5 @@ class IndexSetIterator VALUE_OBJ_CLASS_SPEC {
}
}
};
+
+#endif // SHARE_VM_OPTO_INDEXSET_HPP
diff --git a/src/share/vm/opto/lcm.cpp b/src/share/vm/opto/lcm.cpp
index c93b53eb9..3d84f6baf 100644
--- a/src/share/vm/opto/lcm.cpp
+++ b/src/share/vm/opto/lcm.cpp
@@ -22,10 +22,28 @@
*
*/
-// Optimization - Graph Style
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/block.hpp"
+#include "opto/c2compiler.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/runtime.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/ad_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/ad_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/ad_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/ad_zero.hpp"
+#endif
-#include "incls/_precompiled.incl"
-#include "incls/_lcm.cpp.incl"
+// Optimization - Graph Style
//------------------------------implicit_null_check----------------------------
// Detect implicit-null-check opportunities. Basically, find NULL checks
diff --git a/src/share/vm/opto/library_call.cpp b/src/share/vm/opto/library_call.cpp
index 053707b70..c64cbfeb5 100644
--- a/src/share/vm/opto/library_call.cpp
+++ b/src/share/vm/opto/library_call.cpp
@@ -22,8 +22,21 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_library_call.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "compiler/compileLog.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callGenerator.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/idealKit.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/parse.hpp"
+#include "opto/runtime.hpp"
+#include "opto/subnode.hpp"
+#include "prims/nativeLookup.hpp"
+#include "runtime/sharedRuntime.hpp"
class LibraryIntrinsic : public InlineCallGenerator {
// Extend the set of intrinsics known to the runtime:
diff --git a/src/share/vm/opto/live.cpp b/src/share/vm/opto/live.cpp
index efe106b47..cdeed3b1f 100644
--- a/src/share/vm/opto/live.cpp
+++ b/src/share/vm/opto/live.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_live.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/callnode.hpp"
+#include "opto/chaitin.hpp"
+#include "opto/live.hpp"
+#include "opto/machnode.hpp"
diff --git a/src/share/vm/opto/live.hpp b/src/share/vm/opto/live.hpp
index 15c9f11b4..c7714fecc 100644
--- a/src/share/vm/opto/live.hpp
+++ b/src/share/vm/opto/live.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_OPTO_LIVE_HPP
+#define SHARE_VM_OPTO_LIVE_HPP
+
+#include "libadt/port.hpp"
+#include "libadt/vectset.hpp"
+#include "opto/block.hpp"
+#include "opto/indexSet.hpp"
+#include "opto/phase.hpp"
+#include "opto/regmask.hpp"
+
class Block;
class LRG_List;
class PhaseCFG;
@@ -72,3 +82,5 @@ public:
void stats(uint iters) const;
#endif
};
+
+#endif // SHARE_VM_OPTO_LIVE_HPP
diff --git a/src/share/vm/opto/locknode.cpp b/src/share/vm/opto/locknode.cpp
index a4c59deda..23a594e13 100644
--- a/src/share/vm/opto/locknode.cpp
+++ b/src/share/vm/opto/locknode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_locknode.cpp.incl"
+#include "precompiled.hpp"
+#include "opto/locknode.hpp"
+#include "opto/parse.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
//=============================================================================
const RegMask &BoxLockNode::in_RegMask(uint i) const {
diff --git a/src/share/vm/opto/locknode.hpp b/src/share/vm/opto/locknode.hpp
index 7b746e075..3858a038f 100644
--- a/src/share/vm/opto/locknode.hpp
+++ b/src/share/vm/opto/locknode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,25 @@
*
*/
+#ifndef SHARE_VM_OPTO_LOCKNODE_HPP
+#define SHARE_VM_OPTO_LOCKNODE_HPP
+
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/subnode.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/ad_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/ad_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/ad_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/ad_zero.hpp"
+#endif
+
//------------------------------BoxLockNode------------------------------------
class BoxLockNode : public Node {
public:
@@ -100,3 +119,5 @@ public:
const Type *sub(const Type *t1, const Type *t2) const { return TypeInt::CC;}
};
+
+#endif // SHARE_VM_OPTO_LOCKNODE_HPP
diff --git a/src/share/vm/opto/loopTransform.cpp b/src/share/vm/opto/loopTransform.cpp
index c4fce2d98..9de938d25 100644
--- a/src/share/vm/opto/loopTransform.cpp
+++ b/src/share/vm/opto/loopTransform.cpp
@@ -22,8 +22,18 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_loopTransform.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileLog.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/divnode.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "opto/subnode.hpp"
//------------------------------is_loop_exit-----------------------------------
// Given an IfNode, return the loop-exiting projection or NULL if both
diff --git a/src/share/vm/opto/loopUnswitch.cpp b/src/share/vm/opto/loopUnswitch.cpp
index 251089c00..8cfd5fb6b 100644
--- a/src/share/vm/opto/loopUnswitch.cpp
+++ b/src/share/vm/opto/loopUnswitch.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_loopUnswitch.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/connode.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/rootnode.hpp"
//================= Loop Unswitching =====================
//
diff --git a/src/share/vm/opto/loopnode.cpp b/src/share/vm/opto/loopnode.cpp
index 17277fa57..785ef4439 100644
--- a/src/share/vm/opto/loopnode.cpp
+++ b/src/share/vm/opto/loopnode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,20 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_loopnode.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciMethodData.hpp"
+#include "compiler/compileLog.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/divnode.hpp"
+#include "opto/idealGraphPrinter.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/superword.hpp"
//=============================================================================
//------------------------------is_loop_iv-------------------------------------
diff --git a/src/share/vm/opto/loopnode.hpp b/src/share/vm/opto/loopnode.hpp
index 3b3b42053..f11b7c942 100644
--- a/src/share/vm/opto/loopnode.hpp
+++ b/src/share/vm/opto/loopnode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_OPTO_LOOPNODE_HPP
+#define SHARE_VM_OPTO_LOOPNODE_HPP
+
+#include "opto/cfgnode.hpp"
+#include "opto/multnode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/subnode.hpp"
+#include "opto/type.hpp"
+
class CmpNode;
class CountedLoopEndNode;
class CountedLoopNode;
@@ -1015,3 +1024,5 @@ public:
IdealLoopTree* current() { return _curnt; } // Return current value of iterator.
};
+
+#endif // SHARE_VM_OPTO_LOOPNODE_HPP
diff --git a/src/share/vm/opto/loopopts.cpp b/src/share/vm/opto/loopopts.cpp
index 5457abec9..9f5669286 100644
--- a/src/share/vm/opto/loopopts.cpp
+++ b/src/share/vm/opto/loopopts.cpp
@@ -22,8 +22,15 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_loopopts.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/divnode.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/subnode.hpp"
//=============================================================================
//------------------------------split_thru_phi---------------------------------
diff --git a/src/share/vm/opto/machnode.cpp b/src/share/vm/opto/machnode.cpp
index 0230b51ac..179116287 100644
--- a/src/share/vm/opto/machnode.cpp
+++ b/src/share/vm/opto/machnode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_machnode.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "opto/machnode.hpp"
+#include "opto/regalloc.hpp"
//=============================================================================
// Return the value requested
diff --git a/src/share/vm/opto/machnode.hpp b/src/share/vm/opto/machnode.hpp
index d4af4a9bc..633a9b143 100644
--- a/src/share/vm/opto/machnode.hpp
+++ b/src/share/vm/opto/machnode.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_OPTO_MACHNODE_HPP
+#define SHARE_VM_OPTO_MACHNODE_HPP
+
+#include "opto/callnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/multnode.hpp"
+#include "opto/node.hpp"
+#include "opto/regmask.hpp"
+
class BufferBlob;
class CodeBuffer;
class JVMState;
@@ -828,3 +837,5 @@ public:
virtual void ext_format(PhaseRegAlloc *ra, const MachNode *node, int idx, outputStream *st) const { int_format( ra, node, st ); }
#endif
};
+
+#endif // SHARE_VM_OPTO_MACHNODE_HPP
diff --git a/src/share/vm/opto/macro.cpp b/src/share/vm/opto/macro.cpp
index 214c3150e..3c95bf0ea 100644
--- a/src/share/vm/opto/macro.cpp
+++ b/src/share/vm/opto/macro.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,25 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_macro.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileLog.hpp"
+#include "libadt/vectset.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/compile.hpp"
+#include "opto/connode.hpp"
+#include "opto/locknode.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/macro.hpp"
+#include "opto/memnode.hpp"
+#include "opto/node.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "opto/subnode.hpp"
+#include "opto/type.hpp"
+#include "runtime/sharedRuntime.hpp"
//
diff --git a/src/share/vm/opto/macro.hpp b/src/share/vm/opto/macro.hpp
index c18973aef..430d47c35 100644
--- a/src/share/vm/opto/macro.hpp
+++ b/src/share/vm/opto/macro.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OPTO_MACRO_HPP
+#define SHARE_VM_OPTO_MACRO_HPP
+
+#include "opto/phase.hpp"
+
class AllocateNode;
class AllocateArrayNode;
class CallNode;
@@ -116,3 +121,5 @@ public:
bool expand_macro_nodes();
};
+
+#endif // SHARE_VM_OPTO_MACRO_HPP
diff --git a/src/share/vm/opto/matcher.cpp b/src/share/vm/opto/matcher.cpp
index 94178813e..ba48f8f83 100644
--- a/src/share/vm/opto/matcher.cpp
+++ b/src/share/vm/opto/matcher.cpp
@@ -22,8 +22,34 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_matcher.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/idealGraphPrinter.hpp"
+#include "opto/matcher.hpp"
+#include "opto/memnode.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/regmask.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "opto/type.hpp"
+#include "runtime/atomic.hpp"
+#include "runtime/hpi.hpp"
+#include "runtime/os.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/ad_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/ad_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/ad_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/ad_zero.hpp"
+#endif
OptoReg::Name OptoReg::c_frame_pointer;
diff --git a/src/share/vm/opto/matcher.hpp b/src/share/vm/opto/matcher.hpp
index 014d00368..6e8f04c5c 100644
--- a/src/share/vm/opto/matcher.hpp
+++ b/src/share/vm/opto/matcher.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_OPTO_MATCHER_HPP
+#define SHARE_VM_OPTO_MATCHER_HPP
+
+#include "libadt/vectset.hpp"
+#include "memory/resourceArea.hpp"
+#include "opto/node.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/regmask.hpp"
+
class Compile;
class Node;
class MachNode;
@@ -447,3 +456,5 @@ public:
}
#endif
};
+
+#endif // SHARE_VM_OPTO_MATCHER_HPP
diff --git a/src/share/vm/opto/memnode.cpp b/src/share/vm/opto/memnode.cpp
index d425ae6d1..bbdcaa551 100644
--- a/src/share/vm/opto/memnode.cpp
+++ b/src/share/vm/opto/memnode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,13 +22,27 @@
*
*/
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "compiler/compileLog.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "opto/addnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/compile.hpp"
+#include "opto/connode.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/memnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/regmask.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
-#include "incls/_precompiled.incl"
-#include "incls/_memnode.cpp.incl"
-
static Node *step_through_mergemem(PhaseGVN *phase, MergeMemNode *mmem, const TypePtr *tp, const TypePtr *adr_check, outputStream *st);
//=============================================================================
diff --git a/src/share/vm/opto/memnode.hpp b/src/share/vm/opto/memnode.hpp
index a3faceda0..dec1b0ab1 100644
--- a/src/share/vm/opto/memnode.hpp
+++ b/src/share/vm/opto/memnode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OPTO_MEMNODE_HPP
+#define SHARE_VM_OPTO_MEMNODE_HPP
+
+#include "opto/multnode.hpp"
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/type.hpp"
+
// Portions of code courtesy of Clifford Click
class MultiNode;
@@ -1250,3 +1258,5 @@ public:
virtual uint match_edge(uint idx) const { return idx==2; }
virtual const Type *bottom_type() const { return ( AllocatePrefetchStyle == 3 ) ? Type::MEMORY : Type::ABIO; }
};
+
+#endif // SHARE_VM_OPTO_MEMNODE_HPP
diff --git a/src/share/vm/opto/mulnode.cpp b/src/share/vm/opto/mulnode.cpp
index 32fb6e42d..cf838c769 100644
--- a/src/share/vm/opto/mulnode.cpp
+++ b/src/share/vm/opto/mulnode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,10 +22,16 @@
*
*/
-// Portions of code courtesy of Clifford Click
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/memnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/subnode.hpp"
-#include "incls/_precompiled.incl"
-#include "incls/_mulnode.cpp.incl"
+// Portions of code courtesy of Clifford Click
//=============================================================================
diff --git a/src/share/vm/opto/mulnode.hpp b/src/share/vm/opto/mulnode.hpp
index 1128d7bd2..a674940b5 100644
--- a/src/share/vm/opto/mulnode.hpp
+++ b/src/share/vm/opto/mulnode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OPTO_MULNODE_HPP
+#define SHARE_VM_OPTO_MULNODE_HPP
+
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/type.hpp"
+
// Portions of code courtesy of Clifford Click
class PhaseTransform;
@@ -255,3 +262,5 @@ public:
const Type *bottom_type() const { return TypeLong::LONG; }
virtual uint ideal_reg() const { return Op_RegL; }
};
+
+#endif // SHARE_VM_OPTO_MULNODE_HPP
diff --git a/src/share/vm/opto/multnode.cpp b/src/share/vm/opto/multnode.cpp
index f2d09489f..fb29e1ea4 100644
--- a/src/share/vm/opto/multnode.cpp
+++ b/src/share/vm/opto/multnode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_multnode.cpp.incl"
+#include "precompiled.hpp"
+#include "opto/matcher.hpp"
+#include "opto/multnode.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/regmask.hpp"
+#include "opto/type.hpp"
//=============================================================================
//------------------------------MultiNode--------------------------------------
diff --git a/src/share/vm/opto/multnode.hpp b/src/share/vm/opto/multnode.hpp
index a6a5d3d9b..fba94e5b4 100644
--- a/src/share/vm/opto/multnode.hpp
+++ b/src/share/vm/opto/multnode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OPTO_MULTNODE_HPP
+#define SHARE_VM_OPTO_MULTNODE_HPP
+
+#include "opto/node.hpp"
+
class Matcher;
class ProjNode;
@@ -82,3 +87,5 @@ public:
virtual void dump_spec(outputStream *st) const;
#endif
};
+
+#endif // SHARE_VM_OPTO_MULTNODE_HPP
diff --git a/src/share/vm/opto/node.cpp b/src/share/vm/opto/node.cpp
index 7591a193e..70f809b29 100644
--- a/src/share/vm/opto/node.cpp
+++ b/src/share/vm/opto/node.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,18 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_node.cpp.incl"
+#include "precompiled.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/regmask.hpp"
+#include "opto/type.hpp"
+#include "utilities/copy.hpp"
class RegMask;
// #include "phase.hpp"
diff --git a/src/share/vm/opto/node.hpp b/src/share/vm/opto/node.hpp
index 1921ae12d..c1aaf3600 100644
--- a/src/share/vm/opto/node.hpp
+++ b/src/share/vm/opto/node.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OPTO_NODE_HPP
+#define SHARE_VM_OPTO_NODE_HPP
+
+#include "libadt/port.hpp"
+#include "libadt/vectset.hpp"
+#include "opto/compile.hpp"
+#include "opto/type.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
@@ -1554,3 +1562,5 @@ public:
virtual void dump_spec(outputStream *st) const;
#endif
};
+
+#endif // SHARE_VM_OPTO_NODE_HPP
diff --git a/src/share/vm/opto/opcodes.cpp b/src/share/vm/opto/opcodes.cpp
index b8325a046..58489db0a 100644
--- a/src/share/vm/opto/opcodes.cpp
+++ b/src/share/vm/opto/opcodes.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,8 @@
*
*/
+// no precompiled headers
+
// ----------------------------------------------------------------------------
// Build a table of class names as strings. Used both for debugging printouts
// and in the ADL machine descriptions.
diff --git a/src/share/vm/opto/opcodes.hpp b/src/share/vm/opto/opcodes.hpp
index c6ac7636b..9eb5b8a7c 100644
--- a/src/share/vm/opto/opcodes.hpp
+++ b/src/share/vm/opto/opcodes.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_OPTO_OPCODES_HPP
+#define SHARE_VM_OPTO_OPCODES_HPP
+
// Build a big enum of class names to give them dense integer indices
#define macro(x) Op_##x,
enum Opcodes {
@@ -42,3 +45,5 @@ enum Opcodes {
// Table of names, indexed by Opcode
extern const char *NodeClassNames[];
+
+#endif // SHARE_VM_OPTO_OPCODES_HPP
diff --git a/src/share/vm/opto/optoreg.hpp b/src/share/vm/opto/optoreg.hpp
index aa19f1baf..58c9f1c69 100644
--- a/src/share/vm/opto/optoreg.hpp
+++ b/src/share/vm/opto/optoreg.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_OPTO_OPTOREG_HPP
+#define SHARE_VM_OPTO_OPTOREG_HPP
+
//------------------------------OptoReg----------------------------------------
// We eventually need Registers for the Real World. Registers are essentially
// non-SSA names. A Register is represented as a number. Non-regular values
@@ -192,3 +195,5 @@ public:
OptoRegPair(OptoReg::Name f) { _second = OptoReg::Bad; _first = f; }
OptoRegPair() { _second = OptoReg::Bad; _first = OptoReg::Bad; }
};
+
+#endif // SHARE_VM_OPTO_OPTOREG_HPP
diff --git a/src/share/vm/opto/output.cpp b/src/share/vm/opto/output.cpp
index 959f4c8c8..015b8f69a 100644
--- a/src/share/vm/opto/output.cpp
+++ b/src/share/vm/opto/output.cpp
@@ -22,8 +22,24 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_output.cpp.incl"
+#include "precompiled.hpp"
+#include "asm/assembler.inline.hpp"
+#include "code/debugInfo.hpp"
+#include "code/debugInfoRec.hpp"
+#include "compiler/compileBroker.hpp"
+#include "compiler/oopMap.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/locknode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/output.hpp"
+#include "opto/regalloc.hpp"
+#include "opto/runtime.hpp"
+#include "opto/subnode.hpp"
+#include "opto/type.hpp"
+#include "runtime/handles.inline.hpp"
+#include "utilities/xmlstream.hpp"
extern uint size_java_to_interp();
extern uint reloc_java_to_interp();
diff --git a/src/share/vm/opto/output.hpp b/src/share/vm/opto/output.hpp
index 27275c495..7e3237198 100644
--- a/src/share/vm/opto/output.hpp
+++ b/src/share/vm/opto/output.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,24 @@
*
*/
+#ifndef SHARE_VM_OPTO_OUTPUT_HPP
+#define SHARE_VM_OPTO_OUTPUT_HPP
+
+#include "opto/block.hpp"
+#include "opto/node.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/ad_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/ad_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/ad_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/ad_zero.hpp"
+#endif
+
class Arena;
class Bundle;
class Block;
@@ -213,3 +231,5 @@ public:
#endif
};
+
+#endif // SHARE_VM_OPTO_OUTPUT_HPP
diff --git a/src/share/vm/opto/parse.hpp b/src/share/vm/opto/parse.hpp
index 871d1e96b..a8d63b55d 100644
--- a/src/share/vm/opto/parse.hpp
+++ b/src/share/vm/opto/parse.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_OPTO_PARSE_HPP
+#define SHARE_VM_OPTO_PARSE_HPP
+
+#include "ci/ciMethodData.hpp"
+#include "ci/ciTypeFlow.hpp"
+#include "compiler/methodLiveness.hpp"
+#include "libadt/vectset.hpp"
+#include "oops/generateOopMap.hpp"
+#include "opto/graphKit.hpp"
+#include "opto/subnode.hpp"
+
class BytecodeParseHistogram;
class InlineTree;
class Parse;
@@ -567,3 +578,5 @@ class Parse : public GraphKit {
void dump_bci(int bci);
#endif
};
+
+#endif // SHARE_VM_OPTO_PARSE_HPP
diff --git a/src/share/vm/opto/parse1.cpp b/src/share/vm/opto/parse1.cpp
index d0b551838..3729c38b4 100644
--- a/src/share/vm/opto/parse1.cpp
+++ b/src/share/vm/opto/parse1.cpp
@@ -22,8 +22,21 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_parse1.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileLog.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "oops/methodOop.hpp"
+#include "opto/addnode.hpp"
+#include "opto/idealGraphPrinter.hpp"
+#include "opto/locknode.hpp"
+#include "opto/memnode.hpp"
+#include "opto/parse.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "utilities/copy.hpp"
// Static array so we can figure out which bytecodes stop us from compiling
// the most. Some of the non-static variables are needed in bytecodeInfo.cpp
diff --git a/src/share/vm/opto/parse2.cpp b/src/share/vm/opto/parse2.cpp
index 86a1f0928..a9f42eb7a 100644
--- a/src/share/vm/opto/parse2.cpp
+++ b/src/share/vm/opto/parse2.cpp
@@ -22,8 +22,23 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_parse2.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciMethodData.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "compiler/compileLog.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/universe.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/divnode.hpp"
+#include "opto/idealGraphPrinter.hpp"
+#include "opto/matcher.hpp"
+#include "opto/memnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/parse.hpp"
+#include "opto/runtime.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/sharedRuntime.hpp"
extern int explicit_null_checks_inserted,
explicit_null_checks_elided;
diff --git a/src/share/vm/opto/parse3.cpp b/src/share/vm/opto/parse3.cpp
index c8f4a8ec2..827633670 100644
--- a/src/share/vm/opto/parse3.cpp
+++ b/src/share/vm/opto/parse3.cpp
@@ -22,8 +22,19 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_parse3.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileLog.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "opto/addnode.hpp"
+#include "opto/memnode.hpp"
+#include "opto/parse.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "opto/subnode.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/handles.inline.hpp"
//=============================================================================
// Helper methods for _get* and _put* bytecodes
diff --git a/src/share/vm/opto/parseHelper.cpp b/src/share/vm/opto/parseHelper.cpp
index 3e50e5429..5a9d7e146 100644
--- a/src/share/vm/opto/parseHelper.cpp
+++ b/src/share/vm/opto/parseHelper.cpp
@@ -22,8 +22,17 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_parseHelper.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "compiler/compileLog.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "opto/addnode.hpp"
+#include "opto/memnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/parse.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "runtime/sharedRuntime.hpp"
//------------------------------make_dtrace_method_entry_exit ----------------
// Dtrace -- record entry or exit of a method if compiled with dtrace support
diff --git a/src/share/vm/opto/phase.cpp b/src/share/vm/opto/phase.cpp
index ce0e2bb67..7bf7e6aec 100644
--- a/src/share/vm/opto/phase.cpp
+++ b/src/share/vm/opto/phase.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_phase.cpp.incl"
+#include "precompiled.hpp"
+#include "code/nmethod.hpp"
+#include "compiler/compileBroker.hpp"
+#include "opto/compile.hpp"
+#include "opto/node.hpp"
+#include "opto/phase.hpp"
#ifndef PRODUCT
int Phase::_total_bytes_compiled = 0;
diff --git a/src/share/vm/opto/phase.hpp b/src/share/vm/opto/phase.hpp
index 5fc2279fe..c52fda3cb 100644
--- a/src/share/vm/opto/phase.hpp
+++ b/src/share/vm/opto/phase.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_OPTO_PHASE_HPP
+#define SHARE_VM_OPTO_PHASE_HPP
+
+#include "libadt/port.hpp"
+#include "runtime/timer.hpp"
+
class Compile;
//------------------------------Phase------------------------------------------
@@ -109,3 +115,5 @@ public:
static void print_timers();
#endif
};
+
+#endif // SHARE_VM_OPTO_PHASE_HPP
diff --git a/src/share/vm/opto/phaseX.cpp b/src/share/vm/opto/phaseX.cpp
index 164d1afb9..7b5d6cddc 100644
--- a/src/share/vm/opto/phaseX.cpp
+++ b/src/share/vm/opto/phaseX.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_phaseX.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/block.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/idealGraphPrinter.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/machnode.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/regalloc.hpp"
+#include "opto/rootnode.hpp"
//=============================================================================
#define NODE_HASH_MINIMUM_SIZE 255
diff --git a/src/share/vm/opto/phaseX.hpp b/src/share/vm/opto/phaseX.hpp
index 9a4535cb2..7f1060c05 100644
--- a/src/share/vm/opto/phaseX.hpp
+++ b/src/share/vm/opto/phaseX.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_OPTO_PHASEX_HPP
+#define SHARE_VM_OPTO_PHASEX_HPP
+
+#include "libadt/dict.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/resourceArea.hpp"
+#include "opto/memnode.hpp"
+#include "opto/node.hpp"
+#include "opto/phase.hpp"
+#include "opto/type.hpp"
+
class Compile;
class ConINode;
class ConLNode;
@@ -535,3 +546,5 @@ public:
static void print_statistics();
#endif
};
+
+#endif // SHARE_VM_OPTO_PHASEX_HPP
diff --git a/src/share/vm/opto/postaloc.cpp b/src/share/vm/opto/postaloc.cpp
index db888b2f4..c901f611f 100644
--- a/src/share/vm/opto/postaloc.cpp
+++ b/src/share/vm/opto/postaloc.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_postaloc.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/chaitin.hpp"
+#include "opto/machnode.hpp"
// see if this register kind does not requires two registers
static bool is_single_register(uint x) {
diff --git a/src/share/vm/opto/reg_split.cpp b/src/share/vm/opto/reg_split.cpp
index 9e3967e36..605e3d3b3 100644
--- a/src/share/vm/opto/reg_split.cpp
+++ b/src/share/vm/opto/reg_split.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,8 +22,16 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_reg_split.cpp.incl"
+#include "precompiled.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/c2compiler.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/chaitin.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/machnode.hpp"
//------------------------------Split--------------------------------------
// Walk the graph in RPO and for each lrg which spills, propagate reaching
diff --git a/src/share/vm/opto/regalloc.cpp b/src/share/vm/opto/regalloc.cpp
index d7ed6f0f1..79dde4066 100644
--- a/src/share/vm/opto/regalloc.cpp
+++ b/src/share/vm/opto/regalloc.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_regalloc.cpp.incl"
+#include "precompiled.hpp"
+#include "opto/regalloc.hpp"
static const int NodeRegsOverflowSize = 200;
diff --git a/src/share/vm/opto/regalloc.hpp b/src/share/vm/opto/regalloc.hpp
index 540e6a7c2..71f4defc2 100644
--- a/src/share/vm/opto/regalloc.hpp
+++ b/src/share/vm/opto/regalloc.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_OPTO_REGALLOC_HPP
+#define SHARE_VM_OPTO_REGALLOC_HPP
+
+#include "code/vmreg.hpp"
+#include "opto/block.hpp"
+#include "opto/matcher.hpp"
+#include "opto/phase.hpp"
+
class Node;
class Matcher;
class PhaseCFG;
@@ -131,3 +139,5 @@ public:
static void print_statistics();
#endif
};
+
+#endif // SHARE_VM_OPTO_REGALLOC_HPP
diff --git a/src/share/vm/opto/regmask.cpp b/src/share/vm/opto/regmask.cpp
index 1916431e3..b1ba93801 100644
--- a/src/share/vm/opto/regmask.cpp
+++ b/src/share/vm/opto/regmask.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,21 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_regmask.cpp.incl"
+#include "precompiled.hpp"
+#include "opto/compile.hpp"
+#include "opto/regmask.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/ad_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/ad_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/ad_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/ad_zero.hpp"
+#endif
#define RM_SIZE _RM_SIZE /* a constant private to the class RegMask */
diff --git a/src/share/vm/opto/regmask.hpp b/src/share/vm/opto/regmask.hpp
index 5be294074..b1c280da2 100644
--- a/src/share/vm/opto/regmask.hpp
+++ b/src/share/vm/opto/regmask.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,25 @@
*
*/
+#ifndef SHARE_VM_OPTO_REGMASK_HPP
+#define SHARE_VM_OPTO_REGMASK_HPP
+
+#include "code/vmreg.hpp"
+#include "libadt/port.hpp"
+#include "opto/optoreg.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/adGlobals_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/adGlobals_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/adGlobals_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/adGlobals_zero.hpp"
+#endif
+
// Some fun naming (textual) substitutions:
//
// RegMask::get_low_elem() ==> RegMask::find_first_elem()
@@ -262,3 +281,5 @@ public:
// Do not use this constant directly in client code!
#undef RM_SIZE
+
+#endif // SHARE_VM_OPTO_REGMASK_HPP
diff --git a/src/share/vm/opto/rootnode.cpp b/src/share/vm/opto/rootnode.cpp
index b27fb43d8..56775ed7e 100644
--- a/src/share/vm/opto/rootnode.cpp
+++ b/src/share/vm/opto/rootnode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,15 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_rootnode.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/regmask.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/subnode.hpp"
+#include "opto/type.hpp"
//------------------------------Ideal------------------------------------------
// Remove dead inputs
diff --git a/src/share/vm/opto/rootnode.hpp b/src/share/vm/opto/rootnode.hpp
index e92aa2a77..cef207d64 100644
--- a/src/share/vm/opto/rootnode.hpp
+++ b/src/share/vm/opto/rootnode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_OPTO_ROOTNODE_HPP
+#define SHARE_VM_OPTO_ROOTNODE_HPP
+
+#include "opto/loopnode.hpp"
+
//------------------------------RootNode---------------------------------------
// The one-and-only before-all-else and after-all-else RootNode. The RootNode
// represents what happens if the user runs the whole program repeatedly. The
@@ -60,3 +65,5 @@ public:
virtual uint ideal_reg() const { return NotAMachineReg; }
virtual uint match_edge(uint idx) const { return 0; }
};
+
+#endif // SHARE_VM_OPTO_ROOTNODE_HPP
diff --git a/src/share/vm/opto/runtime.cpp b/src/share/vm/opto/runtime.cpp
index 62a0c7871..c549b1ba4 100644
--- a/src/share/vm/opto/runtime.cpp
+++ b/src/share/vm/opto/runtime.cpp
@@ -22,8 +22,64 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_runtime.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/compiledIC.hpp"
+#include "code/icBuffer.hpp"
+#include "code/nmethod.hpp"
+#include "code/pcDesc.hpp"
+#include "code/scopeDesc.hpp"
+#include "code/vtableStubs.hpp"
+#include "compiler/compileBroker.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "compiler/oopMap.hpp"
+#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "interpreter/bytecode.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/barrierSet.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/graphKit.hpp"
+#include "opto/machnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/memnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/runtime.hpp"
+#include "opto/subnode.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/threadCritical.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframeArray.hpp"
+#include "runtime/vframe_hp.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/preserveException.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/ad_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/ad_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/ad_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/ad_zero.hpp"
+#endif
// For debugging purposes:
diff --git a/src/share/vm/opto/runtime.hpp b/src/share/vm/opto/runtime.hpp
index c50538530..4d0d21111 100644
--- a/src/share/vm/opto/runtime.hpp
+++ b/src/share/vm/opto/runtime.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_OPTO_RUNTIME_HPP
+#define SHARE_VM_OPTO_RUNTIME_HPP
+
+#include "code/codeBlob.hpp"
+#include "opto/machnode.hpp"
+#include "opto/type.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/vframe.hpp"
+
//------------------------------OptoRuntime------------------------------------
// Opto compiler runtime routines
//
@@ -298,3 +308,5 @@ private:
static void print_named_counters();
};
+
+#endif // SHARE_VM_OPTO_RUNTIME_HPP
diff --git a/src/share/vm/opto/split_if.cpp b/src/share/vm/opto/split_if.cpp
index 3008ac75a..91792368f 100644
--- a/src/share/vm/opto/split_if.cpp
+++ b/src/share/vm/opto/split_if.cpp
@@ -22,8 +22,11 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_split_if.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/callnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/loopnode.hpp"
//------------------------------split_thru_region------------------------------
diff --git a/src/share/vm/opto/stringopts.cpp b/src/share/vm/opto/stringopts.cpp
index 29df07f46..93516d5d0 100644
--- a/src/share/vm/opto/stringopts.cpp
+++ b/src/share/vm/opto/stringopts.cpp
@@ -22,8 +22,18 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_stringopts.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileLog.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callGenerator.hpp"
+#include "opto/callnode.hpp"
+#include "opto/divnode.hpp"
+#include "opto/graphKit.hpp"
+#include "opto/idealKit.hpp"
+#include "opto/rootnode.hpp"
+#include "opto/runtime.hpp"
+#include "opto/stringopts.hpp"
+#include "opto/subnode.hpp"
#define __ kit.
diff --git a/src/share/vm/opto/stringopts.hpp b/src/share/vm/opto/stringopts.hpp
index b93f8925a..1ffe6c309 100644
--- a/src/share/vm/opto/stringopts.hpp
+++ b/src/share/vm/opto/stringopts.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_OPTO_STRINGOPTS_HPP
+#define SHARE_VM_OPTO_STRINGOPTS_HPP
+
+#include "opto/node.hpp"
+#include "opto/phaseX.hpp"
+
class StringConcat;
class PhaseStringOpts : public Phase {
@@ -81,3 +87,5 @@ class PhaseStringOpts : public Phase {
public:
PhaseStringOpts(PhaseGVN* gvn, Unique_Node_List* worklist);
};
+
+#endif // SHARE_VM_OPTO_STRINGOPTS_HPP
diff --git a/src/share/vm/opto/subnode.cpp b/src/share/vm/opto/subnode.cpp
index 5696c6883..670b62972 100644
--- a/src/share/vm/opto/subnode.cpp
+++ b/src/share/vm/opto/subnode.cpp
@@ -22,12 +22,25 @@
*
*/
+#include "precompiled.hpp"
+#include "compiler/compileLog.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/cfgnode.hpp"
+#include "opto/connode.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/subnode.hpp"
+#include "runtime/sharedRuntime.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
-#include "incls/_precompiled.incl"
-#include "incls/_subnode.cpp.incl"
#include "math.h"
//=============================================================================
diff --git a/src/share/vm/opto/subnode.hpp b/src/share/vm/opto/subnode.hpp
index cf7fb560b..aea3d5dfe 100644
--- a/src/share/vm/opto/subnode.hpp
+++ b/src/share/vm/opto/subnode.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OPTO_SUBNODE_HPP
+#define SHARE_VM_OPTO_SUBNODE_HPP
+
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/type.hpp"
+
// Portions of code courtesy of Clifford Click
//------------------------------SUBNode----------------------------------------
@@ -529,3 +536,5 @@ public:
const Type *bottom_type() const { return TypeInt::SHORT; }
virtual uint ideal_reg() const { return Op_RegI; }
};
+
+#endif // SHARE_VM_OPTO_SUBNODE_HPP
diff --git a/src/share/vm/opto/superword.cpp b/src/share/vm/opto/superword.cpp
index fcb8f927f..1230ebe51 100644
--- a/src/share/vm/opto/superword.cpp
+++ b/src/share/vm/opto/superword.cpp
@@ -21,8 +21,19 @@
* questions.
*/
-#include "incls/_precompiled.incl"
-#include "incls/_superword.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileLog.hpp"
+#include "libadt/vectset.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/addnode.hpp"
+#include "opto/callnode.hpp"
+#include "opto/divnode.hpp"
+#include "opto/matcher.hpp"
+#include "opto/memnode.hpp"
+#include "opto/mulnode.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/superword.hpp"
+#include "opto/vectornode.hpp"
//
// S U P E R W O R D T R A N S F O R M
diff --git a/src/share/vm/opto/superword.hpp b/src/share/vm/opto/superword.hpp
index 59f245145..50ab3d43e 100644
--- a/src/share/vm/opto/superword.hpp
+++ b/src/share/vm/opto/superword.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -21,6 +21,16 @@
* questions.
*/
+#ifndef SHARE_VM_OPTO_SUPERWORD_HPP
+#define SHARE_VM_OPTO_SUPERWORD_HPP
+
+#include "opto/connode.hpp"
+#include "opto/loopnode.hpp"
+#include "opto/node.hpp"
+#include "opto/phaseX.hpp"
+#include "opto/vectornode.hpp"
+#include "utilities/growableArray.hpp"
+
//
// S U P E R W O R D T R A N S F O R M
//
@@ -507,3 +517,5 @@ class OrderedPair VALUE_OBJ_CLASS_SPEC {
static const OrderedPair initial;
};
+
+#endif // SHARE_VM_OPTO_SUPERWORD_HPP
diff --git a/src/share/vm/opto/type.cpp b/src/share/vm/opto/type.cpp
index 284159974..ac09b95c9 100644
--- a/src/share/vm/opto/type.cpp
+++ b/src/share/vm/opto/type.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,13 +22,28 @@
*
*/
+#include "precompiled.hpp"
+#include "ci/ciTypeFlow.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "compiler/compileLog.hpp"
+#include "libadt/dict.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/klassKlass.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/typeArrayKlass.hpp"
+#include "opto/matcher.hpp"
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+#include "opto/type.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
-#include "incls/_precompiled.incl"
-#include "incls/_type.cpp.incl"
-
// Dictionary of types shared among compilations.
Dict* Type::_shared_type_dict = NULL;
diff --git a/src/share/vm/opto/type.hpp b/src/share/vm/opto/type.hpp
index 779280237..d1c647fd1 100644
--- a/src/share/vm/opto/type.hpp
+++ b/src/share/vm/opto/type.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_OPTO_TYPE_HPP
+#define SHARE_VM_OPTO_TYPE_HPP
+
+#include "libadt/port.hpp"
+#include "opto/adlcVMDeps.hpp"
+#include "runtime/handles.hpp"
+
// Portions of code courtesy of Clifford Click
// Optimization - Graph Style
@@ -1288,3 +1295,5 @@ inline bool Type::is_floatingpoint() const {
#define ConvX2L(x) ConvI2L(x)
#endif
+
+#endif // SHARE_VM_OPTO_TYPE_HPP
diff --git a/src/share/vm/opto/vectornode.cpp b/src/share/vm/opto/vectornode.cpp
index c237fc3da..4d72b73a0 100644
--- a/src/share/vm/opto/vectornode.cpp
+++ b/src/share/vm/opto/vectornode.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -21,8 +21,10 @@
* questions.
*/
-#include "incls/_precompiled.incl"
-#include "incls/_vectornode.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "opto/connode.hpp"
+#include "opto/vectornode.hpp"
//------------------------------VectorNode--------------------------------------
diff --git a/src/share/vm/opto/vectornode.hpp b/src/share/vm/opto/vectornode.hpp
index a503aec6f..b4915ddfd 100644
--- a/src/share/vm/opto/vectornode.hpp
+++ b/src/share/vm/opto/vectornode.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -21,6 +21,14 @@
* questions.
*/
+#ifndef SHARE_VM_OPTO_VECTORNODE_HPP
+#define SHARE_VM_OPTO_VECTORNODE_HPP
+
+#include "opto/matcher.hpp"
+#include "opto/memnode.hpp"
+#include "opto/node.hpp"
+#include "opto/opcodes.hpp"
+
//------------------------------VectorNode--------------------------------------
// Vector Operation
class VectorNode : public Node {
@@ -1132,3 +1140,5 @@ class ExtractDNode : public ExtractNode {
virtual const Type *bottom_type() const { return Type::DOUBLE; }
virtual uint ideal_reg() const { return Op_RegD; }
};
+
+#endif // SHARE_VM_OPTO_VECTORNODE_HPP
diff --git a/src/share/vm/precompiled.hpp b/src/share/vm/precompiled.hpp
new file mode 100644
index 000000000..b8c33a669
--- /dev/null
+++ b/src/share/vm/precompiled.hpp
@@ -0,0 +1,327 @@
+/*
+ * Copyright (c) 2010, 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.
+ *
+ */
+
+# include "asm/assembler.hpp"
+# include "asm/assembler.inline.hpp"
+# include "asm/codeBuffer.hpp"
+# include "asm/register.hpp"
+# include "ci/ciArray.hpp"
+# include "ci/ciArrayKlass.hpp"
+# include "ci/ciClassList.hpp"
+# include "ci/ciConstant.hpp"
+# include "ci/ciConstantPoolCache.hpp"
+# include "ci/ciEnv.hpp"
+# include "ci/ciExceptionHandler.hpp"
+# include "ci/ciField.hpp"
+# include "ci/ciFlags.hpp"
+# include "ci/ciInstance.hpp"
+# include "ci/ciInstanceKlass.hpp"
+# include "ci/ciInstanceKlassKlass.hpp"
+# include "ci/ciKlass.hpp"
+# include "ci/ciKlassKlass.hpp"
+# include "ci/ciMethod.hpp"
+# include "ci/ciNullObject.hpp"
+# include "ci/ciObjArrayKlass.hpp"
+# include "ci/ciObject.hpp"
+# include "ci/ciObjectFactory.hpp"
+# include "ci/ciSignature.hpp"
+# include "ci/ciStreams.hpp"
+# include "ci/ciSymbol.hpp"
+# include "ci/ciType.hpp"
+# include "ci/ciTypeArrayKlass.hpp"
+# include "ci/ciUtilities.hpp"
+# include "ci/compilerInterface.hpp"
+# include "classfile/classFileParser.hpp"
+# include "classfile/classFileStream.hpp"
+# include "classfile/classLoader.hpp"
+# include "classfile/javaClasses.hpp"
+# include "classfile/symbolTable.hpp"
+# include "classfile/systemDictionary.hpp"
+# include "classfile/vmSymbols.hpp"
+# include "code/codeBlob.hpp"
+# include "code/codeCache.hpp"
+# include "code/compressedStream.hpp"
+# include "code/debugInfo.hpp"
+# include "code/debugInfoRec.hpp"
+# include "code/dependencies.hpp"
+# include "code/exceptionHandlerTable.hpp"
+# include "code/jvmticmlr.h"
+# include "code/location.hpp"
+# include "code/nmethod.hpp"
+# include "code/oopRecorder.hpp"
+# include "code/pcDesc.hpp"
+# include "code/relocInfo.hpp"
+# include "code/stubs.hpp"
+# include "code/vmreg.hpp"
+# include "compiler/disassembler.hpp"
+# include "compiler/methodLiveness.hpp"
+# include "compiler/oopMap.hpp"
+# include "gc_implementation/shared/adaptiveSizePolicy.hpp"
+# include "gc_implementation/shared/ageTable.hpp"
+# include "gc_implementation/shared/allocationStats.hpp"
+# include "gc_implementation/shared/cSpaceCounters.hpp"
+# include "gc_implementation/shared/collectorCounters.hpp"
+# include "gc_implementation/shared/gSpaceCounters.hpp"
+# include "gc_implementation/shared/gcStats.hpp"
+# include "gc_implementation/shared/gcUtil.hpp"
+# include "gc_implementation/shared/generationCounters.hpp"
+# include "gc_implementation/shared/immutableSpace.hpp"
+# include "gc_implementation/shared/markSweep.hpp"
+# include "gc_implementation/shared/markSweep.inline.hpp"
+# include "gc_implementation/shared/mutableSpace.hpp"
+# include "gc_implementation/shared/spaceCounters.hpp"
+# include "gc_implementation/shared/spaceDecorator.hpp"
+# include "gc_interface/collectedHeap.hpp"
+# include "gc_interface/collectedHeap.inline.hpp"
+# include "gc_interface/gcCause.hpp"
+# include "interpreter/abstractInterpreter.hpp"
+# include "interpreter/bytecode.hpp"
+# include "interpreter/bytecodeHistogram.hpp"
+# include "interpreter/bytecodeInterpreter.hpp"
+# include "interpreter/bytecodeInterpreter.inline.hpp"
+# include "interpreter/bytecodeTracer.hpp"
+# include "interpreter/bytecodes.hpp"
+# include "interpreter/cppInterpreter.hpp"
+# include "interpreter/interpreter.hpp"
+# include "interpreter/invocationCounter.hpp"
+# include "interpreter/linkResolver.hpp"
+# include "interpreter/templateInterpreter.hpp"
+# include "interpreter/templateTable.hpp"
+# include "jvmtifiles/jvmti.h"
+# include "memory/allocation.hpp"
+# include "memory/allocation.inline.hpp"
+# include "memory/barrierSet.hpp"
+# include "memory/barrierSet.inline.hpp"
+# include "memory/blockOffsetTable.hpp"
+# include "memory/blockOffsetTable.inline.hpp"
+# include "memory/cardTableModRefBS.hpp"
+# include "memory/collectorPolicy.hpp"
+# include "memory/compactingPermGenGen.hpp"
+# include "memory/defNewGeneration.hpp"
+# include "memory/gcLocker.hpp"
+# include "memory/genCollectedHeap.hpp"
+# include "memory/genOopClosures.hpp"
+# include "memory/genRemSet.hpp"
+# include "memory/generation.hpp"
+# include "memory/generation.inline.hpp"
+# include "memory/heap.hpp"
+# include "memory/iterator.hpp"
+# include "memory/memRegion.hpp"
+# include "memory/modRefBarrierSet.hpp"
+# include "memory/oopFactory.hpp"
+# include "memory/permGen.hpp"
+# include "memory/referencePolicy.hpp"
+# include "memory/referenceProcessor.hpp"
+# include "memory/resourceArea.hpp"
+# include "memory/sharedHeap.hpp"
+# include "memory/space.hpp"
+# include "memory/space.inline.hpp"
+# include "memory/specialized_oop_closures.hpp"
+# include "memory/threadLocalAllocBuffer.hpp"
+# include "memory/threadLocalAllocBuffer.inline.hpp"
+# include "memory/universe.hpp"
+# include "memory/universe.inline.hpp"
+# include "memory/watermark.hpp"
+# include "oops/arrayKlass.hpp"
+# include "oops/arrayOop.hpp"
+# include "oops/constMethodOop.hpp"
+# include "oops/constantPoolOop.hpp"
+# include "oops/cpCacheOop.hpp"
+# include "oops/instanceKlass.hpp"
+# include "oops/instanceOop.hpp"
+# include "oops/instanceRefKlass.hpp"
+# include "oops/klass.hpp"
+# include "oops/klassOop.hpp"
+# include "oops/klassPS.hpp"
+# include "oops/klassVtable.hpp"
+# include "oops/markOop.hpp"
+# include "oops/markOop.inline.hpp"
+# include "oops/methodDataOop.hpp"
+# include "oops/methodOop.hpp"
+# include "oops/objArrayKlass.hpp"
+# include "oops/objArrayOop.hpp"
+# include "oops/oop.hpp"
+# include "oops/oop.inline.hpp"
+# include "oops/oop.inline2.hpp"
+# include "oops/oopsHierarchy.hpp"
+# include "oops/symbolOop.hpp"
+# include "oops/typeArrayKlass.hpp"
+# include "oops/typeArrayOop.hpp"
+# include "prims/hpi_imported.h"
+# include "prims/jni.h"
+# include "prims/jvm.h"
+# include "prims/jvmtiExport.hpp"
+# include "prims/methodHandles.hpp"
+# include "runtime/arguments.hpp"
+# include "runtime/atomic.hpp"
+# include "runtime/deoptimization.hpp"
+# include "runtime/extendedPC.hpp"
+# include "runtime/fieldDescriptor.hpp"
+# include "runtime/fieldType.hpp"
+# include "runtime/frame.hpp"
+# include "runtime/frame.inline.hpp"
+# include "runtime/globals.hpp"
+# include "runtime/globals_extension.hpp"
+# include "runtime/handles.hpp"
+# include "runtime/handles.inline.hpp"
+# include "runtime/hpi.hpp"
+# include "runtime/icache.hpp"
+# include "runtime/init.hpp"
+# include "runtime/interfaceSupport.hpp"
+# include "runtime/java.hpp"
+# include "runtime/javaCalls.hpp"
+# include "runtime/javaFrameAnchor.hpp"
+# include "runtime/jniHandles.hpp"
+# include "runtime/monitorChunk.hpp"
+# include "runtime/mutex.hpp"
+# include "runtime/mutexLocker.hpp"
+# include "runtime/objectMonitor.hpp"
+# include "runtime/orderAccess.hpp"
+# include "runtime/os.hpp"
+# include "runtime/osThread.hpp"
+# include "runtime/perfData.hpp"
+# include "runtime/perfMemory.hpp"
+# include "runtime/prefetch.hpp"
+# include "runtime/reflection.hpp"
+# include "runtime/reflectionCompat.hpp"
+# include "runtime/reflectionUtils.hpp"
+# include "runtime/registerMap.hpp"
+# include "runtime/safepoint.hpp"
+# include "runtime/sharedRuntime.hpp"
+# include "runtime/signature.hpp"
+# include "runtime/stackValue.hpp"
+# include "runtime/stackValueCollection.hpp"
+# include "runtime/stubCodeGenerator.hpp"
+# include "runtime/stubRoutines.hpp"
+# include "runtime/synchronizer.hpp"
+# include "runtime/thread.hpp"
+# include "runtime/threadLocalStorage.hpp"
+# include "runtime/timer.hpp"
+# include "runtime/unhandledOops.hpp"
+# include "runtime/vframe.hpp"
+# include "runtime/virtualspace.hpp"
+# include "runtime/vmThread.hpp"
+# include "runtime/vm_operations.hpp"
+# include "runtime/vm_version.hpp"
+# include "services/lowMemoryDetector.hpp"
+# include "services/memoryPool.hpp"
+# include "services/memoryService.hpp"
+# include "services/memoryUsage.hpp"
+# include "utilities/accessFlags.hpp"
+# include "utilities/array.hpp"
+# include "utilities/bitMap.hpp"
+# include "utilities/bitMap.inline.hpp"
+# include "utilities/constantTag.hpp"
+# include "utilities/copy.hpp"
+# include "utilities/debug.hpp"
+# include "utilities/exceptions.hpp"
+# include "utilities/globalDefinitions.hpp"
+# include "utilities/growableArray.hpp"
+# include "utilities/hashtable.hpp"
+# include "utilities/histogram.hpp"
+# include "utilities/macros.hpp"
+# include "utilities/numberSeq.hpp"
+# include "utilities/ostream.hpp"
+# include "utilities/preserveException.hpp"
+# include "utilities/sizes.hpp"
+# include "utilities/taskqueue.hpp"
+# include "utilities/top.hpp"
+# include "utilities/utf8.hpp"
+# include "utilities/workgroup.hpp"
+# include "utilities/yieldingWorkgroup.hpp"
+#ifdef COMPILER2
+# include "libadt/dict.hpp"
+# include "libadt/port.hpp"
+# include "libadt/set.hpp"
+# include "libadt/vectset.hpp"
+# include "opto/addnode.hpp"
+# include "opto/adlcVMDeps.hpp"
+# include "opto/block.hpp"
+# include "opto/c2_globals.hpp"
+# include "opto/callnode.hpp"
+# include "opto/cfgnode.hpp"
+# include "opto/compile.hpp"
+# include "opto/connode.hpp"
+# include "opto/idealGraphPrinter.hpp"
+# include "opto/loopnode.hpp"
+# include "opto/machnode.hpp"
+# include "opto/matcher.hpp"
+# include "opto/memnode.hpp"
+# include "opto/mulnode.hpp"
+# include "opto/multnode.hpp"
+# include "opto/node.hpp"
+# include "opto/opcodes.hpp"
+# include "opto/optoreg.hpp"
+# include "opto/phase.hpp"
+# include "opto/phaseX.hpp"
+# include "opto/regalloc.hpp"
+# include "opto/regmask.hpp"
+# include "opto/runtime.hpp"
+# include "opto/subnode.hpp"
+# include "opto/type.hpp"
+# include "opto/vectornode.hpp"
+#endif // COMPILER2
+#ifdef COMPILER1
+# include "c1/c1_Compilation.hpp"
+# include "c1/c1_Defs.hpp"
+# include "c1/c1_FrameMap.hpp"
+# include "c1/c1_LIR.hpp"
+# include "c1/c1_MacroAssembler.hpp"
+# include "c1/c1_ValueType.hpp"
+# include "c1/c1_globals.hpp"
+#endif // COMPILER1
+#ifndef SERIALGC
+# include "gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp"
+# include "gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp"
+# include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp"
+# include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
+# include "gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp"
+# include "gc_implementation/concurrentMarkSweep/freeChunk.hpp"
+# include "gc_implementation/concurrentMarkSweep/freeList.hpp"
+# include "gc_implementation/concurrentMarkSweep/promotionInfo.hpp"
+# include "gc_implementation/g1/dirtyCardQueue.hpp"
+# include "gc_implementation/g1/g1BlockOffsetTable.hpp"
+# include "gc_implementation/g1/g1BlockOffsetTable.inline.hpp"
+# include "gc_implementation/g1/g1OopClosures.hpp"
+# include "gc_implementation/g1/g1_globals.hpp"
+# include "gc_implementation/g1/g1_specialized_oop_closures.hpp"
+# include "gc_implementation/g1/ptrQueue.hpp"
+# include "gc_implementation/g1/satbQueue.hpp"
+# include "gc_implementation/parNew/parGCAllocBuffer.hpp"
+# include "gc_implementation/parNew/parOopClosures.hpp"
+# include "gc_implementation/parallelScavenge/objectStartArray.hpp"
+# include "gc_implementation/parallelScavenge/parMarkBitMap.hpp"
+# include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+# include "gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp"
+# include "gc_implementation/parallelScavenge/psCompactionManager.hpp"
+# include "gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp"
+# include "gc_implementation/parallelScavenge/psGenerationCounters.hpp"
+# include "gc_implementation/parallelScavenge/psOldGen.hpp"
+# include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+# include "gc_implementation/parallelScavenge/psPermGen.hpp"
+# include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+# include "gc_implementation/parallelScavenge/psYoungGen.hpp"
+# include "gc_implementation/shared/gcAdaptivePolicyCounters.hpp"
+# include "gc_implementation/shared/gcPolicyCounters.hpp"
+#endif // SERIALGC
diff --git a/src/share/vm/prims/evmCompat.cpp b/src/share/vm/prims/evmCompat.cpp
index ae8aaac37..d0c4b9ff4 100644
--- a/src/share/vm/prims/evmCompat.cpp
+++ b/src/share/vm/prims/evmCompat.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,14 +22,14 @@
*
*/
+#include "precompiled.hpp"
+#include "utilities/debug.hpp"
+
// This file contains definitions for functions that exist
// in the ExactVM, but not in HotSpot. They are stubbed out
// here to prevent linker errors when attempting to use HotSpot
// with the ExactVM jdk.
-# include "incls/_precompiled.incl"
-# include "incls/_evmCompat.cpp.incl"
-
extern "C" void JVM_Process_DestroyProcess(void);
extern "C" void JVM_Process_ForkAndExec(void);
extern "C" void JVM_Process_WaitForProcessExit(void);
diff --git a/src/share/vm/prims/forte.cpp b/src/share/vm/prims/forte.cpp
index d04d4c515..c1cb55312 100644
--- a/src/share/vm/prims/forte.cpp
+++ b/src/share/vm/prims/forte.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,18 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_forte.cpp.incl"
+#include "precompiled.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/pcDesc.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/space.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "prims/forte.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframeArray.hpp"
// These name match the names reported by the forte quality kit
enum {
diff --git a/src/share/vm/prims/forte.hpp b/src/share/vm/prims/forte.hpp
index fbc9674c3..9631faeb1 100644
--- a/src/share/vm/prims/forte.hpp
+++ b/src/share/vm/prims/forte.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_PRIMS_FORTE_HPP
+#define SHARE_VM_PRIMS_FORTE_HPP
+
// Interface to Forte support.
class Forte : AllStatic {
@@ -30,3 +33,5 @@ class Forte : AllStatic {
KERNEL_RETURN;
// register internal VM stub
};
+
+#endif // SHARE_VM_PRIMS_FORTE_HPP
diff --git a/src/share/vm/prims/hpi_imported.h b/src/share/vm/prims/hpi_imported.h
index 9d95ed795..d6620985f 100644
--- a/src/share/vm/prims/hpi_imported.h
+++ b/src/share/vm/prims/hpi_imported.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -36,8 +36,10 @@
* The files are included verbatim expect for local includes removed from hpi.h.
*/
-#ifndef _JAVASOFT_HPI_H_
-#define _JAVASOFT_HPI_H_
+#ifndef SHARE_VM_PRIMS_HPI_IMPORTED_H
+#define SHARE_VM_PRIMS_HPI_IMPORTED_H
+
+#include "jni.h"
#ifdef __cplusplus
extern "C" {
@@ -314,4 +316,4 @@ typedef struct vm_calls {
}
#endif
-#endif /* !_JAVASOFT_HPI_H_ */
+#endif // SHARE_VM_PRIMS_HPI_IMPORTED_H
diff --git a/src/share/vm/prims/jni.cpp b/src/share/vm/prims/jni.cpp
index b9961726b..e716546d0 100644
--- a/src/share/vm/prims/jni.cpp
+++ b/src/share/vm/prims/jni.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,72 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jni.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classLoader.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/instanceOop.hpp"
+#include "oops/markOop.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "oops/typeArrayKlass.hpp"
+#include "oops/typeArrayOop.hpp"
+#include "prims/jni.h"
+#include "prims/jniCheck.hpp"
+#include "prims/jniFastGetField.hpp"
+#include "prims/jvm.h"
+#include "prims/jvm_misc.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/jvmtiThreadState.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/fieldDescriptor.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/jfieldIDWorkaround.hpp"
+#include "runtime/reflection.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/vm_operations.hpp"
+#include "services/runtimeService.hpp"
+#include "utilities/defaultStream.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/events.hpp"
+#include "utilities/histogram.hpp"
+#ifdef TARGET_ARCH_x86
+# include "jniTypes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "jniTypes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "jniTypes_zero.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+# include "thread_windows.inline.hpp"
+#endif
static jint CurrentVersion = JNI_VERSION_1_6;
diff --git a/src/share/vm/prims/jni.h b/src/share/vm/prims/jni.h
index 4a5ac3361..a67c2e540 100644
--- a/src/share/vm/prims/jni.h
+++ b/src/share/vm/prims/jni.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
diff --git a/src/share/vm/prims/jniCheck.cpp b/src/share/vm/prims/jniCheck.cpp
index ef798569f..43a84089e 100644
--- a/src/share/vm/prims/jniCheck.cpp
+++ b/src/share/vm/prims/jniCheck.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,29 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jniCheck.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "prims/jni.h"
+#include "prims/jniCheck.hpp"
+#include "prims/jvm_misc.hpp"
+#include "runtime/fieldDescriptor.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/jfieldIDWorkaround.hpp"
+#include "runtime/thread.hpp"
+#ifdef TARGET_ARCH_x86
+# include "jniTypes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "jniTypes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "jniTypes_zero.hpp"
+#endif
// Heap objects are allowed to be directly referenced only in VM code,
diff --git a/src/share/vm/prims/jniCheck.hpp b/src/share/vm/prims/jniCheck.hpp
index 85f871ddb..92f9b1398 100644
--- a/src/share/vm/prims/jniCheck.hpp
+++ b/src/share/vm/prims/jniCheck.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JNICHECK_HPP
+#define SHARE_VM_PRIMS_JNICHECK_HPP
+
+#ifndef KERNEL
+#include "runtime/thread.hpp"
+#endif
+
extern "C" {
// Report a JNI failure caught by -Xcheck:jni. Perform a core dump.
// Note: two variations -- one to be called when in VM state (e.g. when
@@ -50,3 +57,5 @@ class jniCheck : public AllStatic {
static void validate_call_class(JavaThread* thr, jclass clazz, jmethodID method_id);
static methodOop validate_jmethod_id(JavaThread* thr, jmethodID method_id);
};
+
+#endif // SHARE_VM_PRIMS_JNICHECK_HPP
diff --git a/src/share/vm/prims/jniFastGetField.cpp b/src/share/vm/prims/jniFastGetField.cpp
index ddd6d2a7e..7418458e3 100644
--- a/src/share/vm/prims/jniFastGetField.cpp
+++ b/src/share/vm/prims/jniFastGetField.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jniFastGetField.cpp.incl"
+#include "precompiled.hpp"
+#include "prims/jniFastGetField.hpp"
address JNI_FastGetField::speculative_load_pclist [LIST_CAPACITY];
address JNI_FastGetField::slowcase_entry_pclist [LIST_CAPACITY];
diff --git a/src/share/vm/prims/jniFastGetField.hpp b/src/share/vm/prims/jniFastGetField.hpp
index c04ff9182..e8e65d417 100644
--- a/src/share/vm/prims/jniFastGetField.hpp
+++ b/src/share/vm/prims/jniFastGetField.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JNIFASTGETFIELD_HPP
+#define SHARE_VM_PRIMS_JNIFASTGETFIELD_HPP
+
+#include "memory/allocation.hpp"
+#include "prims/jvm_misc.hpp"
+
// Basic logic of a fast version of jni_Get<Primitive>Field:
//
// (See safepoint.hpp for a description of _safepoint_counter)
@@ -92,3 +98,5 @@ class JNI_FastGetField : AllStatic {
// for example, for debugging purpose, in which case we need the mapping also.
static address find_slowcase_pc(address pc);
};
+
+#endif // SHARE_VM_PRIMS_JNIFASTGETFIELD_HPP
diff --git a/src/share/vm/prims/jni_md.h b/src/share/vm/prims/jni_md.h
index b41c7354b..3cf4017f4 100644
--- a/src/share/vm/prims/jni_md.h
+++ b/src/share/vm/prims/jni_md.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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,7 +24,16 @@
*/
/* Switch to the correct jni_md.h file without reliance on -I options. */
-#include "incls/_jni_pd.h.incl"
+#ifdef TARGET_ARCH_x86
+# include "jni_x86.h"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "jni_sparc.h"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "jni_zero.h"
+#endif
+
/*
The local copies of JNI header files may be refreshed
diff --git a/src/share/vm/prims/jvm.cpp b/src/share/vm/prims/jvm.cpp
index 57f9ce385..64d1640d6 100644
--- a/src/share/vm/prims/jvm.cpp
+++ b/src/share/vm/prims/jvm.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,61 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_jvm.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classLoader.hpp"
+#include "classfile/javaAssertions.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "prims/jvm.h"
+#include "prims/jvm_misc.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/jvmtiThreadState.hpp"
+#include "prims/nativeLookup.hpp"
+#include "prims/privilegedStack.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/dtraceJSDT.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/hpi.hpp"
+#include "runtime/init.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/jfieldIDWorkaround.hpp"
+#include "runtime/os.hpp"
+#include "runtime/perfData.hpp"
+#include "runtime/reflection.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vm_operations.hpp"
+#include "services/attachListener.hpp"
+#include "services/management.hpp"
+#include "services/threadService.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/defaultStream.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/events.hpp"
+#include "utilities/histogram.hpp"
+#include "utilities/top.hpp"
+#include "utilities/utf8.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "hpi_linux.hpp"
+# include "jvm_linux.h"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "hpi_solaris.hpp"
+# include "jvm_solaris.h"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "hpi_windows.hpp"
+# include "jvm_windows.h"
+#endif
+
#include <errno.h>
HS_DTRACE_PROBE_DECL1(hotspot, thread__sleep__begin, long long);
diff --git a/src/share/vm/prims/jvm.h b/src/share/vm/prims/jvm.h
index 8bd1ac82b..d8318cece 100644
--- a/src/share/vm/prims/jvm.h
+++ b/src/share/vm/prims/jvm.h
@@ -22,6 +22,22 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVM_H
+#define SHARE_VM_PRIMS_JVM_H
+
+#include "prims/jni.h"
+#include "runtime/reflectionCompat.hpp"
+#include "utilities/globalDefinitions.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "jvm_linux.h"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "jvm_solaris.h"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "jvm_windows.h"
+#endif
+
#ifndef _JAVASOFT_JVM_H_
#define _JAVASOFT_JVM_H_
@@ -1705,3 +1721,5 @@ typedef struct JDK1_1InitArgs {
#endif /* __cplusplus */
#endif /* !_JAVASOFT_JVM_H_ */
+
+#endif // SHARE_VM_PRIMS_JVM_H
diff --git a/src/share/vm/prims/jvm_misc.hpp b/src/share/vm/prims/jvm_misc.hpp
index b5a39193b..2a2fb1eea 100644
--- a/src/share/vm/prims/jvm_misc.hpp
+++ b/src/share/vm/prims/jvm_misc.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVM_MISC_HPP
+#define SHARE_VM_PRIMS_JVM_MISC_HPP
+
+#include "prims/jni.h"
+#include "runtime/handles.hpp"
+
// Useful entry points shared by JNI and JVM interface.
// We do not allow real JNI or JVM entry point to call each other.
@@ -87,3 +93,5 @@ address jni_GetIntField_addr();
address jni_GetLongField_addr();
address jni_GetFloatField_addr();
address jni_GetDoubleField_addr();
+
+#endif // SHARE_VM_PRIMS_JVM_MISC_HPP
diff --git a/src/share/vm/prims/jvmtiAgentThread.hpp b/src/share/vm/prims/jvmtiAgentThread.hpp
index ec4491f53..5fbec10c0 100644
--- a/src/share/vm/prims/jvmtiAgentThread.hpp
+++ b/src/share/vm/prims/jvmtiAgentThread.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTIAGENTTHREAD_HPP
+#define SHARE_VM_PRIMS_JVMTIAGENTTHREAD_HPP
+
+#include "jvmtifiles/jvmtiEnv.hpp"
+
//
// class JvmtiAgentThread
//
@@ -42,3 +47,5 @@ public:
static void start_function_wrapper(JavaThread *thread, TRAPS);
void call_start_function();
};
+
+#endif // SHARE_VM_PRIMS_JVMTIAGENTTHREAD_HPP
diff --git a/src/share/vm/prims/jvmtiClassFileReconstituter.cpp b/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
index e8ac72d4a..191d97ec6 100644
--- a/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
+++ b/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
@@ -21,9 +21,21 @@
* questions.
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiClassFileReconstituter.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "interpreter/bytecodeStream.hpp"
+#include "prims/jvmtiClassFileReconstituter.hpp"
+#include "runtime/signature.hpp"
+#ifdef TARGET_ARCH_x86
+# include "bytes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytes_zero.hpp"
+#endif
// FIXME: add Deprecated, LVT, LVTT attributes
// FIXME: fix Synthetic attribute
// FIXME: per Serguei, add error return handling for constantPoolOopDesc::copy_cpool_bytes()
diff --git a/src/share/vm/prims/jvmtiClassFileReconstituter.hpp b/src/share/vm/prims/jvmtiClassFileReconstituter.hpp
index 325c0616c..9fa1395b1 100644
--- a/src/share/vm/prims/jvmtiClassFileReconstituter.hpp
+++ b/src/share/vm/prims/jvmtiClassFileReconstituter.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTICLASSFILERECONSTITUTER_HPP
+#define SHARE_VM_PRIMS_JVMTICLASSFILERECONSTITUTER_HPP
+
+#include "jvmtifiles/jvmtiEnv.hpp"
+
class JvmtiConstantPoolReconstituter : public StackObj {
private:
@@ -144,3 +149,5 @@ class JvmtiClassFileReconstituter : public JvmtiConstantPoolReconstituter {
static void copy_bytecodes(methodHandle method, unsigned char* bytecodes);
};
+
+#endif // SHARE_VM_PRIMS_JVMTICLASSFILERECONSTITUTER_HPP
diff --git a/src/share/vm/prims/jvmtiCodeBlobEvents.cpp b/src/share/vm/prims/jvmtiCodeBlobEvents.cpp
index f742a99e9..7f20ec3ae 100644
--- a/src/share/vm/prims/jvmtiCodeBlobEvents.cpp
+++ b/src/share/vm/prims/jvmtiCodeBlobEvents.cpp
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiCodeBlobEvents.cpp.incl"
+#include "precompiled.hpp"
+#include "code/codeBlob.hpp"
+#include "code/codeCache.hpp"
+#include "code/scopeDesc.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiCodeBlobEvents.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/vmThread.hpp"
// Support class to collect a list of the non-nmethod CodeBlobs in
// the CodeCache.
diff --git a/src/share/vm/prims/jvmtiCodeBlobEvents.hpp b/src/share/vm/prims/jvmtiCodeBlobEvents.hpp
index a6448a65e..92adaaf80 100644
--- a/src/share/vm/prims/jvmtiCodeBlobEvents.hpp
+++ b/src/share/vm/prims/jvmtiCodeBlobEvents.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-#ifndef _JVMTI_CODE_BLOB_EVENTS_H_
-#define _JVMTI_CODE_BLOB_EVENTS_H_
+#ifndef SHARE_VM_PRIMS_JVMTICODEBLOBEVENTS_HPP
+#define SHARE_VM_PRIMS_JVMTICODEBLOBEVENTS_HPP
+
+#ifndef JVMTI_KERNEL
+#include "jvmtifiles/jvmti.h"
+#endif
// forward declaration
class JvmtiEnv;
@@ -51,4 +55,4 @@ class JvmtiCodeBlobEvents : public AllStatic {
jint *map_length);
};
-#endif
+#endif // SHARE_VM_PRIMS_JVMTICODEBLOBEVENTS_HPP
diff --git a/src/share/vm/prims/jvmtiEnter.hpp b/src/share/vm/prims/jvmtiEnter.hpp
index 31f5c2fa9..f9863534f 100644
--- a/src/share/vm/prims/jvmtiEnter.hpp
+++ b/src/share/vm/prims/jvmtiEnter.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -21,3 +21,14 @@
* questions.
*
*/
+
+#ifndef SHARE_VM_PRIMS_JVMTIENTER_HPP
+#define SHARE_VM_PRIMS_JVMTIENTER_HPP
+
+#include "classfile/systemDictionary.hpp"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "memory/resourceArea.hpp"
+#include "prims/jvmtiImpl.hpp"
+#include "runtime/interfaceSupport.hpp"
+
+#endif // SHARE_VM_PRIMS_JVMTIENTER_HPP
diff --git a/src/share/vm/prims/jvmtiEnter.xsl b/src/share/vm/prims/jvmtiEnter.xsl
index cb9b9b308..1dc3de8ae 100644
--- a/src/share/vm/prims/jvmtiEnter.xsl
+++ b/src/share/vm/prims/jvmtiEnter.xsl
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!--
- Copyright (c) 2002, 2006, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2002, 2010, 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
@@ -36,8 +36,10 @@
<xsl:template match="specification">
<xsl:call-template name="sourceHeader"/>
<xsl:text>
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiEnter.cpp.incl"
+# include "precompiled.hpp"
+# include "prims/jvmtiEnter.hpp"
+# include "prims/jvmtiRawMonitor.hpp"
+# include "prims/jvmtiUtil.hpp"
</xsl:text>
diff --git a/src/share/vm/prims/jvmtiEnv.cpp b/src/share/vm/prims/jvmtiEnv.cpp
index 3c3477133..8975ce19d 100644
--- a/src/share/vm/prims/jvmtiEnv.cpp
+++ b/src/share/vm/prims/jvmtiEnv.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,9 +22,53 @@
*
*/
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "interpreter/bytecodeStream.hpp"
+#include "interpreter/interpreter.hpp"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/cpCacheOop.hpp"
+#include "oops/instanceKlass.hpp"
+#include "prims/jniCheck.hpp"
+#include "prims/jvm_misc.hpp"
+#include "prims/jvmtiAgentThread.hpp"
+#include "prims/jvmtiClassFileReconstituter.hpp"
+#include "prims/jvmtiCodeBlobEvents.hpp"
+#include "prims/jvmtiExtensions.hpp"
+#include "prims/jvmtiGetLoadedClasses.hpp"
+#include "prims/jvmtiImpl.hpp"
+#include "prims/jvmtiManageCapabilities.hpp"
+#include "prims/jvmtiRawMonitor.hpp"
+#include "prims/jvmtiRedefineClasses.hpp"
+#include "prims/jvmtiTagMap.hpp"
+#include "prims/jvmtiThreadState.inline.hpp"
+#include "prims/jvmtiUtil.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/jfieldIDWorkaround.hpp"
+#include "runtime/osThread.hpp"
+#include "runtime/reflectionUtils.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vmThread.hpp"
+#include "services/threadService.hpp"
+#include "utilities/exceptions.hpp"
+#include "utilities/preserveException.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiEnv.cpp.incl"
#define FIXLATER 0 // REMOVE this when completed.
diff --git a/src/share/vm/prims/jvmtiEnv.xsl b/src/share/vm/prims/jvmtiEnv.xsl
index 80670f351..44d8f271a 100644
--- a/src/share/vm/prims/jvmtiEnv.xsl
+++ b/src/share/vm/prims/jvmtiEnv.xsl
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!--
- Copyright (c) 2002, 2006, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2002, 2010, 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
@@ -36,8 +36,6 @@
<xsl:template match="specification">
<xsl:call-template name="sourceHeader"/>
<xsl:text>
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiEnv.cpp.incl"
// end file prefix - do not modify or remove this line
</xsl:text>
diff --git a/src/share/vm/prims/jvmtiEnvBase.cpp b/src/share/vm/prims/jvmtiEnvBase.cpp
index 53af49971..871bec2e6 100644
--- a/src/share/vm/prims/jvmtiEnvBase.cpp
+++ b/src/share/vm/prims/jvmtiEnvBase.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -21,9 +21,30 @@
* questions.
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiEnvBase.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "prims/jvmtiEnvBase.hpp"
+#include "prims/jvmtiEventController.inline.hpp"
+#include "prims/jvmtiExtensions.hpp"
+#include "prims/jvmtiImpl.hpp"
+#include "prims/jvmtiManageCapabilities.hpp"
+#include "prims/jvmtiTagMap.hpp"
+#include "prims/jvmtiThreadState.inline.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/jfieldIDWorkaround.hpp"
+#include "runtime/objectMonitor.hpp"
+#include "runtime/objectMonitor.inline.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframe_hp.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
///////////////////////////////////////////////////////////////
//
diff --git a/src/share/vm/prims/jvmtiEnvBase.hpp b/src/share/vm/prims/jvmtiEnvBase.hpp
index 35351e242..4bded5dbc 100644
--- a/src/share/vm/prims/jvmtiEnvBase.hpp
+++ b/src/share/vm/prims/jvmtiEnvBase.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-#ifndef _JAVA_JVMTIENVBASE_H_
-#define _JAVA_JVMTIENVBASE_H_
+#ifndef SHARE_VM_PRIMS_JVMTIENVBASE_HPP
+#define SHARE_VM_PRIMS_JVMTIENVBASE_HPP
+
+#include "classfile/classLoader.hpp"
+#include "prims/jvmtiEnvThreadState.hpp"
+#include "prims/jvmtiEventController.hpp"
+#include "prims/jvmtiThreadState.hpp"
+#include "runtime/fieldDescriptor.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/vm_operations.hpp"
+#include "utilities/growableArray.hpp"
//
// Forward Declarations
@@ -597,4 +608,4 @@ class JvmtiMonitorClosure: public MonitorClosure {
jvmtiError error() { return _error;}
};
-#endif /* _JAVA_JVMTIENVBASE_H_ */
+#endif // SHARE_VM_PRIMS_JVMTIENVBASE_HPP
diff --git a/src/share/vm/prims/jvmtiEnvThreadState.cpp b/src/share/vm/prims/jvmtiEnvThreadState.cpp
index 3aea115ba..9df767eb6 100644
--- a/src/share/vm/prims/jvmtiEnvThreadState.cpp
+++ b/src/share/vm/prims/jvmtiEnvThreadState.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,21 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiEnvThreadState.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "interpreter/interpreter.hpp"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "memory/resourceArea.hpp"
+#include "prims/jvmtiEnvThreadState.hpp"
+#include "prims/jvmtiEventController.inline.hpp"
+#include "prims/jvmtiImpl.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vm_operations.hpp"
///////////////////////////////////////////////////////////////
diff --git a/src/share/vm/prims/jvmtiEnvThreadState.hpp b/src/share/vm/prims/jvmtiEnvThreadState.hpp
index b0ebb0667..e2273df08 100644
--- a/src/share/vm/prims/jvmtiEnvThreadState.hpp
+++ b/src/share/vm/prims/jvmtiEnvThreadState.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -21,8 +21,17 @@
* questions.
*
*/
-#ifndef _JAVA_JVMTIENVTHREADSTATE_H_
-#define _JAVA_JVMTIENVTHREADSTATE_H_
+
+#ifndef SHARE_VM_PRIMS_JVMTIENVTHREADSTATE_HPP
+#define SHARE_VM_PRIMS_JVMTIENVTHREADSTATE_HPP
+
+#include "jvmtifiles/jvmti.h"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "prims/jvmtiEventController.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/growableArray.hpp"
class JvmtiEnv;
@@ -174,4 +183,4 @@ public:
};
-#endif /* _JAVA_JVMTIENVTHREADSTATE_H_ */
+#endif // SHARE_VM_PRIMS_JVMTIENVTHREADSTATE_HPP
diff --git a/src/share/vm/prims/jvmtiEventController.cpp b/src/share/vm/prims/jvmtiEventController.cpp
index 60d022714..0e32f85c1 100644
--- a/src/share/vm/prims/jvmtiEventController.cpp
+++ b/src/share/vm/prims/jvmtiEventController.cpp
@@ -22,8 +22,21 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiEventController.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/interpreter.hpp"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "memory/resourceArea.hpp"
+#include "prims/jvmtiEventController.hpp"
+#include "prims/jvmtiEventController.inline.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/jvmtiImpl.hpp"
+#include "prims/jvmtiThreadState.inline.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframe_hp.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
#ifdef JVMTI_TRACE
#define EC_TRACE(out) if (JvmtiTrace::trace_event_controller()) { SafeResourceMark rm; tty->print_cr out; } while (0)
diff --git a/src/share/vm/prims/jvmtiEventController.hpp b/src/share/vm/prims/jvmtiEventController.hpp
index 969c318fd..90b000ccf 100644
--- a/src/share/vm/prims/jvmtiEventController.hpp
+++ b/src/share/vm/prims/jvmtiEventController.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-#ifndef _JAVA_JVMTI_EVENT_CONTROLLER_H_
-#define _JAVA_JVMTI_EVENT_CONTROLLER_H_
+#ifndef SHARE_VM_PRIMS_JVMTIEVENTCONTROLLER_HPP
+#define SHARE_VM_PRIMS_JVMTIEVENTCONTROLLER_HPP
+
+#include "jvmtifiles/jvmti.h"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "utilities/globalDefinitions.hpp"
// forward declaration
class JvmtiEventControllerPrivate;
@@ -237,4 +242,4 @@ public:
static void vm_death();
};
-#endif /* _JAVA_JVMTI_EVENT_CONTROLLER_H_ */
+#endif // SHARE_VM_PRIMS_JVMTIEVENTCONTROLLER_HPP
diff --git a/src/share/vm/prims/jvmtiEventController.inline.hpp b/src/share/vm/prims/jvmtiEventController.inline.hpp
index c2f839d6b..b87ebb7cc 100644
--- a/src/share/vm/prims/jvmtiEventController.inline.hpp
+++ b/src/share/vm/prims/jvmtiEventController.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTIEVENTCONTROLLER_INLINE_HPP
+#define SHARE_VM_PRIMS_JVMTIEVENTCONTROLLER_INLINE_HPP
+
+#include "prims/jvmtiEventController.hpp"
+#include "prims/jvmtiImpl.hpp"
+#include "prims/jvmtiUtil.hpp"
+
// these inline functions are in a separate file to break include cycles
@@ -99,3 +106,5 @@ inline void JvmtiEnvEventEnable::set_user_enabled(jvmtiEvent event_type, bool en
inline bool JvmtiEventController::is_enabled(jvmtiEvent event_type) {
return _universal_global_event_enabled.is_enabled(event_type);
}
+
+#endif // SHARE_VM_PRIMS_JVMTIEVENTCONTROLLER_INLINE_HPP
diff --git a/src/share/vm/prims/jvmtiExport.cpp b/src/share/vm/prims/jvmtiExport.cpp
index d07f5902b..78d0613ed 100644
--- a/src/share/vm/prims/jvmtiExport.cpp
+++ b/src/share/vm/prims/jvmtiExport.cpp
@@ -22,8 +22,37 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiExport.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/nmethod.hpp"
+#include "code/pcDesc.hpp"
+#include "code/scopeDesc.hpp"
+#include "interpreter/interpreter.hpp"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "prims/jvmtiCodeBlobEvents.hpp"
+#include "prims/jvmtiEventController.hpp"
+#include "prims/jvmtiEventController.inline.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/jvmtiImpl.hpp"
+#include "prims/jvmtiManageCapabilities.hpp"
+#include "prims/jvmtiRawMonitor.hpp"
+#include "prims/jvmtiTagMap.hpp"
+#include "prims/jvmtiThreadState.inline.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/objectMonitor.hpp"
+#include "runtime/objectMonitor.inline.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/vframe.hpp"
+#include "services/attachListener.hpp"
+#include "services/serviceUtil.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/parallelScavenge/psMarkSweep.hpp"
+#endif
#ifdef JVMTI_TRACE
#define EVT_TRACE(evt,out) if ((JvmtiTrace::event_trace_flags(evt) & JvmtiTrace::SHOW_EVENT_SENT) != 0) { SafeResourceMark rm; tty->print_cr out; }
diff --git a/src/share/vm/prims/jvmtiExport.hpp b/src/share/vm/prims/jvmtiExport.hpp
index 57d1fb530..bc9d5da9f 100644
--- a/src/share/vm/prims/jvmtiExport.hpp
+++ b/src/share/vm/prims/jvmtiExport.hpp
@@ -22,8 +22,19 @@
*
*/
-#ifndef _JAVA_JVMTIEXPORT_H_
-#define _JAVA_JVMTIEXPORT_H_
+#ifndef SHARE_VM_PRIMS_JVMTIEXPORT_HPP
+#define SHARE_VM_PRIMS_JVMTIEXPORT_HPP
+
+#include "code/jvmticmlr.h"
+#include "jvmtifiles/jvmti.h"
+#include "memory/allocation.hpp"
+#include "memory/iterator.hpp"
+#include "oops/oop.hpp"
+#include "oops/oopsHierarchy.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/handles.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/growableArray.hpp"
// Forward declarations
@@ -553,4 +564,4 @@ class JvmtiHideSingleStepping : public StackObj {
}
};
-#endif /* _JAVA_JVMTIEXPORT_H_ */
+#endif // SHARE_VM_PRIMS_JVMTIEXPORT_HPP
diff --git a/src/share/vm/prims/jvmtiExtensions.cpp b/src/share/vm/prims/jvmtiExtensions.cpp
index 298815c42..00f997201 100644
--- a/src/share/vm/prims/jvmtiExtensions.cpp
+++ b/src/share/vm/prims/jvmtiExtensions.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiExtensions.cpp.incl"
+#include "precompiled.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/jvmtiExtensions.hpp"
// the list of extension functions
GrowableArray<jvmtiExtensionFunctionInfo*>* JvmtiExtensions::_ext_functions;
diff --git a/src/share/vm/prims/jvmtiExtensions.hpp b/src/share/vm/prims/jvmtiExtensions.hpp
index e6b72bab7..a5e343331 100644
--- a/src/share/vm/prims/jvmtiExtensions.hpp
+++ b/src/share/vm/prims/jvmtiExtensions.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,9 +22,14 @@
*
*/
-#ifndef _JVMTI_EXTENSIONS_H_
-#define _JVMTI_EXTENSIONS_H_
+#ifndef SHARE_VM_PRIMS_JVMTIEXTENSIONS_HPP
+#define SHARE_VM_PRIMS_JVMTIEXTENSIONS_HPP
+#ifndef JVMTI_KERNEL
+#include "jvmtifiles/jvmti.h"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "memory/allocation.hpp"
+#endif
// JvmtiExtensions
//
@@ -55,4 +60,4 @@ class JvmtiExtensions : public AllStatic {
jvmtiExtensionEvent callback);
};
-#endif /* _JVMTI_EXTENSIONS_H_ */
+#endif // SHARE_VM_PRIMS_JVMTIEXTENSIONS_HPP
diff --git a/src/share/vm/prims/jvmtiGetLoadedClasses.cpp b/src/share/vm/prims/jvmtiGetLoadedClasses.cpp
index ca2ad1460..dd07a295a 100644
--- a/src/share/vm/prims/jvmtiGetLoadedClasses.cpp
+++ b/src/share/vm/prims/jvmtiGetLoadedClasses.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,9 +22,12 @@
*
*/
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "memory/universe.inline.hpp"
+#include "prims/jvmtiGetLoadedClasses.hpp"
+#include "runtime/thread.hpp"
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiGetLoadedClasses.cpp.incl"
// The closure for GetLoadedClasses and GetClassLoaderClasses
diff --git a/src/share/vm/prims/jvmtiGetLoadedClasses.hpp b/src/share/vm/prims/jvmtiGetLoadedClasses.hpp
index e84385d8c..b62c30760 100644
--- a/src/share/vm/prims/jvmtiGetLoadedClasses.hpp
+++ b/src/share/vm/prims/jvmtiGetLoadedClasses.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,9 +22,16 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTIGETLOADEDCLASSES_HPP
+#define SHARE_VM_PRIMS_JVMTIGETLOADEDCLASSES_HPP
+
+#include "jvmtifiles/jvmtiEnv.hpp"
+
class JvmtiGetLoadedClasses : AllStatic {
public:
static jvmtiError getLoadedClasses(JvmtiEnv *env, jint* classCountPtr, jclass** classesPtr);
static jvmtiError getClassLoaderClasses(JvmtiEnv *env, jobject initiatingLoader,
jint* classCountPtr, jclass** classesPtr);
};
+
+#endif // SHARE_VM_PRIMS_JVMTIGETLOADEDCLASSES_HPP
diff --git a/src/share/vm/prims/jvmtiHpp.xsl b/src/share/vm/prims/jvmtiHpp.xsl
index 79f80cb31..90ac326f0 100644
--- a/src/share/vm/prims/jvmtiHpp.xsl
+++ b/src/share/vm/prims/jvmtiHpp.xsl
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!--
- Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2002, 2010, 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
@@ -37,6 +37,13 @@
<xsl:call-template name="includeHeader"/>
<xsl:text>
+
+#ifndef GENERATED_JVMTIFILES_JVMTIENV_HPP
+#define GENERATED_JVMTIFILES_JVMTIENV_HPP
+
+#include "prims/jvmtiEnvBase.hpp"
+#include "prims/jvmtiImpl.hpp"
+
enum {
JVMTI_INTERNAL_CAPABILITY_COUNT = </xsl:text>
<xsl:value-of select="count(//capabilityfield)"/>
@@ -59,6 +66,8 @@ public:
<xsl:apply-templates select="functionsection"/>
<xsl:text>
};
+
+#endif // GENERATED_JVMTIFILES_JVMTIENV_HPP
</xsl:text>
</xsl:template>
diff --git a/src/share/vm/prims/jvmtiImpl.cpp b/src/share/vm/prims/jvmtiImpl.cpp
index 5fe853e4b..d461d9eee 100644
--- a/src/share/vm/prims/jvmtiImpl.cpp
+++ b/src/share/vm/prims/jvmtiImpl.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,35 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiImpl.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "interpreter/interpreter.hpp"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/instanceKlass.hpp"
+#include "prims/jvmtiAgentThread.hpp"
+#include "prims/jvmtiEventController.inline.hpp"
+#include "prims/jvmtiImpl.hpp"
+#include "prims/jvmtiRedefineClasses.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframe_hp.hpp"
+#include "runtime/vm_operations.hpp"
+#include "utilities/exceptions.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
//
// class JvmtiAgentThread
diff --git a/src/share/vm/prims/jvmtiImpl.hpp b/src/share/vm/prims/jvmtiImpl.hpp
index 945cda5ac..60f9e8f82 100644
--- a/src/share/vm/prims/jvmtiImpl.hpp
+++ b/src/share/vm/prims/jvmtiImpl.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,21 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTIIMPL_HPP
+#define SHARE_VM_PRIMS_JVMTIIMPL_HPP
+
+#ifndef JVMTI_KERNEL
+#include "classfile/systemDictionary.hpp"
+#include "jvmtifiles/jvmti.h"
+#include "oops/objArrayOop.hpp"
+#include "prims/jvmtiEnvThreadState.hpp"
+#include "prims/jvmtiEventController.hpp"
+#include "prims/jvmtiTrace.hpp"
+#include "prims/jvmtiUtil.hpp"
+#include "runtime/stackValueCollection.hpp"
+#include "runtime/vm_operations.hpp"
+#endif
+
//
// Forward Declarations
//
@@ -404,3 +419,5 @@ public:
// Utility macro that checks for NULL pointers:
#define NULL_CHECK(X, Y) if ((X) == NULL) { return (Y); }
+
+#endif // SHARE_VM_PRIMS_JVMTIIMPL_HPP
diff --git a/src/share/vm/prims/jvmtiManageCapabilities.cpp b/src/share/vm/prims/jvmtiManageCapabilities.cpp
index a8b8edb5f..cca51ef2b 100644
--- a/src/share/vm/prims/jvmtiManageCapabilities.cpp
+++ b/src/share/vm/prims/jvmtiManageCapabilities.cpp
@@ -21,9 +21,11 @@
* questions.
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiManageCapabilities.cpp.incl"
+#include "precompiled.hpp"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/jvmtiManageCapabilities.hpp"
static const jint CAPA_SIZE = (JVMTI_INTERNAL_CAPABILITY_COUNT + 7) / 8;
// capabilities which are always potentially available
diff --git a/src/share/vm/prims/jvmtiManageCapabilities.hpp b/src/share/vm/prims/jvmtiManageCapabilities.hpp
index d203d295a..10205f02f 100644
--- a/src/share/vm/prims/jvmtiManageCapabilities.hpp
+++ b/src/share/vm/prims/jvmtiManageCapabilities.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,10 +22,11 @@
*
*/
-#ifndef _JAVA_JVMTI_MANAGE_CAPABILITIES_H_
-#define _JAVA_JVMTI_MANAGE_CAPABILITIES_H_
-
+#ifndef SHARE_VM_PRIMS_JVMTIMANAGECAPABILITIES_HPP
+#define SHARE_VM_PRIMS_JVMTIMANAGECAPABILITIES_HPP
+#include "jvmtifiles/jvmti.h"
+#include "memory/allocation.hpp"
class JvmtiManageCapabilities : public AllStatic {
@@ -84,4 +85,4 @@ public:
#endif
};
-#endif /* _JAVA_JVMTI_MANAGE_CAPABILITIES_H_ */
+#endif // SHARE_VM_PRIMS_JVMTIMANAGECAPABILITIES_HPP
diff --git a/src/share/vm/prims/jvmtiRawMonitor.cpp b/src/share/vm/prims/jvmtiRawMonitor.cpp
index c7dc2939f..89cac00bb 100644
--- a/src/share/vm/prims/jvmtiRawMonitor.cpp
+++ b/src/share/vm/prims/jvmtiRawMonitor.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiRawMonitor.cpp.incl"
+#include "precompiled.hpp"
+#include "prims/jvmtiRawMonitor.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/thread.hpp"
GrowableArray<JvmtiRawMonitor*> *JvmtiPendingMonitors::_monitors = new (ResourceObj::C_HEAP) GrowableArray<JvmtiRawMonitor*>(1,true);
diff --git a/src/share/vm/prims/jvmtiRawMonitor.hpp b/src/share/vm/prims/jvmtiRawMonitor.hpp
index 41d481bf4..e5b25fa3a 100644
--- a/src/share/vm/prims/jvmtiRawMonitor.hpp
+++ b/src/share/vm/prims/jvmtiRawMonitor.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTIRAWMONITOR_HPP
+#define SHARE_VM_PRIMS_JVMTIRAWMONITOR_HPP
+
+#ifndef JVMTI_KERNEL
+#include "runtime/objectMonitor.hpp"
+#include "utilities/growableArray.hpp"
+#endif
+
//
// class JvmtiRawMonitor
//
@@ -97,3 +105,5 @@ public:
static void transition_raw_monitors();
};
+
+#endif // SHARE_VM_PRIMS_JVMTIRAWMONITOR_HPP
diff --git a/src/share/vm/prims/jvmtiRedefineClasses.cpp b/src/share/vm/prims/jvmtiRedefineClasses.cpp
index 85f0fc9f3..1d3bb7b61 100644
--- a/src/share/vm/prims/jvmtiRedefineClasses.cpp
+++ b/src/share/vm/prims/jvmtiRedefineClasses.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,21 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiRedefineClasses.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/verifier.hpp"
+#include "code/codeCache.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "interpreter/rewriter.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/klassVtable.hpp"
+#include "prims/jvmtiImpl.hpp"
+#include "prims/jvmtiRedefineClasses.hpp"
+#include "prims/methodComparator.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/relocator.hpp"
+#include "utilities/bitMap.inline.hpp"
objArrayOop VM_RedefineClasses::_old_methods = NULL;
diff --git a/src/share/vm/prims/jvmtiRedefineClasses.hpp b/src/share/vm/prims/jvmtiRedefineClasses.hpp
index ccfba1f67..bd268ca5b 100644
--- a/src/share/vm/prims/jvmtiRedefineClasses.hpp
+++ b/src/share/vm/prims/jvmtiRedefineClasses.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP
+#define SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP
+
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "prims/jvmtiRedefineClassesTrace.hpp"
+#include "runtime/vm_operations.hpp"
+
// Introduction:
//
// The RedefineClasses() API is used to change the definition of one or
@@ -487,3 +498,5 @@ class VM_RedefineClasses: public VM_Operation {
// and redefine implementation
static bool is_modifiable_class(oop klass_mirror);
};
+
+#endif // SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP
diff --git a/src/share/vm/prims/jvmtiRedefineClassesTrace.hpp b/src/share/vm/prims/jvmtiRedefineClassesTrace.hpp
index 71a8207d3..e79534f01 100644
--- a/src/share/vm/prims/jvmtiRedefineClassesTrace.hpp
+++ b/src/share/vm/prims/jvmtiRedefineClassesTrace.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTIREDEFINECLASSESTRACE_HPP
+#define SHARE_VM_PRIMS_JVMTIREDEFINECLASSESTRACE_HPP
+
// RedefineClasses tracing support via the TraceRedefineClasses
// option. A bit is assigned to each group of trace messages.
// Groups of messages are individually selectable. We have to use
@@ -121,3 +124,5 @@
if (RC_TRACE_ENABLED(0x00000004)) { \
t.stop(); \
} while (0)
+
+#endif // SHARE_VM_PRIMS_JVMTIREDEFINECLASSESTRACE_HPP
diff --git a/src/share/vm/prims/jvmtiTagMap.cpp b/src/share/vm/prims/jvmtiTagMap.cpp
index d757cb171..085952af5 100644
--- a/src/share/vm/prims/jvmtiTagMap.cpp
+++ b/src/share/vm/prims/jvmtiTagMap.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,31 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiTagMap.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/oop.inline2.hpp"
+#include "prims/jvmtiEventController.hpp"
+#include "prims/jvmtiEventController.inline.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/jvmtiImpl.hpp"
+#include "prims/jvmtiTagMap.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/jniHandles.hpp"
+#include "runtime/mutex.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/reflectionUtils.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
+#include "services/serviceUtil.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#endif
// JvmtiTagHashmapEntry
//
diff --git a/src/share/vm/prims/jvmtiTagMap.hpp b/src/share/vm/prims/jvmtiTagMap.hpp
index 5dbed41c7..f94e74f71 100644
--- a/src/share/vm/prims/jvmtiTagMap.hpp
+++ b/src/share/vm/prims/jvmtiTagMap.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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,8 +24,17 @@
// JvmtiTagMap
-#ifndef _JAVA_JVMTI_TAG_MAP_H_
-#define _JAVA_JVMTI_TAG_MAP_H_
+#ifndef SHARE_VM_PRIMS_JVMTITAGMAP_HPP
+#define SHARE_VM_PRIMS_JVMTITAGMAP_HPP
+
+#ifndef JVMTI_KERNEL
+#include "gc_interface/collectedHeap.hpp"
+#include "jvmtifiles/jvmti.h"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "memory/allocation.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/universe.hpp"
+#endif
// forward references
class JvmtiTagHashmap;
@@ -132,4 +141,4 @@ class JvmtiTagMap : public CHeapObj {
static void cms_ref_processing_epilogue();
};
-#endif /* _JAVA_JVMTI_TAG_MAP_H_ */
+#endif // SHARE_VM_PRIMS_JVMTITAGMAP_HPP
diff --git a/src/share/vm/prims/jvmtiThreadState.cpp b/src/share/vm/prims/jvmtiThreadState.cpp
index 490e552bc..faf9de7c2 100644
--- a/src/share/vm/prims/jvmtiThreadState.cpp
+++ b/src/share/vm/prims/jvmtiThreadState.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiThreadState.cpp.incl"
+#include "precompiled.hpp"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "memory/gcLocker.hpp"
+#include "memory/resourceArea.hpp"
+#include "prims/jvmtiEventController.inline.hpp"
+#include "prims/jvmtiImpl.hpp"
+#include "prims/jvmtiThreadState.inline.hpp"
+#include "runtime/vframe.hpp"
// marker for when the stack depth has been reset and is now unknown.
// any negative number would work but small ones might obscure an
diff --git a/src/share/vm/prims/jvmtiThreadState.hpp b/src/share/vm/prims/jvmtiThreadState.hpp
index 1c1bce6a4..669420aa3 100644
--- a/src/share/vm/prims/jvmtiThreadState.hpp
+++ b/src/share/vm/prims/jvmtiThreadState.hpp
@@ -22,8 +22,15 @@
*
*/
-#ifndef _JAVA_JVMTITHREADSTATE_H_
-#define _JAVA_JVMTITHREADSTATE_H_
+#ifndef SHARE_VM_PRIMS_JVMTITHREADSTATE_HPP
+#define SHARE_VM_PRIMS_JVMTITHREADSTATE_HPP
+
+#include "jvmtifiles/jvmti.h"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "prims/jvmtiEventController.hpp"
+#include "runtime/thread.hpp"
+#include "utilities/growableArray.hpp"
//
// Forward Declarations
@@ -403,4 +410,4 @@ class RedefineVerifyMark : public StackObj {
}
};
-#endif /* _JAVA_JVMTITHREADSTATE_H_ */
+#endif // SHARE_VM_PRIMS_JVMTITHREADSTATE_HPP
diff --git a/src/share/vm/prims/jvmtiThreadState.inline.hpp b/src/share/vm/prims/jvmtiThreadState.inline.hpp
index f269be7c1..e6af3d4b4 100644
--- a/src/share/vm/prims/jvmtiThreadState.inline.hpp
+++ b/src/share/vm/prims/jvmtiThreadState.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTITHREADSTATE_INLINE_HPP
+#define SHARE_VM_PRIMS_JVMTITHREADSTATE_INLINE_HPP
+
+#include "prims/jvmtiEnvThreadState.hpp"
+#include "prims/jvmtiThreadState.hpp"
+
// JvmtiEnvThreadStateIterator implementation
inline JvmtiEnvThreadStateIterator::JvmtiEnvThreadStateIterator(JvmtiThreadState* thread_state) {
@@ -60,3 +66,5 @@ JvmtiEnvThreadState* JvmtiThreadState::head_env_thread_state() {
void JvmtiThreadState::set_head_env_thread_state(JvmtiEnvThreadState* ets) {
_head_env_thread_state = ets;
}
+
+#endif // SHARE_VM_PRIMS_JVMTITHREADSTATE_INLINE_HPP
diff --git a/src/share/vm/prims/jvmtiTrace.cpp b/src/share/vm/prims/jvmtiTrace.cpp
index 0bf209d87..d9e356453 100644
--- a/src/share/vm/prims/jvmtiTrace.cpp
+++ b/src/share/vm/prims/jvmtiTrace.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiTrace.cpp.incl"
+#include "precompiled.hpp"
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "prims/jvmtiTrace.hpp"
//
// class JvmtiTrace
diff --git a/src/share/vm/prims/jvmtiTrace.hpp b/src/share/vm/prims/jvmtiTrace.hpp
index 452e8caf9..b6d422497 100644
--- a/src/share/vm/prims/jvmtiTrace.hpp
+++ b/src/share/vm/prims/jvmtiTrace.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTITRACE_HPP
+#define SHARE_VM_PRIMS_JVMTITRACE_HPP
+
+#include "classfile/systemDictionary.hpp"
+#include "jvmtifiles/jvmti.h"
+#include "oops/objArrayOop.hpp"
+#include "prims/jvmtiEnvThreadState.hpp"
+#include "prims/jvmtiEventController.hpp"
+#include "prims/jvmtiUtil.hpp"
+#include "runtime/stackValueCollection.hpp"
+#include "runtime/vm_operations.hpp"
+
///////////////////////////////////////////////////////////////
//
// class JvmtiTrace
@@ -96,3 +108,5 @@ public:
};
#endif /*JVMTI_TRACE */
+
+#endif // SHARE_VM_PRIMS_JVMTITRACE_HPP
diff --git a/src/share/vm/prims/jvmtiUtil.cpp b/src/share/vm/prims/jvmtiUtil.cpp
index 96718061c..6671d48e9 100644
--- a/src/share/vm/prims/jvmtiUtil.cpp
+++ b/src/share/vm/prims/jvmtiUtil.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jvmtiUtil.cpp.incl"
+#include "precompiled.hpp"
+#include "prims/jvmtiUtil.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/vm_operations.hpp"
+#include "utilities/exceptions.hpp"
+
//
// class JvmtiUtil
//
diff --git a/src/share/vm/prims/jvmtiUtil.hpp b/src/share/vm/prims/jvmtiUtil.hpp
index d2676f65f..f840d985d 100644
--- a/src/share/vm/prims/jvmtiUtil.hpp
+++ b/src/share/vm/prims/jvmtiUtil.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTIUTIL_HPP
+#define SHARE_VM_PRIMS_JVMTIUTIL_HPP
+
+#include "jvmtifiles/jvmti.h"
+#include "memory/resourceArea.hpp"
+#include "prims/jvmtiEventController.hpp"
+
///////////////////////////////////////////////////////////////
//
// class JvmtiUtil
@@ -84,3 +91,5 @@ class SafeResourceMark : public ResourceMark {
SafeResourceMark() : ResourceMark(safe_resource_area()) {}
};
+
+#endif // SHARE_VM_PRIMS_JVMTIUTIL_HPP
diff --git a/src/share/vm/prims/methodComparator.cpp b/src/share/vm/prims/methodComparator.cpp
index df851d868..6223c8779 100644
--- a/src/share/vm/prims/methodComparator.cpp
+++ b/src/share/vm/prims/methodComparator.cpp
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_methodComparator.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "prims/jvmtiRedefineClassesTrace.hpp"
+#include "prims/methodComparator.hpp"
+#include "runtime/handles.inline.hpp"
+#include "utilities/globalDefinitions.hpp"
BytecodeStream *MethodComparator::_s_old;
BytecodeStream *MethodComparator::_s_new;
diff --git a/src/share/vm/prims/methodComparator.hpp b/src/share/vm/prims/methodComparator.hpp
index 0d4409262..9f336ddea 100644
--- a/src/share/vm/prims/methodComparator.hpp
+++ b/src/share/vm/prims/methodComparator.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_PRIMS_METHODCOMPARATOR_HPP
+#define SHARE_VM_PRIMS_METHODCOMPARATOR_HPP
+
+#include "interpreter/bytecodeStream.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/methodOop.hpp"
+
class BciMap;
// methodComparator provides an interface for determining if methods of
@@ -121,3 +128,5 @@ class BciMap {
else return false;
}
};
+
+#endif // SHARE_VM_PRIMS_METHODCOMPARATOR_HPP
diff --git a/src/share/vm/prims/methodHandleWalk.cpp b/src/share/vm/prims/methodHandleWalk.cpp
index ca6a23150..3965109f2 100644
--- a/src/share/vm/prims/methodHandleWalk.cpp
+++ b/src/share/vm/prims/methodHandleWalk.cpp
@@ -22,13 +22,15 @@
*
*/
+#include "precompiled.hpp"
+#include "interpreter/rewriter.hpp"
+#include "memory/oopFactory.hpp"
+#include "prims/methodHandleWalk.hpp"
+
/*
* JSR 292 reference implementation: method handle structure analysis
*/
-#include "incls/_precompiled.incl"
-#include "incls/_methodHandleWalk.cpp.incl"
-
// -----------------------------------------------------------------------------
// MethodHandleChain
diff --git a/src/share/vm/prims/methodHandleWalk.hpp b/src/share/vm/prims/methodHandleWalk.hpp
index da37732d3..f4a6ad7b3 100644
--- a/src/share/vm/prims/methodHandleWalk.hpp
+++ b/src/share/vm/prims/methodHandleWalk.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_PRIMS_METHODHANDLEWALK_HPP
+#define SHARE_VM_PRIMS_METHODHANDLEWALK_HPP
+
+#include "prims/methodHandles.hpp"
+
// Low-level parser for method handle chains.
class MethodHandleChain : StackObj {
public:
@@ -411,3 +416,5 @@ public:
klass == SystemDictionary::InvokeDynamic_klass());
}
};
+
+#endif // SHARE_VM_PRIMS_METHODHANDLEWALK_HPP
diff --git a/src/share/vm/prims/methodHandles.cpp b/src/share/vm/prims/methodHandles.cpp
index 3404ab234..67974a665 100644
--- a/src/share/vm/prims/methodHandles.cpp
+++ b/src/share/vm/prims/methodHandles.cpp
@@ -22,13 +22,21 @@
*
*/
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "prims/methodHandles.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/reflection.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/stubRoutines.hpp"
+
/*
* JSR 292 reference implementation: method handles
*/
-#include "incls/_precompiled.incl"
-#include "incls/_methodHandles.cpp.incl"
-
bool MethodHandles::_enabled = false; // set true after successful native linkage
MethodHandleEntry* MethodHandles::_entries[MethodHandles::_EK_LIMIT] = {NULL};
diff --git a/src/share/vm/prims/methodHandles.hpp b/src/share/vm/prims/methodHandles.hpp
index 71fcb1106..351dc33f6 100644
--- a/src/share/vm/prims/methodHandles.hpp
+++ b/src/share/vm/prims/methodHandles.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_PRIMS_METHODHANDLES_HPP
+#define SHARE_VM_PRIMS_METHODHANDLES_HPP
+
+#include "classfile/javaClasses.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/globals.hpp"
+#include "runtime/interfaceSupport.hpp"
+
class MacroAssembler;
class Label;
class MethodHandleEntry;
@@ -523,3 +532,5 @@ public:
void generate();
};
+
+#endif // SHARE_VM_PRIMS_METHODHANDLES_HPP
diff --git a/src/share/vm/prims/nativeLookup.cpp b/src/share/vm/prims/nativeLookup.cpp
index cef7f5637..f8986fdef 100644
--- a/src/share/vm/prims/nativeLookup.cpp
+++ b/src/share/vm/prims/nativeLookup.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,34 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_nativeLookup.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "prims/jvm_misc.hpp"
+#include "prims/nativeLookup.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/hpi.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/signature.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
static void mangle_name_on(outputStream* st, symbolOop name, int begin, int end) {
diff --git a/src/share/vm/prims/nativeLookup.hpp b/src/share/vm/prims/nativeLookup.hpp
index cab32429b..bf2dab85d 100644
--- a/src/share/vm/prims/nativeLookup.hpp
+++ b/src/share/vm/prims/nativeLookup.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_PRIMS_NATIVELOOKUP_HPP
+#define SHARE_VM_PRIMS_NATIVELOOKUP_HPP
+
+#include "runtime/handles.hpp"
+#include "utilities/top.hpp"
+
// NativeLookup provides an interface for finding DLL entry points for
// Java native functions.
@@ -43,3 +49,5 @@ class NativeLookup : AllStatic {
// Lookup native functions in base library.
static address base_library_lookup(const char* class_name, const char* method_name, const char* signature);
};
+
+#endif // SHARE_VM_PRIMS_NATIVELOOKUP_HPP
diff --git a/src/share/vm/prims/perf.cpp b/src/share/vm/prims/perf.cpp
index 8b989b560..e0326f774 100644
--- a/src/share/vm/prims/perf.cpp
+++ b/src/share/vm/prims/perf.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,13 +22,21 @@
*
*/
+#include "precompiled.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jni.h"
+#include "prims/jvm.h"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/perfData.hpp"
+#include "runtime/perfMemory.hpp"
+
/*
* Implementation of class sun.misc.Perf
*/
-#include "incls/_precompiled.incl"
-#include "incls/_perf.cpp.incl"
-
#define PERF_ENTRY(result_type, header) \
JVM_ENTRY(result_type, header)
diff --git a/src/share/vm/prims/privilegedStack.cpp b/src/share/vm/prims/privilegedStack.cpp
index 4da1eeca4..6077b312b 100644
--- a/src/share/vm/prims/privilegedStack.cpp
+++ b/src/share/vm/prims/privilegedStack.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_privilegedStack.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/privilegedStack.hpp"
+#include "runtime/vframe.hpp"
void PrivilegedElement::initialize(vframeStream* vfst, oop context, PrivilegedElement* next, TRAPS) {
diff --git a/src/share/vm/prims/privilegedStack.hpp b/src/share/vm/prims/privilegedStack.hpp
index e2469a50b..01265498e 100644
--- a/src/share/vm/prims/privilegedStack.hpp
+++ b/src/share/vm/prims/privilegedStack.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_PRIMS_PRIVILEGEDSTACK_HPP
+#define SHARE_VM_PRIMS_PRIVILEGEDSTACK_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/oopsHierarchy.hpp"
+#include "runtime/vframe.hpp"
+#include "utilities/growableArray.hpp"
+
class PrivilegedElement VALUE_OBJ_CLASS_SPEC {
private:
klassOop _klass; // klass for method
@@ -41,3 +49,5 @@ class PrivilegedElement VALUE_OBJ_CLASS_SPEC {
void print_on(outputStream* st) const PRODUCT_RETURN;
bool contains(address addr) PRODUCT_RETURN0;
};
+
+#endif // SHARE_VM_PRIMS_PRIVILEGEDSTACK_HPP
diff --git a/src/share/vm/prims/unsafe.cpp b/src/share/vm/prims/unsafe.cpp
index 4ffea55bb..4444fc67a 100644
--- a/src/share/vm/prims/unsafe.cpp
+++ b/src/share/vm/prims/unsafe.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,13 +22,24 @@
*
*/
+#include "precompiled.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "memory/allocation.inline.hpp"
+#include "prims/jni.h"
+#include "prims/jvm.h"
+#include "runtime/globals.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/reflection.hpp"
+#include "runtime/reflectionCompat.hpp"
+#include "runtime/synchronizer.hpp"
+#include "services/threadService.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/dtrace.hpp"
+
/*
* Implementation of class sun.misc.Unsafe
*/
-#include "incls/_precompiled.incl"
-#include "incls/_unsafe.cpp.incl"
-
HS_DTRACE_PROBE_DECL3(hotspot, thread__park__begin, uintptr_t, int, long long);
HS_DTRACE_PROBE_DECL1(hotspot, thread__park__end, uintptr_t);
HS_DTRACE_PROBE_DECL1(hotspot, thread__unpark, uintptr_t);
diff --git a/src/share/vm/runtime/aprofiler.cpp b/src/share/vm/runtime/aprofiler.cpp
index 19c3da89f..c3dbce368 100644
--- a/src/share/vm/runtime/aprofiler.cpp
+++ b/src/share/vm/runtime/aprofiler.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,15 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_aprofiler.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/permGen.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/space.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "runtime/aprofiler.hpp"
bool AllocationProfiler::_active = false;
diff --git a/src/share/vm/runtime/aprofiler.hpp b/src/share/vm/runtime/aprofiler.hpp
index 92e2528b1..89af4734e 100644
--- a/src/share/vm/runtime/aprofiler.hpp
+++ b/src/share/vm/runtime/aprofiler.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_APROFILER_HPP
+#define SHARE_VM_RUNTIME_APROFILER_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/universe.hpp"
+#include "oops/klass.hpp"
+#include "oops/klassOop.hpp"
+#include "utilities/top.hpp"
+
// A simple allocation profiler for Java. The profiler collects and prints
// the number and total size of instances allocated per class, including
// array classes.
@@ -59,3 +68,5 @@ class AllocationProfiler: AllStatic {
// Print profile
static void print(size_t cutoff); // Cutoff in total allocation size (in words)
};
+
+#endif // SHARE_VM_RUNTIME_APROFILER_HPP
diff --git a/src/share/vm/runtime/arguments.cpp b/src/share/vm/runtime/arguments.cpp
index 5f79c09c0..f9cf604d6 100644
--- a/src/share/vm/runtime/arguments.cpp
+++ b/src/share/vm/runtime/arguments.cpp
@@ -22,8 +22,42 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_arguments.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaAssertions.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/cardTableRS.hpp"
+#include "memory/referenceProcessor.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/globals_extension.hpp"
+#include "runtime/java.hpp"
+#include "services/management.hpp"
+#include "utilities/defaultStream.hpp"
+#include "utilities/taskqueue.hpp"
+#ifdef TARGET_ARCH_x86
+# include "vm_version_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "vm_version_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "vm_version_zero.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp"
+#endif
#define DEFAULT_VENDOR_URL_BUG "http://java.sun.com/webapps/bugreport/crash.jsp"
#define DEFAULT_JAVA_LAUNCHER "generic"
diff --git a/src/share/vm/runtime/arguments.hpp b/src/share/vm/runtime/arguments.hpp
index 8229584ca..ed6ef26dd 100644
--- a/src/share/vm/runtime/arguments.hpp
+++ b/src/share/vm/runtime/arguments.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_ARGUMENTS_HPP
+#define SHARE_VM_RUNTIME_ARGUMENTS_HPP
+
+#include "runtime/java.hpp"
+#include "runtime/perfData.hpp"
+#include "utilities/top.hpp"
+
// Arguments parses the command line and recognizes options
// Invocation API hook typedefs (these should really be defined in jni.hpp)
@@ -532,3 +539,5 @@ class Arguments : AllStatic {
static char *get_kernel_properties();
#endif // KERNEL
};
+
+#endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP
diff --git a/src/share/vm/runtime/atomic.cpp b/src/share/vm/runtime/atomic.cpp
index e89289b42..92872be26 100644
--- a/src/share/vm/runtime/atomic.cpp
+++ b/src/share/vm/runtime/atomic.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,35 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_atomic.cpp.incl"
+#include "precompiled.hpp"
+#include "runtime/atomic.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_x86
+# include "atomic_linux_x86.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_sparc
+# include "atomic_linux_sparc.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_zero
+# include "atomic_linux_zero.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_x86
+# include "atomic_solaris_x86.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_sparc
+# include "atomic_solaris_sparc.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_windows_x86
+# include "atomic_windows_x86.inline.hpp"
+#endif
jbyte Atomic::cmpxchg(jbyte exchange_value, volatile jbyte* dest, jbyte compare_value) {
assert(sizeof(jbyte) == 1, "assumption.");
diff --git a/src/share/vm/runtime/atomic.hpp b/src/share/vm/runtime/atomic.hpp
index e65a5046b..12b15bba6 100644
--- a/src/share/vm/runtime/atomic.hpp
+++ b/src/share/vm/runtime/atomic.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_ATOMIC_HPP
+#define SHARE_VM_RUNTIME_ATOMIC_HPP
+
+#include "memory/allocation.hpp"
+
class Atomic : AllStatic {
public:
// Atomically store to a location
@@ -78,3 +83,5 @@ class Atomic : AllStatic {
static intptr_t cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value);
static void* cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value);
};
+
+#endif // SHARE_VM_RUNTIME_ATOMIC_HPP
diff --git a/src/share/vm/runtime/basicLock.cpp b/src/share/vm/runtime/basicLock.cpp
index 12956597e..992f73550 100644
--- a/src/share/vm/runtime/basicLock.cpp
+++ b/src/share/vm/runtime/basicLock.cpp
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_basicLock.cpp.incl"
+#include "precompiled.hpp"
+#include "runtime/basicLock.hpp"
+#include "runtime/synchronizer.hpp"
void BasicLock::print_on(outputStream* st) const {
st->print("monitor");
diff --git a/src/share/vm/runtime/basicLock.hpp b/src/share/vm/runtime/basicLock.hpp
index a7061b417..309e07c0b 100644
--- a/src/share/vm/runtime/basicLock.hpp
+++ b/src/share/vm/runtime/basicLock.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_BASICLOCK_HPP
+#define SHARE_VM_RUNTIME_BASICLOCK_HPP
+
+#include "oops/markOop.hpp"
+#include "runtime/handles.hpp"
+#include "utilities/top.hpp"
+
class BasicLock VALUE_OBJ_CLASS_SPEC {
friend class VMStructs;
private:
@@ -70,3 +77,5 @@ class BasicObjectLock VALUE_OBJ_CLASS_SPEC {
static int lock_offset_in_bytes() { return offset_of(BasicObjectLock, _lock); }
};
+
+#endif // SHARE_VM_RUNTIME_BASICLOCK_HPP
diff --git a/src/share/vm/runtime/biasedLocking.cpp b/src/share/vm/runtime/biasedLocking.cpp
index 18f43794a..ba49d80de 100644
--- a/src/share/vm/runtime/biasedLocking.cpp
+++ b/src/share/vm/runtime/biasedLocking.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,15 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_biasedLocking.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/klass.inline.hpp"
+#include "oops/markOop.hpp"
+#include "runtime/basicLock.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/task.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
static bool _biased_locking_enabled = false;
BiasedLockingCounters BiasedLocking::_counters;
diff --git a/src/share/vm/runtime/biasedLocking.hpp b/src/share/vm/runtime/biasedLocking.hpp
index 54562fc4e..1bde2a6d8 100644
--- a/src/share/vm/runtime/biasedLocking.hpp
+++ b/src/share/vm/runtime/biasedLocking.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_BIASEDLOCKING_HPP
+#define SHARE_VM_RUNTIME_BIASEDLOCKING_HPP
+
+#include "runtime/handles.hpp"
+#include "utilities/growableArray.hpp"
+
// This class describes operations to implement Store-Free Biased
// Locking. The high-level properties of the scheme are similar to
// IBM's lock reservation, Dice-Moir-Scherer QR locks, and other biased
@@ -185,3 +191,5 @@ public:
static void preserve_marks();
static void restore_marks();
};
+
+#endif // SHARE_VM_RUNTIME_BIASEDLOCKING_HPP
diff --git a/src/share/vm/runtime/compilationPolicy.cpp b/src/share/vm/runtime/compilationPolicy.cpp
index 132a61018..9d2ed6510 100644
--- a/src/share/vm/runtime/compilationPolicy.cpp
+++ b/src/share/vm/runtime/compilationPolicy.cpp
@@ -22,8 +22,28 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_compilationPolicy.cpp.incl"
+#include "precompiled.hpp"
+#include "code/compiledIC.hpp"
+#include "code/nmethod.hpp"
+#include "code/scopeDesc.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "interpreter/interpreter.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/nativeLookup.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/rframe.hpp"
+#include "runtime/simpleThresholdPolicy.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/timer.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vm_operations.hpp"
+#include "utilities/events.hpp"
+#include "utilities/globalDefinitions.hpp"
CompilationPolicy* CompilationPolicy::_policy;
elapsedTimer CompilationPolicy::_accumulated_time;
diff --git a/src/share/vm/runtime/compilationPolicy.hpp b/src/share/vm/runtime/compilationPolicy.hpp
index 9000467ee..3075811ba 100644
--- a/src/share/vm/runtime/compilationPolicy.hpp
+++ b/src/share/vm/runtime/compilationPolicy.hpp
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_COMPILATIONPOLICY_HPP
+#define SHARE_VM_RUNTIME_COMPILATIONPOLICY_HPP
+
+#include "code/nmethod.hpp"
+#include "compiler/compileBroker.hpp"
+#include "memory/allocation.hpp"
+#include "runtime/vm_operations.hpp"
+#include "utilities/growableArray.hpp"
+
// The CompilationPolicy selects which method (if any) should be compiled.
// It also decides which methods must always be compiled (i.e., are never
// interpreted).
@@ -126,3 +135,5 @@ class StackWalkCompPolicy : public NonTieredCompPolicy {
};
#endif
+
+#endif // SHARE_VM_RUNTIME_COMPILATIONPOLICY_HPP
diff --git a/src/share/vm/runtime/deoptimization.cpp b/src/share/vm/runtime/deoptimization.cpp
index e6a14d710..dee481a08 100644
--- a/src/share/vm/runtime/deoptimization.cpp
+++ b/src/share/vm/runtime/deoptimization.cpp
@@ -22,8 +22,57 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_deoptimization.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/nmethod.hpp"
+#include "code/pcDesc.hpp"
+#include "code/scopeDesc.hpp"
+#include "interpreter/bytecode.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiThreadState.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframeArray.hpp"
+#include "runtime/vframe_hp.hpp"
+#include "utilities/events.hpp"
+#include "utilities/xmlstream.hpp"
+#ifdef TARGET_ARCH_x86
+# include "vmreg_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "vmreg_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "vmreg_zero.inline.hpp"
+#endif
+#ifdef COMPILER2
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/ad_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/ad_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/ad_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/ad_zero.hpp"
+#endif
+#endif
bool DeoptimizationMarker::_is_active = false;
diff --git a/src/share/vm/runtime/deoptimization.hpp b/src/share/vm/runtime/deoptimization.hpp
index c0b8c6f39..e560fde5d 100644
--- a/src/share/vm/runtime/deoptimization.hpp
+++ b/src/share/vm/runtime/deoptimization.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_DEOPTIMIZATION_HPP
+#define SHARE_VM_RUNTIME_DEOPTIMIZATION_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/frame.inline.hpp"
+
class ProfileData;
class vframeArray;
class MonitorValue;
@@ -348,3 +354,5 @@ public:
~DeoptimizationMarker() { _is_active = false; }
static bool is_active() { return _is_active; }
};
+
+#endif // SHARE_VM_RUNTIME_DEOPTIMIZATION_HPP
diff --git a/src/share/vm/runtime/dtraceJSDT.cpp b/src/share/vm/runtime/dtraceJSDT.cpp
index 06bc8a973..23bfeb659 100644
--- a/src/share/vm/runtime/dtraceJSDT.cpp
+++ b/src/share/vm/runtime/dtraceJSDT.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_dtraceJSDT.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "code/codeBlob.hpp"
+#include "memory/allocation.hpp"
+#include "prims/jvm.h"
+#include "runtime/dtraceJSDT.hpp"
+#include "runtime/jniHandles.hpp"
+#include "runtime/os.hpp"
+#include "utilities/exceptions.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/utf8.hpp"
#ifdef HAVE_DTRACE_H
diff --git a/src/share/vm/runtime/dtraceJSDT.hpp b/src/share/vm/runtime/dtraceJSDT.hpp
index b7a4fb135..15febe459 100644
--- a/src/share/vm/runtime/dtraceJSDT.hpp
+++ b/src/share/vm/runtime/dtraceJSDT.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_DTRACEJSDT_HPP
+#define SHARE_VM_RUNTIME_DTRACEJSDT_HPP
+
+#include "code/nmethod.hpp"
+#ifdef TARGET_ARCH_x86
+# include "nativeInst_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "nativeInst_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "nativeInst_zero.hpp"
+#endif
+
class RegisteredProbes;
typedef jlong OpaqueProbes;
@@ -87,3 +101,5 @@ class RegisteredProbes : public CHeapObj {
_nmethods[i] = nm;
}
};
+
+#endif // SHARE_VM_RUNTIME_DTRACEJSDT_HPP
diff --git a/src/share/vm/runtime/extendedPC.hpp b/src/share/vm/runtime/extendedPC.hpp
index c3de986fe..7a1ca4abe 100644
--- a/src/share/vm/runtime/extendedPC.hpp
+++ b/src/share/vm/runtime/extendedPC.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_EXTENDEDPC_HPP
+#define SHARE_VM_RUNTIME_EXTENDEDPC_HPP
+
// An ExtendedPC contains the _pc from a signal handler in a platform
// independent way.
@@ -34,3 +37,5 @@ class ExtendedPC VALUE_OBJ_CLASS_SPEC {
ExtendedPC(address pc) { _pc = pc; }
ExtendedPC() { _pc = NULL; }
};
+
+#endif // SHARE_VM_RUNTIME_EXTENDEDPC_HPP
diff --git a/src/share/vm/runtime/fieldDescriptor.cpp b/src/share/vm/runtime/fieldDescriptor.cpp
index f66105c98..0832d31d1 100644
--- a/src/share/vm/runtime/fieldDescriptor.cpp
+++ b/src/share/vm/runtime/fieldDescriptor.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,15 @@
*
*/
-# include "incls/_precompiled.incl"
-#include "incls/_fieldDescriptor.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "runtime/fieldDescriptor.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/signature.hpp"
oop fieldDescriptor::loader() const {
diff --git a/src/share/vm/runtime/fieldDescriptor.hpp b/src/share/vm/runtime/fieldDescriptor.hpp
index 13f67d8c8..3913fcc3b 100644
--- a/src/share/vm/runtime/fieldDescriptor.hpp
+++ b/src/share/vm/runtime/fieldDescriptor.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_FIELDDESCRIPTOR_HPP
+#define SHARE_VM_RUNTIME_FIELDDESCRIPTOR_HPP
+
+#include "oops/constantPoolOop.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/fieldType.hpp"
+#include "utilities/accessFlags.hpp"
+#include "utilities/constantTag.hpp"
+
// A fieldDescriptor describes the attributes of a single field (instance or class variable).
// It needs the class constant pool to work (because it only holds indices into the pool
// rather than the actual info).
@@ -90,3 +101,5 @@ class fieldDescriptor VALUE_OBJ_CLASS_SPEC {
void print_on(outputStream* st) const PRODUCT_RETURN;
void print_on_for(outputStream* st, oop obj) PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_RUNTIME_FIELDDESCRIPTOR_HPP
diff --git a/src/share/vm/runtime/fieldType.cpp b/src/share/vm/runtime/fieldType.cpp
index 138f4a61e..1da94218e 100644
--- a/src/share/vm/runtime/fieldType.cpp
+++ b/src/share/vm/runtime/fieldType.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_fieldType.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "memory/oopFactory.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/typeArrayKlass.hpp"
+#include "runtime/fieldType.hpp"
+#include "runtime/signature.hpp"
void FieldType::skip_optional_size(symbolOop signature, int* index) {
jchar c = signature->byte_at(*index);
diff --git a/src/share/vm/runtime/fieldType.hpp b/src/share/vm/runtime/fieldType.hpp
index f05f26dd7..7f5a6e34c 100644
--- a/src/share/vm/runtime/fieldType.hpp
+++ b/src/share/vm/runtime/fieldType.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_FIELDTYPE_HPP
+#define SHARE_VM_RUNTIME_FIELDTYPE_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/symbolOop.hpp"
+
// Note: FieldType should be based on the SignatureIterator (or vice versa).
// In any case, this structure should be re-thought at some point.
@@ -50,3 +56,5 @@ class FieldType: public AllStatic {
// Parse field and extract array information. Works for T_ARRAY only.
static BasicType get_array_info(symbolOop signature, jint* dimension, symbolOop *object_key, TRAPS);
};
+
+#endif // SHARE_VM_RUNTIME_FIELDTYPE_HPP
diff --git a/src/share/vm/runtime/fprofiler.cpp b/src/share/vm/runtime/fprofiler.cpp
index 58e3cfe4d..70c79136d 100644
--- a/src/share/vm/runtime/fprofiler.cpp
+++ b/src/share/vm/runtime/fprofiler.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,24 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_fprofiler.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classLoader.hpp"
+#include "code/vtableStubs.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/stubCodeGenerator.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/task.hpp"
+#include "runtime/vframe.hpp"
+#include "utilities/macros.hpp"
// Static fields of FlatProfiler
int FlatProfiler::received_gc_ticks = 0;
diff --git a/src/share/vm/runtime/fprofiler.hpp b/src/share/vm/runtime/fprofiler.hpp
index f0f11edbc..58a5f8ca0 100644
--- a/src/share/vm/runtime/fprofiler.hpp
+++ b/src/share/vm/runtime/fprofiler.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_FPROFILER_HPP
+#define SHARE_VM_RUNTIME_FPROFILER_HPP
+
+#include "runtime/timer.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
// a simple flat profiler for Java
@@ -309,3 +323,5 @@ public:
static IntervalData* interval_data;
#endif // FPROF_KERNEL
};
+
+#endif // SHARE_VM_RUNTIME_FPROFILER_HPP
diff --git a/src/share/vm/runtime/frame.cpp b/src/share/vm/runtime/frame.cpp
index b7eb8145b..90167f36b 100644
--- a/src/share/vm/runtime/frame.cpp
+++ b/src/share/vm/runtime/frame.cpp
@@ -22,8 +22,34 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_frame.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/markOop.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/oop.inline2.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/monitorChunk.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/stubCodeGenerator.hpp"
+#include "runtime/stubRoutines.hpp"
+#ifdef TARGET_ARCH_x86
+# include "nativeInst_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "nativeInst_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "nativeInst_zero.hpp"
+#endif
RegisterMap::RegisterMap(JavaThread *thread, bool update_map) {
_thread = thread;
diff --git a/src/share/vm/runtime/frame.hpp b/src/share/vm/runtime/frame.hpp
index a2ac51f36..d253e5b47 100644
--- a/src/share/vm/runtime/frame.hpp
+++ b/src/share/vm/runtime/frame.hpp
@@ -22,6 +22,35 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_FRAME_HPP
+#define SHARE_VM_RUNTIME_FRAME_HPP
+
+#include "asm/assembler.hpp"
+#include "oops/methodOop.hpp"
+#include "runtime/basicLock.hpp"
+#include "runtime/monitorChunk.hpp"
+#include "runtime/registerMap.hpp"
+#include "utilities/top.hpp"
+#ifdef COMPILER2
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/adGlobals_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/adGlobals_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/adGlobals_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/adGlobals_zero.hpp"
+#endif
+#endif
+#ifdef ZERO
+#ifdef TARGET_ARCH_zero
+# include "stack_zero.hpp"
+#endif
+#endif
+
typedef class BytecodeInterpreter* interpreterState;
class CodeBlob;
@@ -419,7 +448,16 @@ class frame VALUE_OBJ_CLASS_SPEC {
int pd_oop_map_offset_adjustment() const;
-# include "incls/_frame_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "frame_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "frame_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "frame_zero.hpp"
+#endif
+
};
@@ -451,3 +489,5 @@ class StackFrameStream : public StackObj {
frame *current() { return &_fr; }
RegisterMap* register_map() { return &_reg_map; }
};
+
+#endif // SHARE_VM_RUNTIME_FRAME_HPP
diff --git a/src/share/vm/runtime/frame.inline.hpp b/src/share/vm/runtime/frame.inline.hpp
index a7c9c86a8..9ecae4527 100644
--- a/src/share/vm/runtime/frame.inline.hpp
+++ b/src/share/vm/runtime/frame.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,33 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_FRAME_INLINE_HPP
+#define SHARE_VM_RUNTIME_FRAME_INLINE_HPP
+
+#include "interpreter/bytecodeInterpreter.hpp"
+#include "interpreter/bytecodeInterpreter.inline.hpp"
+#include "interpreter/interpreter.hpp"
+#include "oops/methodOop.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/signature.hpp"
+#ifdef TARGET_ARCH_x86
+# include "jniTypes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "jniTypes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "jniTypes_zero.hpp"
+#endif
+#ifdef ZERO
+#ifdef TARGET_ARCH_zero
+# include "entryFrame_zero.hpp"
+# include "fakeStubFrame_zero.hpp"
+# include "interpreterFrame_zero.hpp"
+# include "sharkFrame_zero.hpp"
+#endif
+#endif
+
// This file holds platform-independent bodies of inline functions for frames.
// Note: The bcx usually contains the bcp; however during GC it contains the bci
@@ -52,4 +79,15 @@ inline bool frame::is_first_frame() const {
// here are the platform-dependent bodies:
-# include "incls/_frame_pd.inline.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "frame_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "frame_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "frame_zero.inline.hpp"
+#endif
+
+
+#endif // SHARE_VM_RUNTIME_FRAME_INLINE_HPP
diff --git a/src/share/vm/runtime/globals.cpp b/src/share/vm/runtime/globals.cpp
index eb896c083..e0f99c300 100644
--- a/src/share/vm/runtime/globals.cpp
+++ b/src/share/vm/runtime/globals.cpp
@@ -22,8 +22,26 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_globals.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/globals.hpp"
+#include "runtime/globals_extension.hpp"
+#include "utilities/ostream.hpp"
+#include "utilities/top.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/g1/g1_globals.hpp"
+#endif
+#ifdef COMPILER1
+#include "c1/c1_globals.hpp"
+#endif
+#ifdef COMPILER2
+#include "opto/c2_globals.hpp"
+#endif
+#ifdef SHARK
+#include "shark/shark_globals.hpp"
+#endif
RUNTIME_FLAGS(MATERIALIZE_DEVELOPER_FLAG, MATERIALIZE_PD_DEVELOPER_FLAG, \
diff --git a/src/share/vm/runtime/globals.hpp b/src/share/vm/runtime/globals.hpp
index 5325085e2..91e27e7be 100644
--- a/src/share/vm/runtime/globals.hpp
+++ b/src/share/vm/runtime/globals.hpp
@@ -22,6 +22,86 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_GLOBALS_HPP
+#define SHARE_VM_RUNTIME_GLOBALS_HPP
+
+#include "utilities/debug.hpp"
+#ifdef TARGET_ARCH_x86
+# include "globals_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "globals_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "globals_zero.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "globals_linux.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "globals_solaris.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "globals_windows.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_x86
+# include "globals_linux_x86.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_sparc
+# include "globals_linux_sparc.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_zero
+# include "globals_linux_zero.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_x86
+# include "globals_solaris_x86.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_sparc
+# include "globals_solaris_sparc.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_windows_x86
+# include "globals_windows_x86.hpp"
+#endif
+#ifdef COMPILER1
+#ifdef TARGET_ARCH_x86
+# include "c1_globals_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "c1_globals_sparc.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "c1_globals_linux.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "c1_globals_solaris.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "c1_globals_windows.hpp"
+#endif
+#endif
+#ifdef COMPILER2
+#ifdef TARGET_ARCH_x86
+# include "c2_globals_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "c2_globals_sparc.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "c2_globals_linux.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "c2_globals_solaris.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "c2_globals_windows.hpp"
+#endif
+#endif
+#ifdef SHARK
+#ifdef TARGET_ARCH_zero
+# include "shark_globals_zero.hpp"
+#endif
+#endif
+
#if !defined(COMPILER1) && !defined(COMPILER2) && !defined(SHARK)
define_pd_global(bool, BackgroundCompilation, false);
define_pd_global(bool, UseTLAB, false);
@@ -3676,3 +3756,5 @@ class CommandLineFlags {
RUNTIME_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG, DECLARE_LP64_PRODUCT_FLAG)
RUNTIME_OS_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_NOTPRODUCT_FLAG)
+
+#endif // SHARE_VM_RUNTIME_GLOBALS_HPP
diff --git a/src/share/vm/runtime/globals_extension.hpp b/src/share/vm/runtime/globals_extension.hpp
index 62513f0e2..c51ede0e7 100644
--- a/src/share/vm/runtime/globals_extension.hpp
+++ b/src/share/vm/runtime/globals_extension.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_GLOBALS_EXTENSION_HPP
+#define SHARE_VM_RUNTIME_GLOBALS_EXTENSION_HPP
+
+#include "runtime/globals.hpp"
+#include "utilities/top.hpp"
+
// Construct enum of Flag_<cmdline-arg> constants.
// Parens left off in the following for the enum decl below.
@@ -213,3 +219,5 @@ class CommandLineFlagsEx : CommandLineFlags {
static bool is_ergo(CommandLineFlag flag);
static bool is_cmdline(CommandLineFlag flag);
};
+
+#endif // SHARE_VM_RUNTIME_GLOBALS_EXTENSION_HPP
diff --git a/src/share/vm/runtime/handles.cpp b/src/share/vm/runtime/handles.cpp
index 334d3febe..4a57d2681 100644
--- a/src/share/vm/runtime/handles.cpp
+++ b/src/share/vm/runtime/handles.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,22 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_handles.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+# include "thread_windows.inline.hpp"
+#endif
#ifdef ASSERT
oop* HandleArea::allocate_handle(oop obj) {
diff --git a/src/share/vm/runtime/handles.hpp b/src/share/vm/runtime/handles.hpp
index 487435f90..b4a03ff08 100644
--- a/src/share/vm/runtime/handles.hpp
+++ b/src/share/vm/runtime/handles.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_HANDLES_HPP
+#define SHARE_VM_RUNTIME_HANDLES_HPP
+
+#include "oops/klass.hpp"
+#include "oops/klassOop.hpp"
+#include "utilities/top.hpp"
+
//------------------------------------------------------------------------------------------------------------------------
// In order to preserve oops during garbage collection, they should be
// allocated and passed around via Handles within the VM. A handle is
@@ -354,3 +361,5 @@ class ResetNoHandleMark: public StackObj {
~ResetNoHandleMark() {}
#endif
};
+
+#endif // SHARE_VM_RUNTIME_HANDLES_HPP
diff --git a/src/share/vm/runtime/handles.inline.hpp b/src/share/vm/runtime/handles.inline.hpp
index 6a8b65f40..01060f591 100644
--- a/src/share/vm/runtime/handles.inline.hpp
+++ b/src/share/vm/runtime/handles.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_HANDLES_INLINE_HPP
+#define SHARE_VM_RUNTIME_HANDLES_INLINE_HPP
+
+#include "runtime/handles.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
// these inline functions are in a separate file to break an include cycle
// between Thread and Handle
@@ -71,3 +85,5 @@ inline void HandleMark::pop_and_restore() {
NOT_PRODUCT(area->set_size_in_bytes(_size_in_bytes);)
debug_only(area->_handle_mark_nesting--);
}
+
+#endif // SHARE_VM_RUNTIME_HANDLES_INLINE_HPP
diff --git a/src/share/vm/runtime/hpi.cpp b/src/share/vm/runtime/hpi.cpp
index 4f0b9c019..32c3b87e1 100644
--- a/src/share/vm/runtime/hpi.cpp
+++ b/src/share/vm/runtime/hpi.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_hpi.cpp.incl"
+#include "precompiled.hpp"
+#include "prims/jvm.h"
+#include "runtime/hpi.hpp"
extern "C" {
static void unimplemented_panic(const char *fmt, ...) {
diff --git a/src/share/vm/runtime/hpi.hpp b/src/share/vm/runtime/hpi.hpp
index 2a5f22110..3264c8c93 100644
--- a/src/share/vm/runtime/hpi.hpp
+++ b/src/share/vm/runtime/hpi.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_HPI_HPP
+#define SHARE_VM_RUNTIME_HPI_HPP
+
+#include "prims/hpi_imported.h"
+#include "runtime/os.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/top.hpp"
+
//
// C++ wrapper to HPI.
//
@@ -232,3 +240,5 @@ HPIDECL(lasterror, "lasterror", _system, GetLastErrorString, int, "%d",
(char *buf, int len),
("buf = %p, len = %d", buf, len),
(buf, len));
+
+#endif // SHARE_VM_RUNTIME_HPI_HPP
diff --git a/src/share/vm/runtime/icache.cpp b/src/share/vm/runtime/icache.cpp
index 78a3bcd78..02ac795b3 100644
--- a/src/share/vm/runtime/icache.cpp
+++ b/src/share/vm/runtime/icache.cpp
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_icache.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/icache.hpp"
// The flush stub function address
AbstractICache::flush_icache_stub_t AbstractICache::_flush_icache_stub = NULL;
diff --git a/src/share/vm/runtime/icache.hpp b/src/share/vm/runtime/icache.hpp
index c968ff470..d8b991fbd 100644
--- a/src/share/vm/runtime/icache.hpp
+++ b/src/share/vm/runtime/icache.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_ICACHE_HPP
+#define SHARE_VM_RUNTIME_ICACHE_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/stubCodeGenerator.hpp"
+
// Interface for updating the instruction cache. Whenever the VM modifies
// code, part of the processor instruction cache potentially has to be flushed.
@@ -62,7 +68,16 @@ class AbstractICache : AllStatic {
// Must be included before the definition of ICacheStubGenerator
// because ICacheStubGenerator uses ICache definitions.
-#include "incls/_icache_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "icache_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "icache_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "icache_zero.hpp"
+#endif
+
class ICacheStubGenerator : public StubCodeGenerator {
@@ -113,3 +128,5 @@ class ICacheStubGenerator : public StubCodeGenerator {
void generate_icache_flush(ICache::flush_icache_stub_t* flush_icache_stub);
};
+
+#endif // SHARE_VM_RUNTIME_ICACHE_HPP
diff --git a/src/share/vm/runtime/init.cpp b/src/share/vm/runtime/init.cpp
index fbecf4d6a..7c1904693 100644
--- a/src/share/vm/runtime/init.cpp
+++ b/src/share/vm/runtime/init.cpp
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_init.cpp.incl"
+#include "precompiled.hpp"
+#include "code/icBuffer.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "memory/universe.hpp"
+#include "prims/methodHandles.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/icache.hpp"
+#include "runtime/init.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/sharedRuntime.hpp"
// Initialization done by VM thread in vm_init_globals()
void check_ThreadShadow();
diff --git a/src/share/vm/runtime/init.hpp b/src/share/vm/runtime/init.hpp
index 782476326..fd9fdf6f6 100644
--- a/src/share/vm/runtime/init.hpp
+++ b/src/share/vm/runtime/init.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_INIT_HPP
+#define SHARE_VM_RUNTIME_INIT_HPP
+
+#include "utilities/top.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).
// Also, init.c gives explicit control over the sequence of initialization.
@@ -36,3 +41,5 @@ void exit_globals(); // call destructors before exit
bool is_init_completed(); // returns true when bootstrapping has completed
void set_init_completed(); // set basic init to completed
+
+#endif // SHARE_VM_RUNTIME_INIT_HPP
diff --git a/src/share/vm/runtime/interfaceSupport.cpp b/src/share/vm/runtime/interfaceSupport.cpp
index 20c8cb0d9..93f64a333 100644
--- a/src/share/vm/runtime/interfaceSupport.cpp
+++ b/src/share/vm/runtime/interfaceSupport.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_interfaceSupport.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/shared/markSweep.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/init.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/threadLocalStorage.hpp"
+#include "runtime/vframe.hpp"
+#include "utilities/preserveException.hpp"
// Implementation of InterfaceSupport
diff --git a/src/share/vm/runtime/interfaceSupport.hpp b/src/share/vm/runtime/interfaceSupport.hpp
index 60c854b4c..98b4e5f68 100644
--- a/src/share/vm/runtime/interfaceSupport.hpp
+++ b/src/share/vm/runtime/interfaceSupport.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,29 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_INTERFACESUPPORT_HPP
+#define SHARE_VM_RUNTIME_INTERFACESUPPORT_HPP
+
+#include "memory/gcLocker.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/orderAccess.hpp"
+#include "runtime/os.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/vmThread.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/preserveException.hpp"
+#include "utilities/top.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
// Wrapper for all entry points to the virtual machine.
// The HandleMarkCleaner is a faster version of HandleMark.
// It relies on the fact that there is a HandleMark further
@@ -82,7 +105,16 @@ class InterfaceSupport: AllStatic {
public:
// OS dependent stuff
- #include "incls/_interfaceSupport_pd.hpp.incl"
+#ifdef TARGET_OS_FAMILY_linux
+# include "interfaceSupport_linux.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "interfaceSupport_solaris.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "interfaceSupport_windows.hpp"
+#endif
+
};
@@ -566,3 +598,5 @@ extern "C" { \
#define JVM_END } }
+
+#endif // SHARE_VM_RUNTIME_INTERFACESUPPORT_HPP
diff --git a/src/share/vm/runtime/java.cpp b/src/share/vm/runtime/java.cpp
index df135ea97..6abdd64d5 100644
--- a/src/share/vm/runtime/java.cpp
+++ b/src/share/vm/runtime/java.cpp
@@ -22,8 +22,79 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_java.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classLoader.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "compiler/compileBroker.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "interpreter/bytecodeHistogram.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/universe.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/generateOopMap.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/instanceKlassKlass.hpp"
+#include "oops/instanceOop.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/aprofiler.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/init.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/java.hpp"
+#include "runtime/memprofiler.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/statSampler.hpp"
+#include "runtime/task.hpp"
+#include "runtime/timer.hpp"
+#include "runtime/vm_operations.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/histogram.hpp"
+#include "utilities/vmError.hpp"
+#ifdef TARGET_ARCH_x86
+# include "vm_version_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "vm_version_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "vm_version_zero.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.hpp"
+#include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
+#endif
+#ifdef COMPILER1
+#include "c1/c1_Compiler.hpp"
+#include "c1/c1_Runtime1.hpp"
+#endif
+#ifdef COMPILER2
+#include "code/compiledIC.hpp"
+#include "compiler/methodLiveness.hpp"
+#include "opto/compile.hpp"
+#include "opto/indexSet.hpp"
+#include "opto/runtime.hpp"
+#endif
HS_DTRACE_PROBE_DECL(hotspot, vm__shutdown);
diff --git a/src/share/vm/runtime/java.hpp b/src/share/vm/runtime/java.hpp
index 9746c77ae..b6062da44 100644
--- a/src/share/vm/runtime/java.hpp
+++ b/src/share/vm/runtime/java.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_JAVA_HPP
+#define SHARE_VM_RUNTIME_JAVA_HPP
+
+#include "runtime/os.hpp"
+
// Register function to be called by before_exit
extern "C" { void register_on_exit_function(void (*func)(void)) ;}
@@ -208,3 +213,5 @@ class JDK_Version VALUE_OBJ_CLASS_SPEC {
return current().compare_major(7) >= 0;
}
};
+
+#endif // SHARE_VM_RUNTIME_JAVA_HPP
diff --git a/src/share/vm/runtime/javaCalls.cpp b/src/share/vm/runtime/javaCalls.cpp
index 3d1c41ca6..beb88649a 100644
--- a/src/share/vm/runtime/javaCalls.cpp
+++ b/src/share/vm/runtime/javaCalls.cpp
@@ -22,8 +22,32 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_javaCalls.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/nmethod.hpp"
+#include "compiler/compileBroker.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jniCheck.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/stubRoutines.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
// -----------------------------------------------------
// Implementation of JavaCallWrapper
diff --git a/src/share/vm/runtime/javaCalls.hpp b/src/share/vm/runtime/javaCalls.hpp
index 409c43718..9354501c4 100644
--- a/src/share/vm/runtime/javaCalls.hpp
+++ b/src/share/vm/runtime/javaCalls.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,33 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_JAVACALLS_HPP
+#define SHARE_VM_RUNTIME_JAVACALLS_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/methodOop.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/javaFrameAnchor.hpp"
+#include "runtime/vmThread.hpp"
+#ifdef TARGET_ARCH_x86
+# include "jniTypes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "jniTypes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "jniTypes_zero.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
// A JavaCallWrapper is constructed before each JavaCall and destructed after the call.
// Its purpose is to allocate/deallocate a new handle block and to save/restore the last
// Java fp/sp. A pointer to the JavaCallWrapper is stored on the stack.
@@ -189,3 +216,5 @@ class JavaCalls: AllStatic {
// Low-level interface
static void call(JavaValue* result, methodHandle method, JavaCallArguments* args, TRAPS);
};
+
+#endif // SHARE_VM_RUNTIME_JAVACALLS_HPP
diff --git a/src/share/vm/runtime/javaFrameAnchor.hpp b/src/share/vm/runtime/javaFrameAnchor.hpp
index 7f99e020c..314031b7c 100644
--- a/src/share/vm/runtime/javaFrameAnchor.hpp
+++ b/src/share/vm/runtime/javaFrameAnchor.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -21,6 +21,29 @@
* questions.
*
*/
+
+#ifndef SHARE_VM_RUNTIME_JAVAFRAMEANCHOR_HPP
+#define SHARE_VM_RUNTIME_JAVAFRAMEANCHOR_HPP
+
+#include "utilities/globalDefinitions.hpp"
+#ifdef TARGET_OS_ARCH_linux_x86
+# include "orderAccess_linux_x86.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_sparc
+# include "orderAccess_linux_sparc.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_zero
+# include "orderAccess_linux_zero.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_x86
+# include "orderAccess_solaris_x86.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_sparc
+# include "orderAccess_solaris_sparc.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_windows_x86
+# include "orderAccess_windows_x86.inline.hpp"
+#endif
//
// An object for encapsulating the machine/os dependent part of a JavaThread frame state
//
@@ -70,7 +93,16 @@ friend class JavaCallWrapper;
// and no one should look at the other fields.
void zap(void) { _last_Java_sp = NULL; }
-#include "incls/_javaFrameAnchor_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "javaFrameAnchor_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "javaFrameAnchor_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "javaFrameAnchor_zero.hpp"
+#endif
+
public:
JavaFrameAnchor() { clear(); }
@@ -84,3 +116,5 @@ public:
static ByteSize last_Java_pc_offset() { return byte_offset_of(JavaFrameAnchor, _last_Java_pc); }
};
+
+#endif // SHARE_VM_RUNTIME_JAVAFRAMEANCHOR_HPP
diff --git a/src/share/vm/runtime/jfieldIDWorkaround.hpp b/src/share/vm/runtime/jfieldIDWorkaround.hpp
index 335ae5fdb..4b6f1aca7 100644
--- a/src/share/vm/runtime/jfieldIDWorkaround.hpp
+++ b/src/share/vm/runtime/jfieldIDWorkaround.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_JFIELDIDWORKAROUND_HPP
+#define SHARE_VM_RUNTIME_JFIELDIDWORKAROUND_HPP
+
class jfieldIDWorkaround: AllStatic {
// This workaround is because JVMTI doesn't have distinct entry points
// for methods that use static jfieldIDs and instance jfieldIDs.
@@ -157,3 +160,5 @@ class jfieldIDWorkaround: AllStatic {
}
}
};
+
+#endif // SHARE_VM_RUNTIME_JFIELDIDWORKAROUND_HPP
diff --git a/src/share/vm/runtime/jniHandles.cpp b/src/share/vm/runtime/jniHandles.cpp
index e75a690e1..357061f3e 100644
--- a/src/share/vm/runtime/jniHandles.cpp
+++ b/src/share/vm/runtime/jniHandles.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,20 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jniHandles.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/jniHandles.hpp"
+#include "runtime/mutexLocker.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
JNIHandleBlock* JNIHandles::_global_handles = NULL;
diff --git a/src/share/vm/runtime/jniHandles.hpp b/src/share/vm/runtime/jniHandles.hpp
index 262ac82ab..a3b2f9c4c 100644
--- a/src/share/vm/runtime/jniHandles.hpp
+++ b/src/share/vm/runtime/jniHandles.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_JNIHANDLES_HPP
+#define SHARE_VM_RUNTIME_JNIHANDLES_HPP
+
+#include "runtime/handles.hpp"
+#include "utilities/top.hpp"
+
class JNIHandleBlock;
@@ -220,3 +226,5 @@ inline void JNIHandles::destroy_local(jobject handle) {
*((oop*)handle) = deleted_handle(); // Mark the handle as deleted, allocate will reuse it
}
}
+
+#endif // SHARE_VM_RUNTIME_JNIHANDLES_HPP
diff --git a/src/share/vm/runtime/jniPeriodicChecker.cpp b/src/share/vm/runtime/jniPeriodicChecker.cpp
index a53852f7d..45632e620 100644
--- a/src/share/vm/runtime/jniPeriodicChecker.cpp
+++ b/src/share/vm/runtime/jniPeriodicChecker.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_jniPeriodicChecker.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "runtime/jniPeriodicChecker.hpp"
+#include "runtime/task.hpp"
// --------------------------------------------------------
diff --git a/src/share/vm/runtime/jniPeriodicChecker.hpp b/src/share/vm/runtime/jniPeriodicChecker.hpp
index d1273bac7..2840659a0 100644
--- a/src/share/vm/runtime/jniPeriodicChecker.hpp
+++ b/src/share/vm/runtime/jniPeriodicChecker.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_JNIPERIODICCHECKER_HPP
+#define SHARE_VM_RUNTIME_JNIPERIODICCHECKER_HPP
+
class JniPeriodicCheckerTask;
/*
@@ -50,3 +53,5 @@ class JniPeriodicChecker : AllStatic {
};
void jniPeriodicChecker_exit();
+
+#endif // SHARE_VM_RUNTIME_JNIPERIODICCHECKER_HPP
diff --git a/src/share/vm/runtime/memprofiler.cpp b/src/share/vm/runtime/memprofiler.cpp
index 5863cd368..cf49dd3c2 100644
--- a/src/share/vm/runtime/memprofiler.cpp
+++ b/src/share/vm/runtime/memprofiler.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,30 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_memprofiler.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "gc_interface/collectedHeap.inline.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "memory/generation.hpp"
+#include "memory/permGen.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/jniHandles.hpp"
+#include "runtime/memprofiler.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/os.hpp"
+#include "runtime/task.hpp"
+#include "runtime/vmThread.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
#ifndef PRODUCT
diff --git a/src/share/vm/runtime/memprofiler.hpp b/src/share/vm/runtime/memprofiler.hpp
index af19916b2..8fca6b486 100644
--- a/src/share/vm/runtime/memprofiler.hpp
+++ b/src/share/vm/runtime/memprofiler.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_MEMPROFILER_HPP
+#define SHARE_VM_RUNTIME_MEMPROFILER_HPP
+
// Prints periodic memory usage trace of HotSpot VM
class MemProfilerTask;
@@ -40,3 +43,5 @@ class MemProfiler : AllStatic {
// Tester
static bool is_active() PRODUCT_RETURN0;
};
+
+#endif // SHARE_VM_RUNTIME_MEMPROFILER_HPP
diff --git a/src/share/vm/runtime/monitorChunk.cpp b/src/share/vm/runtime/monitorChunk.cpp
index 4902dd80b..1a4be7920 100644
--- a/src/share/vm/runtime/monitorChunk.cpp
+++ b/src/share/vm/runtime/monitorChunk.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_monitorChunk.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/monitorChunk.hpp"
MonitorChunk::MonitorChunk(int number_on_monitors) {
_number_of_monitors = number_on_monitors;
diff --git a/src/share/vm/runtime/monitorChunk.hpp b/src/share/vm/runtime/monitorChunk.hpp
index 2de588bd8..66d62438c 100644
--- a/src/share/vm/runtime/monitorChunk.hpp
+++ b/src/share/vm/runtime/monitorChunk.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_MONITORCHUNK_HPP
+#define SHARE_VM_RUNTIME_MONITORCHUNK_HPP
+
+#include "runtime/synchronizer.hpp"
+
// Data structure for holding monitors for one activation during
// deoptimization.
@@ -56,3 +61,5 @@ class MonitorChunk: public CHeapObj {
// Tells whether the addr point into the monitors.
bool contains(void* addr) const { return (addr >= (void*) monitors()) && (addr < (void*) (monitors() + number_of_monitors())); }
};
+
+#endif // SHARE_VM_RUNTIME_MONITORCHUNK_HPP
diff --git a/src/share/vm/runtime/mutex.cpp b/src/share/vm/runtime/mutex.cpp
index e623e8afe..634ec43c6 100644
--- a/src/share/vm/runtime/mutex.cpp
+++ b/src/share/vm/runtime/mutex.cpp
@@ -1,6 +1,6 @@
/*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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,8 +23,22 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_mutex.cpp.incl"
+#include "precompiled.hpp"
+#include "runtime/mutex.hpp"
+#include "runtime/osThread.hpp"
+#include "utilities/events.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "mutex_linux.inline.hpp"
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "mutex_solaris.inline.hpp"
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "mutex_windows.inline.hpp"
+# include "thread_windows.inline.hpp"
+#endif
// o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
//
diff --git a/src/share/vm/runtime/mutex.hpp b/src/share/vm/runtime/mutex.hpp
index ee0ca717b..66a3295c8 100644
--- a/src/share/vm/runtime/mutex.hpp
+++ b/src/share/vm/runtime/mutex.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_MUTEX_HPP
+#define SHARE_VM_RUNTIME_MUTEX_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/os.hpp"
+#include "utilities/histogram.hpp"
+
// The SplitWord construct allows us to colocate the contention queue
// (cxq) with the lock-byte. The queue elements are ParkEvents, which are
// always aligned on 256-byte addresses - the least significant byte of
@@ -265,3 +272,5 @@ class Mutex : public Monitor { // degenerate Monitor
}
};
+
+#endif // SHARE_VM_RUNTIME_MUTEX_HPP
diff --git a/src/share/vm/runtime/mutexLocker.cpp b/src/share/vm/runtime/mutexLocker.cpp
index 93f1e2fee..5b825aee6 100644
--- a/src/share/vm/runtime/mutexLocker.cpp
+++ b/src/share/vm/runtime/mutexLocker.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,20 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_mutexLocker.cpp.incl"
+#include "precompiled.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/threadLocalStorage.hpp"
+#include "runtime/vmThread.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
// Mutexes used in the VM (see comment in mutexLocker.hpp):
//
diff --git a/src/share/vm/runtime/mutexLocker.hpp b/src/share/vm/runtime/mutexLocker.hpp
index 08083f5a1..c4a9ce1bb 100644
--- a/src/share/vm/runtime/mutexLocker.hpp
+++ b/src/share/vm/runtime/mutexLocker.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,21 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_MUTEXLOCKER_HPP
+#define SHARE_VM_RUNTIME_MUTEXLOCKER_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/mutex.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
+
// Mutexes used in the VM.
extern Mutex* Patching_lock; // a lock used to guard code patching of compiled code
@@ -343,3 +358,5 @@ class VerifyMutexLocker: StackObj {
};
#endif
+
+#endif // SHARE_VM_RUNTIME_MUTEXLOCKER_HPP
diff --git a/src/share/vm/runtime/objectMonitor.cpp b/src/share/vm/runtime/objectMonitor.cpp
index 9a8178774..ebe3f5431 100644
--- a/src/share/vm/runtime/objectMonitor.cpp
+++ b/src/share/vm/runtime/objectMonitor.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,34 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_objectMonitor.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/markOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/objectMonitor.hpp"
+#include "runtime/objectMonitor.inline.hpp"
+#include "runtime/osThread.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/thread.hpp"
+#include "services/threadService.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/preserveException.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+# include "thread_windows.inline.hpp"
+#endif
#if defined(__GNUC__) && !defined(IA64)
// Need to inhibit inlining for older versions of GCC to avoid build-time failures
diff --git a/src/share/vm/runtime/objectMonitor.hpp b/src/share/vm/runtime/objectMonitor.hpp
index 20f013619..6d8ab091c 100644
--- a/src/share/vm/runtime/objectMonitor.hpp
+++ b/src/share/vm/runtime/objectMonitor.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_OBJECTMONITOR_HPP
+#define SHARE_VM_RUNTIME_OBJECTMONITOR_HPP
+
+#include "runtime/os.hpp"
+#include "runtime/perfData.hpp"
+
// ObjectWaiter serves as a "proxy" or surrogate thread.
// TODO-FIXME: Eliminate ObjectWaiter and use the thread-specific
@@ -306,3 +312,5 @@ public:
#undef TEVENT
#define TEVENT(nom) {;}
+
+#endif // SHARE_VM_RUNTIME_OBJECTMONITOR_HPP
diff --git a/src/share/vm/runtime/objectMonitor.inline.hpp b/src/share/vm/runtime/objectMonitor.inline.hpp
index 114b7c10c..2107523a3 100644
--- a/src/share/vm/runtime/objectMonitor.inline.hpp
+++ b/src/share/vm/runtime/objectMonitor.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_OBJECTMONITOR_INLINE_HPP
+#define SHARE_VM_RUNTIME_OBJECTMONITOR_INLINE_HPP
+
inline intptr_t ObjectMonitor::is_entered(TRAPS) const {
if (THREAD == _owner || THREAD->is_lock_owned((address) _owner)) {
return 1;
@@ -104,3 +107,5 @@ inline void ObjectMonitor::set_owner(void* owner) {
_count = 0;
}
+
+#endif // SHARE_VM_RUNTIME_OBJECTMONITOR_INLINE_HPP
diff --git a/src/share/vm/runtime/orderAccess.cpp b/src/share/vm/runtime/orderAccess.cpp
index 12124f964..96369384e 100644
--- a/src/share/vm/runtime/orderAccess.cpp
+++ b/src/share/vm/runtime/orderAccess.cpp
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_orderAccess.cpp.incl"
+#include "precompiled.hpp"
+#include "runtime/orderAccess.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/thread.hpp"
void OrderAccess::StubRoutines_fence() {
// Use a stub if it exists. It may not exist during bootstrap so do
diff --git a/src/share/vm/runtime/orderAccess.hpp b/src/share/vm/runtime/orderAccess.hpp
index 28b049a43..b59b4642c 100644
--- a/src/share/vm/runtime/orderAccess.hpp
+++ b/src/share/vm/runtime/orderAccess.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_ORDERACCESS_HPP
+#define SHARE_VM_RUNTIME_ORDERACCESS_HPP
+
+#include "memory/allocation.hpp"
+
// Memory Access Ordering Model
//
// This interface is based on the JSR-133 Cookbook for Compiler Writers
@@ -309,3 +314,5 @@ class OrderAccess : AllStatic {
// don't another way to do the inline eassembly.
static void StubRoutines_fence();
};
+
+#endif // SHARE_VM_RUNTIME_ORDERACCESS_HPP
diff --git a/src/share/vm/runtime/os.cpp b/src/share/vm/runtime/os.cpp
index 41e854b1a..72e8b02f4 100644
--- a/src/share/vm/runtime/os.cpp
+++ b/src/share/vm/runtime/os.cpp
@@ -22,8 +22,45 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_os.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classLoader.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/icBuffer.hpp"
+#include "code/vtableStubs.hpp"
+#include "gc_implementation/shared/vmGCOperations.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvm.h"
+#include "prims/jvm_misc.hpp"
+#include "prims/privilegedStack.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/hpi.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/os.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "services/attachListener.hpp"
+#include "services/threadService.hpp"
+#include "utilities/defaultStream.hpp"
+#include "utilities/events.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+# include "thread_windows.inline.hpp"
+#endif
# include <signal.h>
diff --git a/src/share/vm/runtime/os.hpp b/src/share/vm/runtime/os.hpp
index 3187498a2..4d87378a7 100644
--- a/src/share/vm/runtime/os.hpp
+++ b/src/share/vm/runtime/os.hpp
@@ -22,6 +22,24 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_OS_HPP
+#define SHARE_VM_RUNTIME_OS_HPP
+
+#include "jvmtifiles/jvmti.h"
+#include "runtime/atomic.hpp"
+#include "runtime/extendedPC.hpp"
+#include "runtime/handles.hpp"
+#include "utilities/top.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "jvm_linux.h"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "jvm_solaris.h"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "jvm_windows.h"
+#endif
+
// os defines the interface to operating system; this includes traditional
// OS services (time, I/O) as well as other functionality with system-
// dependent code.
@@ -587,7 +605,34 @@ class os: AllStatic {
static bool obsolete_option(const JavaVMOption *option);
// Platform dependent stuff
- #include "incls/_os_pd.hpp.incl"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_x86
+# include "os_linux_x86.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_sparc
+# include "os_linux_sparc.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_zero
+# include "os_linux_zero.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_x86
+# include "os_solaris_x86.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_sparc
+# include "os_solaris_sparc.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_windows_x86
+# include "os_windows_x86.hpp"
+#endif
+
// debugging support (mostly used by debug.cpp but also fatal error handler)
static bool find(address pc, outputStream* st = tty); // OS specific function to make sense out of an address
@@ -630,3 +675,5 @@ class os: AllStatic {
extern "C" int SpinPause () ;
extern "C" int SafeFetch32 (int * adr, int errValue) ;
extern "C" intptr_t SafeFetchN (intptr_t * adr, intptr_t errValue) ;
+
+#endif // SHARE_VM_RUNTIME_OS_HPP
diff --git a/src/share/vm/runtime/osThread.cpp b/src/share/vm/runtime/osThread.cpp
index 8cb53f631..8c7b5e61c 100644
--- a/src/share/vm/runtime/osThread.cpp
+++ b/src/share/vm/runtime/osThread.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_osThread.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/osThread.hpp"
OSThread::OSThread(OSThreadStartFunc start_proc, void* start_parm) {
diff --git a/src/share/vm/runtime/osThread.hpp b/src/share/vm/runtime/osThread.hpp
index 9e08e3cfe..aaf0aeab6 100644
--- a/src/share/vm/runtime/osThread.hpp
+++ b/src/share/vm/runtime/osThread.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_OSTHREAD_HPP
+#define SHARE_VM_RUNTIME_OSTHREAD_HPP
+
+#include "runtime/frame.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/hpi.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.
@@ -91,7 +101,16 @@ class OSThread: public CHeapObj {
static ByteSize interrupted_offset() { return byte_offset_of(OSThread, _interrupted); }
// Platform dependent stuff
- #include "incls/_osThread_pd.hpp.incl"
+#ifdef TARGET_OS_FAMILY_linux
+# include "osThread_linux.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "osThread_solaris.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "osThread_windows.hpp"
+#endif
+
};
@@ -129,3 +148,5 @@ class OSThreadContendState : public StackObj {
_osthread->set_state(_old_state);
}
};
+
+#endif // SHARE_VM_RUNTIME_OSTHREAD_HPP
diff --git a/src/share/vm/runtime/park.cpp b/src/share/vm/runtime/park.cpp
index 4fdb4fc54..1be573332 100644
--- a/src/share/vm/runtime/park.cpp
+++ b/src/share/vm/runtime/park.cpp
@@ -22,9 +22,9 @@
*
*/
+#include "precompiled.hpp"
+#include "runtime/thread.hpp"
-# include "incls/_precompiled.incl"
-# include "incls/_park.cpp.incl"
// Lifecycle management for TSM ParkEvents.
diff --git a/src/share/vm/runtime/park.hpp b/src/share/vm/runtime/park.hpp
index 8979b4dc0..4b72bb609 100644
--- a/src/share/vm/runtime/park.hpp
+++ b/src/share/vm/runtime/park.hpp
@@ -21,6 +21,12 @@
* questions.
*
*/
+
+#ifndef SHARE_VM_RUNTIME_PARK_HPP
+#define SHARE_VM_RUNTIME_PARK_HPP
+
+#include "utilities/debug.hpp"
+#include "utilities/globalDefinitions.hpp"
/*
* Per-thread blocking support for JSR166. See the Java-level
* Documentation for rationale. Basically, park acts like wait, unpark
@@ -167,3 +173,5 @@ class ParkEvent : public os::PlatformEvent {
static ParkEvent * Allocate (Thread * t) ;
static void Release (ParkEvent * e) ;
} ;
+
+#endif // SHARE_VM_RUNTIME_PARK_HPP
diff --git a/src/share/vm/runtime/perfData.cpp b/src/share/vm/runtime/perfData.cpp
index ef010c847..04631ec26 100644
--- a/src/share/vm/runtime/perfData.cpp
+++ b/src/share/vm/runtime/perfData.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_perfData.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/java.hpp"
+#include "runtime/mutex.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/os.hpp"
+#include "runtime/perfData.hpp"
+#include "utilities/exceptions.hpp"
+#include "utilities/globalDefinitions.hpp"
PerfDataList* PerfDataManager::_all = NULL;
PerfDataList* PerfDataManager::_sampled = NULL;
diff --git a/src/share/vm/runtime/perfData.hpp b/src/share/vm/runtime/perfData.hpp
index 530184a6c..2f84ee620 100644
--- a/src/share/vm/runtime/perfData.hpp
+++ b/src/share/vm/runtime/perfData.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_PERFDATA_HPP
+#define SHARE_VM_RUNTIME_PERFDATA_HPP
+
+#include "memory/allocation.inline.hpp"
+#include "runtime/perfMemory.hpp"
+#include "runtime/timer.hpp"
+#include "utilities/growableArray.hpp"
+
/* jvmstat global and subsystem counter name space - enumeration value
* serve as an index into the PerfDataManager::_name_space[] array
* containing the corresponding name space string. Only the top level
@@ -957,3 +965,5 @@ class PerfTraceTimedEvent : public PerfTraceTime {
_eventp->inc();
}
};
+
+#endif // SHARE_VM_RUNTIME_PERFDATA_HPP
diff --git a/src/share/vm/runtime/perfMemory.cpp b/src/share/vm/runtime/perfMemory.cpp
index 66fac07ff..0855b38c9 100644
--- a/src/share/vm/runtime/perfMemory.cpp
+++ b/src/share/vm/runtime/perfMemory.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_perfMemory.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/java.hpp"
+#include "runtime/mutex.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/os.hpp"
+#include "runtime/perfData.hpp"
+#include "runtime/perfMemory.hpp"
+#include "runtime/statSampler.hpp"
+#include "utilities/globalDefinitions.hpp"
// Prefix of performance data file.
const char PERFDATA_NAME[] = "hsperfdata";
diff --git a/src/share/vm/runtime/perfMemory.hpp b/src/share/vm/runtime/perfMemory.hpp
index 52d6ecfbd..d1256fb2e 100644
--- a/src/share/vm/runtime/perfMemory.hpp
+++ b/src/share/vm/runtime/perfMemory.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_PERFMEMORY_HPP
+#define SHARE_VM_RUNTIME_PERFMEMORY_HPP
+
+#include "utilities/exceptions.hpp"
+
/*
* PerfData Version Constants
* - Major Version - change whenever the structure of PerfDataEntry changes
@@ -160,3 +165,5 @@ class PerfMemory : AllStatic {
void perfMemory_init();
void perfMemory_exit();
+
+#endif // SHARE_VM_RUNTIME_PERFMEMORY_HPP
diff --git a/src/share/vm/runtime/prefetch.hpp b/src/share/vm/runtime/prefetch.hpp
index daee93e49..f6a159ed9 100644
--- a/src/share/vm/runtime/prefetch.hpp
+++ b/src/share/vm/runtime/prefetch.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_PREFETCH_HPP
+#define SHARE_VM_RUNTIME_PREFETCH_HPP
+
+#include "memory/allocation.hpp"
+
// If calls to prefetch methods are in a loop, the loop should be cloned
// such that if Prefetch{Scan,Copy}Interval and/or PrefetchFieldInterval
// say not to do prefetching, these methods aren't called. At the very
@@ -42,3 +47,5 @@ class Prefetch : AllStatic {
// Prefetch anticipating write; must not fault, semantically a no-op
static void write(void* loc, intx interval);
};
+
+#endif // SHARE_VM_RUNTIME_PREFETCH_HPP
diff --git a/src/share/vm/runtime/reflection.cpp b/src/share/vm/runtime/reflection.cpp
index 3523f8798..564f17531 100644
--- a/src/share/vm/runtime/reflection.cpp
+++ b/src/share/vm/runtime/reflection.cpp
@@ -22,8 +22,28 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_reflection.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/verifier.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "prims/jvm.h"
+#include "prims/methodHandleWalk.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/reflection.hpp"
+#include "runtime/reflectionUtils.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/vframe.hpp"
#define JAVA_1_5_VERSION 49
diff --git a/src/share/vm/runtime/reflection.hpp b/src/share/vm/runtime/reflection.hpp
index e254314a6..e085c2aef 100644
--- a/src/share/vm/runtime/reflection.hpp
+++ b/src/share/vm/runtime/reflection.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_REFLECTION_HPP
+#define SHARE_VM_RUNTIME_REFLECTION_HPP
+
+#include "oops/oop.hpp"
+#include "runtime/fieldDescriptor.hpp"
+#include "runtime/reflectionCompat.hpp"
+#include "utilities/accessFlags.hpp"
+#include "utilities/growableArray.hpp"
+
// Class Reflection contains utility methods needed for implementing the
// reflection api.
//
@@ -166,3 +175,5 @@ public:
#endif /* SUPPORT_OLD_REFLECTION */
};
+
+#endif // SHARE_VM_RUNTIME_REFLECTION_HPP
diff --git a/src/share/vm/runtime/reflectionCompat.hpp b/src/share/vm/runtime/reflectionCompat.hpp
index b682770ab..9551ad598 100644
--- a/src/share/vm/runtime/reflectionCompat.hpp
+++ b/src/share/vm/runtime/reflectionCompat.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_REFLECTIONCOMPAT_HPP
+#define SHARE_VM_RUNTIME_REFLECTIONCOMPAT_HPP
+
// During the development of the JDK 1.4 reflection implementation
// based on dynamic bytecode generation, it was hoped that the bulk of
// the native code for reflection could be removed. Unfortunately
@@ -40,3 +43,5 @@
//#ifndef PRODUCT
# define SUPPORT_OLD_REFLECTION
//#endif
+
+#endif // SHARE_VM_RUNTIME_REFLECTIONCOMPAT_HPP
diff --git a/src/share/vm/runtime/reflectionUtils.cpp b/src/share/vm/runtime/reflectionUtils.cpp
index 215f5854e..6c6e8c361 100644
--- a/src/share/vm/runtime/reflectionUtils.cpp
+++ b/src/share/vm/runtime/reflectionUtils.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_reflectionUtils.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "memory/universe.inline.hpp"
+#include "runtime/reflectionUtils.hpp"
KlassStream::KlassStream(instanceKlassHandle klass, bool local_only, bool classes_only) {
_klass = klass;
diff --git a/src/share/vm/runtime/reflectionUtils.hpp b/src/share/vm/runtime/reflectionUtils.hpp
index 4753f01d5..cc70fc528 100644
--- a/src/share/vm/runtime/reflectionUtils.hpp
+++ b/src/share/vm/runtime/reflectionUtils.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, 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
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_REFLECTIONUTILS_HPP
+#define SHARE_VM_RUNTIME_REFLECTIONUTILS_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oopsHierarchy.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/reflection.hpp"
+#include "utilities/accessFlags.hpp"
+#include "utilities/globalDefinitions.hpp"
+
// A KlassStream is an abstract stream for streaming over self, superclasses
// and (super)interfaces. Streaming is done in reverse order (subclasses first,
// interfaces last).
@@ -209,3 +221,5 @@ class FilteredFieldStream : public FieldStream {
}
}
};
+
+#endif // SHARE_VM_RUNTIME_REFLECTIONUTILS_HPP
diff --git a/src/share/vm/runtime/registerMap.hpp b/src/share/vm/runtime/registerMap.hpp
index 822a62954..aea349b93 100644
--- a/src/share/vm/runtime/registerMap.hpp
+++ b/src/share/vm/runtime/registerMap.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,21 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_REGISTERMAP_HPP
+#define SHARE_VM_RUNTIME_REGISTERMAP_HPP
+
+#include "code/vmreg.hpp"
+#include "utilities/globalDefinitions.hpp"
+#ifdef TARGET_ARCH_x86
+# include "register_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "register_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "register_zero.hpp"
+#endif
+
class JavaThread;
//
@@ -114,5 +129,16 @@ class RegisterMap : public StackObj {
void print() const;
// the following contains the definition of pd_xxx methods
-# include "incls/_registerMap_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "registerMap_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "registerMap_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "registerMap_zero.hpp"
+#endif
+
};
+
+#endif // SHARE_VM_RUNTIME_REGISTERMAP_HPP
diff --git a/src/share/vm/runtime/relocator.cpp b/src/share/vm/runtime/relocator.cpp
index 483d21bd3..a39709077 100644
--- a/src/share/vm/runtime/relocator.cpp
+++ b/src/share/vm/runtime/relocator.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_relocator.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/stackMapTableFormat.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/relocator.hpp"
#define MAX_METHOD_LENGTH 65535
diff --git a/src/share/vm/runtime/relocator.hpp b/src/share/vm/runtime/relocator.hpp
index 3f163723d..f1c8c67f7 100644
--- a/src/share/vm/runtime/relocator.hpp
+++ b/src/share/vm/runtime/relocator.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,21 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_RELOCATOR_HPP
+#define SHARE_VM_RUNTIME_RELOCATOR_HPP
+
+#include "interpreter/bytecodes.hpp"
+#include "oops/methodOop.hpp"
+#ifdef TARGET_ARCH_x86
+# include "bytes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "bytes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "bytes_zero.hpp"
+#endif
+
// This code has been converted from the 1.1E java virtual machine
// Thanks to the JavaTopics group for using the code
@@ -117,3 +132,5 @@ class Relocator : public ResourceObj {
_listener->relocated(bci, delta, new_code_length);
}
};
+
+#endif // SHARE_VM_RUNTIME_RELOCATOR_HPP
diff --git a/src/share/vm/runtime/rframe.cpp b/src/share/vm/runtime/rframe.cpp
index ca7501ab4..52318c199 100644
--- a/src/share/vm/runtime/rframe.cpp
+++ b/src/share/vm/runtime/rframe.cpp
@@ -22,9 +22,15 @@
*
*/
-# include "incls/_precompiled.incl"
+#include "precompiled.hpp"
+#include "interpreter/interpreter.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/rframe.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframe_hp.hpp"
-#include "incls/_rframe.cpp.incl"
static RFrame*const noCaller = (RFrame*) 0x1; // no caller (i.e., initial frame)
static RFrame*const noCallerYet = (RFrame*) 0x0; // caller not yet computed
diff --git a/src/share/vm/runtime/rframe.hpp b/src/share/vm/runtime/rframe.hpp
index 832c187cc..4437a4f07 100644
--- a/src/share/vm/runtime/rframe.hpp
+++ b/src/share/vm/runtime/rframe.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_RFRAME_HPP
+#define SHARE_VM_RUNTIME_RFRAME_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/frame.inline.hpp"
+
// rframes ("recompiler frames") decorate stack frames with some extra information
// needed by the recompiler. The recompiler views the stack (at the time of recompilation)
// as a list of rframes.
@@ -115,3 +121,5 @@ class DeoptimizedRFrame : public InterpretedRFrame {
public:
void print();
};
+
+#endif // SHARE_VM_RUNTIME_RFRAME_HPP
diff --git a/src/share/vm/runtime/safepoint.cpp b/src/share/vm/runtime/safepoint.cpp
index b7671271c..e2b687d3d 100644
--- a/src/share/vm/runtime/safepoint.cpp
+++ b/src/share/vm/runtime/safepoint.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,61 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_safepoint.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "code/icBuffer.hpp"
+#include "code/nmethod.hpp"
+#include "code/pcDesc.hpp"
+#include "code/scopeDesc.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/osThread.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/stubCodeGenerator.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/sweeper.hpp"
+#include "runtime/synchronizer.hpp"
+#include "services/runtimeService.hpp"
+#include "utilities/events.hpp"
+#ifdef TARGET_ARCH_x86
+# include "nativeInst_x86.hpp"
+# include "vmreg_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "nativeInst_sparc.hpp"
+# include "vmreg_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "nativeInst_zero.hpp"
+# include "vmreg_zero.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
+#include "gc_implementation/shared/concurrentGCThread.hpp"
+#endif
+#ifdef COMPILER1
+#include "c1/c1_globals.hpp"
+#endif
// --------------------------------------------------------------------------------------------------
// Implementation of Safepoint begin/end
diff --git a/src/share/vm/runtime/safepoint.hpp b/src/share/vm/runtime/safepoint.hpp
index 92b2805c4..550715524 100644
--- a/src/share/vm/runtime/safepoint.hpp
+++ b/src/share/vm/runtime/safepoint.hpp
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_SAFEPOINT_HPP
+#define SHARE_VM_RUNTIME_SAFEPOINT_HPP
+
+#include "asm/assembler.hpp"
+#include "code/nmethod.hpp"
+#include "memory/allocation.hpp"
+#include "runtime/extendedPC.hpp"
+#include "runtime/os.hpp"
+#include "utilities/ostream.hpp"
+
//
// Safepoint synchronization
////
@@ -232,3 +242,5 @@ class ThreadSafepointState: public CHeapObj {
};
+
+#endif // SHARE_VM_RUNTIME_SAFEPOINT_HPP
diff --git a/src/share/vm/runtime/sharedRuntime.cpp b/src/share/vm/runtime/sharedRuntime.cpp
index 0ecbdcc52..46305fe87 100644
--- a/src/share/vm/runtime/sharedRuntime.cpp
+++ b/src/share/vm/runtime/sharedRuntime.cpp
@@ -22,8 +22,56 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharedRuntime.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/compiledIC.hpp"
+#include "code/scopeDesc.hpp"
+#include "code/vtableStubs.hpp"
+#include "compiler/abstractCompiler.hpp"
+#include "compiler/compileBroker.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/interpreterRuntime.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/forte.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/jvmtiRedefineClassesTrace.hpp"
+#include "prims/methodHandles.hpp"
+#include "prims/nativeLookup.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/init.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframeArray.hpp"
+#include "utilities/copy.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/events.hpp"
+#include "utilities/hashtable.inline.hpp"
+#include "utilities/xmlstream.hpp"
+#ifdef TARGET_ARCH_x86
+# include "nativeInst_x86.hpp"
+# include "vmreg_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "nativeInst_sparc.hpp"
+# include "vmreg_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "nativeInst_zero.hpp"
+# include "vmreg_zero.inline.hpp"
+#endif
+#ifdef COMPILER1
+#include "c1/c1_Runtime1.hpp"
+#endif
+
#include <math.h>
HS_DTRACE_PROBE_DECL4(hotspot, object__alloc, Thread*, char*, int, size_t);
diff --git a/src/share/vm/runtime/sharedRuntime.hpp b/src/share/vm/runtime/sharedRuntime.hpp
index 411d80eac..667f2b9dc 100644
--- a/src/share/vm/runtime/sharedRuntime.hpp
+++ b/src/share/vm/runtime/sharedRuntime.hpp
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_SHAREDRUNTIME_HPP
+#define SHARE_VM_RUNTIME_SHAREDRUNTIME_HPP
+
+#include "interpreter/bytecodeHistogram.hpp"
+#include "interpreter/bytecodeTracer.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/allocation.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/threadLocalStorage.hpp"
+#include "utilities/hashtable.hpp"
+
class AdapterHandlerEntry;
class AdapterHandlerTable;
class AdapterFingerPrint;
@@ -663,3 +674,5 @@ class AdapterHandlerLibrary: public AllStatic {
#endif /* PRODUCT */
};
+
+#endif // SHARE_VM_RUNTIME_SHAREDRUNTIME_HPP
diff --git a/src/share/vm/runtime/sharedRuntimeTrans.cpp b/src/share/vm/runtime/sharedRuntimeTrans.cpp
index d507290d7..6390ae1a0 100644
--- a/src/share/vm/runtime/sharedRuntimeTrans.cpp
+++ b/src/share/vm/runtime/sharedRuntimeTrans.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharedRuntimeTrans.cpp.incl"
+#include "precompiled.hpp"
+#include "prims/jni.h"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/sharedRuntime.hpp"
// This file contains copies of the fdlibm routines used by
// StrictMath. It turns out that it is almost always required to use
diff --git a/src/share/vm/runtime/sharedRuntimeTrig.cpp b/src/share/vm/runtime/sharedRuntimeTrig.cpp
index ea2e771f3..74ed30cb0 100644
--- a/src/share/vm/runtime/sharedRuntimeTrig.cpp
+++ b/src/share/vm/runtime/sharedRuntimeTrig.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharedRuntimeTrig.cpp.incl"
+#include "precompiled.hpp"
+#include "prims/jni.h"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/sharedRuntime.hpp"
// This file contains copies of the fdlibm routines used by
// StrictMath. It turns out that it is almost always required to use
diff --git a/src/share/vm/runtime/signature.cpp b/src/share/vm/runtime/signature.cpp
index 50e218a37..8a7b0c965 100644
--- a/src/share/vm/runtime/signature.cpp
+++ b/src/share/vm/runtime/signature.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,15 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_signature.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "memory/oopFactory.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "oops/typeArrayKlass.hpp"
+#include "runtime/signature.hpp"
// Implementation of SignatureIterator
diff --git a/src/share/vm/runtime/signature.hpp b/src/share/vm/runtime/signature.hpp
index 00c3bceec..d51eadaff 100644
--- a/src/share/vm/runtime/signature.hpp
+++ b/src/share/vm/runtime/signature.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_SIGNATURE_HPP
+#define SHARE_VM_RUNTIME_SIGNATURE_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/methodOop.hpp"
+#include "utilities/top.hpp"
+
// SignatureIterators iterate over a Java signature (or parts of it).
// (Syntax according to: "The Java Virtual Machine Specification" by
// Tim Lindholm & Frank Yellin; section 4.3 Descriptors; p. 89ff.)
@@ -416,3 +423,5 @@ class SignatureVerifier : public StackObj {
static ssize_t is_valid_type(const char*, ssize_t);
static bool invalid_name_char(char);
};
+
+#endif // SHARE_VM_RUNTIME_SIGNATURE_HPP
diff --git a/src/share/vm/runtime/simpleThresholdPolicy.cpp b/src/share/vm/runtime/simpleThresholdPolicy.cpp
index c38c2041a..409c75340 100644
--- a/src/share/vm/runtime/simpleThresholdPolicy.cpp
+++ b/src/share/vm/runtime/simpleThresholdPolicy.cpp
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_simpleThresholdPolicy.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileBroker.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/simpleThresholdPolicy.hpp"
+#include "runtime/simpleThresholdPolicy.inline.hpp"
// Print an event.
void SimpleThresholdPolicy::print_event(EventType type, methodHandle mh, methodHandle imh,
diff --git a/src/share/vm/runtime/simpleThresholdPolicy.hpp b/src/share/vm/runtime/simpleThresholdPolicy.hpp
index 293b19032..9bc180df5 100644
--- a/src/share/vm/runtime/simpleThresholdPolicy.hpp
+++ b/src/share/vm/runtime/simpleThresholdPolicy.hpp
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_HPP
+#define SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_HPP
+
+#include "code/nmethod.hpp"
+#include "oops/methodDataOop.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "utilities/globalDefinitions.hpp"
+
class CompileTask;
class CompileQueue;
@@ -105,3 +113,5 @@ public:
// Initialize: set compiler thread count
virtual void initialize();
};
+
+#endif // SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_HPP
diff --git a/src/share/vm/runtime/simpleThresholdPolicy.inline.hpp b/src/share/vm/runtime/simpleThresholdPolicy.inline.hpp
index 00d16d502..8abc9ace1 100644
--- a/src/share/vm/runtime/simpleThresholdPolicy.inline.hpp
+++ b/src/share/vm/runtime/simpleThresholdPolicy.inline.hpp
@@ -22,6 +22,8 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_INLINE_HPP
+#define SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_INLINE_HPP
template<CompLevel level>
bool SimpleThresholdPolicy::call_predicate_helper(int i, int b, double scale) {
@@ -62,3 +64,5 @@ bool SimpleThresholdPolicy::is_trivial(methodOop method) {
}
return false;
}
+
+#endif // SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_INLINE_HPP
diff --git a/src/share/vm/runtime/stackValue.cpp b/src/share/vm/runtime/stackValue.cpp
index f02972167..c761e1461 100644
--- a/src/share/vm/runtime/stackValue.cpp
+++ b/src/share/vm/runtime/stackValue.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_stackValue.cpp.incl"
+#include "precompiled.hpp"
+#include "code/debugInfo.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/stackValue.hpp"
StackValue* StackValue::create_stack_value(const frame* fr, const RegisterMap* reg_map, ScopeValue* sv) {
if (sv->is_location()) {
diff --git a/src/share/vm/runtime/stackValue.hpp b/src/share/vm/runtime/stackValue.hpp
index 9c0a14a1a..a7698f50b 100644
--- a/src/share/vm/runtime/stackValue.hpp
+++ b/src/share/vm/runtime/stackValue.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_STACKVALUE_HPP
+#define SHARE_VM_RUNTIME_STACKVALUE_HPP
+
+#include "code/location.hpp"
+#include "runtime/handles.hpp"
+#include "utilities/top.hpp"
+
class StackValue : public ResourceObj {
private:
BasicType _type;
@@ -106,3 +113,5 @@ class StackValue : public ResourceObj {
void print_on(outputStream* st) const;
#endif
};
+
+#endif // SHARE_VM_RUNTIME_STACKVALUE_HPP
diff --git a/src/share/vm/runtime/stackValueCollection.cpp b/src/share/vm/runtime/stackValueCollection.cpp
index 0ab0663fe..62bef8c83 100644
--- a/src/share/vm/runtime/stackValueCollection.cpp
+++ b/src/share/vm/runtime/stackValueCollection.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_stackValueCollection.cpp.incl"
+#include "precompiled.hpp"
+#include "runtime/stackValueCollection.hpp"
+#ifdef TARGET_ARCH_x86
+# include "jniTypes_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "jniTypes_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "jniTypes_zero.hpp"
+#endif
jint StackValueCollection::int_at(int slot) const {
intptr_t val = at(slot)->get_int();
diff --git a/src/share/vm/runtime/stackValueCollection.hpp b/src/share/vm/runtime/stackValueCollection.hpp
index e5fc26ec5..713ad46a3 100644
--- a/src/share/vm/runtime/stackValueCollection.hpp
+++ b/src/share/vm/runtime/stackValueCollection.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_STACKVALUECOLLECTION_HPP
+#define SHARE_VM_RUNTIME_STACKVALUECOLLECTION_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/stackValue.hpp"
+#include "utilities/growableArray.hpp"
+
class StackValueCollection : public ResourceObj {
private:
GrowableArray<StackValue*>* _values;
@@ -51,3 +58,5 @@ class StackValueCollection : public ResourceObj {
void print();
};
+
+#endif // SHARE_VM_RUNTIME_STACKVALUECOLLECTION_HPP
diff --git a/src/share/vm/runtime/statSampler.cpp b/src/share/vm/runtime/statSampler.cpp
index 15a50447c..c0589af79 100644
--- a/src/share/vm/runtime/statSampler.cpp
+++ b/src/share/vm/runtime/statSampler.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,26 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_statSampler.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/os.hpp"
+#include "runtime/statSampler.hpp"
+#ifdef TARGET_ARCH_x86
+# include "vm_version_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "vm_version_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "vm_version_zero.hpp"
+#endif
// --------------------------------------------------------
// StatSamplerTask
diff --git a/src/share/vm/runtime/statSampler.hpp b/src/share/vm/runtime/statSampler.hpp
index 2750c7289..6afe5ac36 100644
--- a/src/share/vm/runtime/statSampler.hpp
+++ b/src/share/vm/runtime/statSampler.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_STATSAMPLER_HPP
+#define SHARE_VM_RUNTIME_STATSAMPLER_HPP
+
+#include "runtime/perfData.hpp"
+#include "runtime/task.hpp"
+
class StatSamplerTask;
/*
@@ -60,3 +66,5 @@ class StatSampler : AllStatic {
};
void statSampler_exit();
+
+#endif // SHARE_VM_RUNTIME_STATSAMPLER_HPP
diff --git a/src/share/vm/runtime/stubCodeGenerator.cpp b/src/share/vm/runtime/stubCodeGenerator.cpp
index e5215dc2b..ab9d76352 100644
--- a/src/share/vm/runtime/stubCodeGenerator.cpp
+++ b/src/share/vm/runtime/stubCodeGenerator.cpp
@@ -22,8 +22,20 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_stubCodeGenerator.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/disassembler.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/forte.hpp"
+#include "runtime/stubCodeGenerator.hpp"
+#ifdef TARGET_ARCH_x86
+# include "assembler_x86.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "assembler_sparc.inline.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "assembler_zero.inline.hpp"
+#endif
// Implementation of StubCodeDesc
diff --git a/src/share/vm/runtime/stubCodeGenerator.hpp b/src/share/vm/runtime/stubCodeGenerator.hpp
index f47f0dbff..627113f5f 100644
--- a/src/share/vm/runtime/stubCodeGenerator.hpp
+++ b/src/share/vm/runtime/stubCodeGenerator.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_STUBCODEGENERATOR_HPP
+#define SHARE_VM_RUNTIME_STUBCODEGENERATOR_HPP
+
+#include "asm/assembler.hpp"
+#include "memory/allocation.hpp"
+
// All the basic framework for stubcode generation/debugging/printing.
@@ -119,3 +125,5 @@ class StubCodeMark: public StackObj {
~StubCodeMark();
};
+
+#endif // SHARE_VM_RUNTIME_STUBCODEGENERATOR_HPP
diff --git a/src/share/vm/runtime/stubRoutines.cpp b/src/share/vm/runtime/stubRoutines.cpp
index d87c8bfae..4653d4f48 100644
--- a/src/share/vm/runtime/stubRoutines.cpp
+++ b/src/share/vm/runtime/stubRoutines.cpp
@@ -22,8 +22,18 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_stubRoutines.cpp.incl"
+#include "precompiled.hpp"
+#include "asm/codeBuffer.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/timer.hpp"
+#include "utilities/copy.hpp"
+#ifdef COMPILER2
+#include "opto/runtime.hpp"
+#endif
// Implementation of StubRoutines - for a description
diff --git a/src/share/vm/runtime/stubRoutines.hpp b/src/share/vm/runtime/stubRoutines.hpp
index 6b51e316b..46aaf7c0c 100644
--- a/src/share/vm/runtime/stubRoutines.hpp
+++ b/src/share/vm/runtime/stubRoutines.hpp
@@ -22,6 +22,25 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_STUBROUTINES_HPP
+#define SHARE_VM_RUNTIME_STUBROUTINES_HPP
+
+#include "code/codeBlob.hpp"
+#include "memory/allocation.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/stubCodeGenerator.hpp"
+#include "utilities/top.hpp"
+#ifdef TARGET_ARCH_x86
+# include "nativeInst_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "nativeInst_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "nativeInst_zero.hpp"
+#endif
+
// StubRoutines provides entry points to assembly routines used by
// compiled code and the run-time system. Platform-specific entry
// points are defined in the platform-specific inner class.
@@ -74,7 +93,19 @@ class StubRoutines: AllStatic {
// Dependencies
friend class StubGenerator;
- #include "incls/_stubRoutines_pd.hpp.incl" // machine-specific parts
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "stubRoutines_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "stubRoutines_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "stubRoutines_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "stubRoutines_zero.hpp"
+#endif
+
static jint _verify_oop_count;
static address _verify_oop_subroutine_entry;
@@ -321,3 +352,5 @@ class StubRoutines: AllStatic {
static void arrayof_jlong_copy (HeapWord* src, HeapWord* dest, size_t count);
static void arrayof_oop_copy (HeapWord* src, HeapWord* dest, size_t count);
};
+
+#endif // SHARE_VM_RUNTIME_STUBROUTINES_HPP
diff --git a/src/share/vm/runtime/sweeper.cpp b/src/share/vm/runtime/sweeper.cpp
index d4171992f..94ee13145 100644
--- a/src/share/vm/runtime/sweeper.cpp
+++ b/src/share/vm/runtime/sweeper.cpp
@@ -22,8 +22,20 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_sweeper.cpp.incl"
+#include "precompiled.hpp"
+#include "code/codeCache.hpp"
+#include "code/nmethod.hpp"
+#include "compiler/compileBroker.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/methodOop.hpp"
+#include "runtime/atomic.hpp"
+#include "runtime/compilationPolicy.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/os.hpp"
+#include "runtime/sweeper.hpp"
+#include "runtime/vm_operations.hpp"
+#include "utilities/events.hpp"
+#include "utilities/xmlstream.hpp"
long NMethodSweeper::_traversals = 0; // No. of stack traversals performed
nmethod* NMethodSweeper::_current = NULL; // Current nmethod
diff --git a/src/share/vm/runtime/sweeper.hpp b/src/share/vm/runtime/sweeper.hpp
index fd375fa2d..8758497d7 100644
--- a/src/share/vm/runtime/sweeper.hpp
+++ b/src/share/vm/runtime/sweeper.hpp
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_SWEEPER_HPP
+#define SHARE_VM_RUNTIME_SWEEPER_HPP
+
// An NmethodSweeper is an incremental cleaner for:
// - cleanup inline caches
// - reclamation of unreferences zombie nmethods
@@ -71,3 +74,5 @@ class NMethodSweeper : public AllStatic {
static void set_was_full(bool state) { _was_full = state; }
static bool was_full() { return _was_full; }
};
+
+#endif // SHARE_VM_RUNTIME_SWEEPER_HPP
diff --git a/src/share/vm/runtime/synchronizer.cpp b/src/share/vm/runtime/synchronizer.cpp
index 642c98156..a11a64b71 100644
--- a/src/share/vm/runtime/synchronizer.cpp
+++ b/src/share/vm/runtime/synchronizer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,35 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_synchronizer.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/markOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/objectMonitor.hpp"
+#include "runtime/objectMonitor.inline.hpp"
+#include "runtime/osThread.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/synchronizer.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/events.hpp"
+#include "utilities/preserveException.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+# include "thread_windows.inline.hpp"
+#endif
#if defined(__GNUC__) && !defined(IA64)
// Need to inhibit inlining for older versions of GCC to avoid build-time failures
diff --git a/src/share/vm/runtime/synchronizer.hpp b/src/share/vm/runtime/synchronizer.hpp
index 8c7132a9f..8c2d92c50 100644
--- a/src/share/vm/runtime/synchronizer.hpp
+++ b/src/share/vm/runtime/synchronizer.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_SYNCHRONIZER_HPP
+#define SHARE_VM_RUNTIME_SYNCHRONIZER_HPP
+
+#include "oops/markOop.hpp"
+#include "runtime/basicLock.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/perfData.hpp"
+#include "utilities/top.hpp"
+
class ObjectMonitor;
@@ -153,3 +162,5 @@ class ObjectLocker : public StackObj {
intptr_t complete_exit(TRAPS) { return ObjectSynchronizer::complete_exit(_obj, CHECK_0); }
void reenter(intptr_t recursion, TRAPS) { ObjectSynchronizer::reenter(_obj, recursion, CHECK); }
};
+
+#endif // SHARE_VM_RUNTIME_SYNCHRONIZER_HPP
diff --git a/src/share/vm/runtime/task.cpp b/src/share/vm/runtime/task.cpp
index 682138c7e..4c0cff75f 100644
--- a/src/share/vm/runtime/task.cpp
+++ b/src/share/vm/runtime/task.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,23 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_task.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.hpp"
+#include "runtime/init.hpp"
+#include "runtime/task.hpp"
+#include "runtime/timer.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+# include "thread_windows.inline.hpp"
+#endif
int PeriodicTask::_num_tasks = 0;
PeriodicTask* PeriodicTask::_tasks[PeriodicTask::max_tasks];
diff --git a/src/share/vm/runtime/task.hpp b/src/share/vm/runtime/task.hpp
index 8044e18fc..2357e835f 100644
--- a/src/share/vm/runtime/task.hpp
+++ b/src/share/vm/runtime/task.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_TASK_HPP
+#define SHARE_VM_RUNTIME_TASK_HPP
+
+#include "utilities/top.hpp"
+
// A PeriodicTask has the sole purpose of executing its task
// function with regular intervals.
// Usage:
@@ -113,3 +118,5 @@ class PeriodicTask: public CHeapObj {
// The task to perform at each period
virtual void task() = 0;
};
+
+#endif // SHARE_VM_RUNTIME_TASK_HPP
diff --git a/src/share/vm/runtime/thread.cpp b/src/share/vm/runtime/thread.cpp
index ff61de6dd..9447249ed 100644
--- a/src/share/vm/runtime/thread.cpp
+++ b/src/share/vm/runtime/thread.cpp
@@ -22,8 +22,84 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_thread.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classLoader.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/scopeDesc.hpp"
+#include "compiler/compileBroker.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/linkResolver.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolOop.hpp"
+#include "prims/jvm_misc.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "prims/jvmtiThreadState.hpp"
+#include "prims/privilegedStack.hpp"
+#include "runtime/aprofiler.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/fprofiler.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/hpi.hpp"
+#include "runtime/init.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/jniPeriodicChecker.hpp"
+#include "runtime/memprofiler.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/objectMonitor.hpp"
+#include "runtime/osThread.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/statSampler.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/task.hpp"
+#include "runtime/threadCritical.hpp"
+#include "runtime/threadLocalStorage.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframeArray.hpp"
+#include "runtime/vframe_hp.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
+#include "services/attachListener.hpp"
+#include "services/management.hpp"
+#include "services/threadService.hpp"
+#include "utilities/defaultStream.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/events.hpp"
+#include "utilities/preserveException.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+# include "thread_windows.inline.hpp"
+#endif
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
+#include "gc_implementation/g1/concurrentMarkThread.inline.hpp"
+#include "gc_implementation/parallelScavenge/pcTasks.hpp"
+#endif
+#ifdef COMPILER1
+#include "c1/c1_Compiler.hpp"
+#endif
+#ifdef COMPILER2
+#include "opto/c2compiler.hpp"
+#include "opto/idealGraphPrinter.hpp"
+#endif
#ifdef DTRACE_ENABLED
diff --git a/src/share/vm/runtime/thread.hpp b/src/share/vm/runtime/thread.hpp
index f02f5c6cb..e0f5fa7bc 100644
--- a/src/share/vm/runtime/thread.hpp
+++ b/src/share/vm/runtime/thread.hpp
@@ -22,6 +22,37 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_THREAD_HPP
+#define SHARE_VM_RUNTIME_THREAD_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/threadLocalAllocBuffer.hpp"
+#include "oops/oop.hpp"
+#include "prims/jni.h"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/javaFrameAnchor.hpp"
+#include "runtime/jniHandles.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/os.hpp"
+#include "runtime/osThread.hpp"
+#include "runtime/park.hpp"
+#include "runtime/safepoint.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/threadLocalStorage.hpp"
+#include "runtime/unhandledOops.hpp"
+#include "utilities/exceptions.hpp"
+#include "utilities/top.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/g1/dirtyCardQueue.hpp"
+#include "gc_implementation/g1/satbQueue.hpp"
+#endif
+#ifdef ZERO
+#ifdef TARGET_ARCH_zero
+# include "stack_zero.hpp"
+#endif
+#endif
+
class ThreadSafepointState;
class ThreadProfiler;
@@ -1514,7 +1545,25 @@ public:
#endif // !SERIALGC
// Machine dependent stuff
- #include "incls/_thread_pd.hpp.incl"
+#ifdef TARGET_OS_ARCH_linux_x86
+# include "thread_linux_x86.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_sparc
+# include "thread_linux_sparc.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_zero
+# include "thread_linux_zero.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_x86
+# include "thread_solaris_x86.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_sparc
+# include "thread_solaris_sparc.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_windows_x86
+# include "thread_windows_x86.hpp"
+#endif
+
public:
void set_blocked_on_compilation(bool value) {
@@ -1769,3 +1818,5 @@ public:
}
};
+
+#endif // SHARE_VM_RUNTIME_THREAD_HPP
diff --git a/src/share/vm/runtime/threadCritical.hpp b/src/share/vm/runtime/threadCritical.hpp
index c100b18bc..340c00fa5 100644
--- a/src/share/vm/runtime/threadCritical.hpp
+++ b/src/share/vm/runtime/threadCritical.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_THREADCRITICAL_HPP
+#define SHARE_VM_RUNTIME_THREADCRITICAL_HPP
+
+#include "memory/allocation.hpp"
+
// ThreadCritical is used to protect short non-blocking critical sections.
// This class must use no vm facilities that require initialization.
// It is used very early in the vm's initialization, in allocation
@@ -51,3 +56,5 @@ class ThreadCritical : public StackObj {
ThreadCritical();
~ThreadCritical();
};
+
+#endif // SHARE_VM_RUNTIME_THREADCRITICAL_HPP
diff --git a/src/share/vm/runtime/threadLocalStorage.cpp b/src/share/vm/runtime/threadLocalStorage.cpp
index 507e2dad4..0b35cdad3 100644
--- a/src/share/vm/runtime/threadLocalStorage.cpp
+++ b/src/share/vm/runtime/threadLocalStorage.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,20 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_threadLocalStorage.cpp.incl"
+#include "precompiled.hpp"
+#include "runtime/threadLocalStorage.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+# include "thread_windows.inline.hpp"
+#endif
// static member initialization
int ThreadLocalStorage::_thread_index = -1;
diff --git a/src/share/vm/runtime/threadLocalStorage.hpp b/src/share/vm/runtime/threadLocalStorage.hpp
index 6fad993c5..8a78e5795 100644
--- a/src/share/vm/runtime/threadLocalStorage.hpp
+++ b/src/share/vm/runtime/threadLocalStorage.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_THREADLOCALSTORAGE_HPP
+#define SHARE_VM_RUNTIME_THREADLOCALSTORAGE_HPP
+
+#include "gc_implementation/shared/gcUtil.hpp"
+#include "runtime/os.hpp"
+#include "utilities/top.hpp"
+
// Interface for thread local storage
// Fast variant of ThreadLocalStorage::get_thread_slow
@@ -37,7 +44,25 @@ class ThreadLocalStorage : AllStatic {
static void invalidate_all() { pd_invalidate_all(); }
// Machine dependent stuff
- #include "incls/_threadLS_pd.hpp.incl"
+#ifdef TARGET_OS_ARCH_linux_x86
+# include "threadLS_linux_x86.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_sparc
+# include "threadLS_linux_sparc.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_zero
+# include "threadLS_linux_zero.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_x86
+# include "threadLS_solaris_x86.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_sparc
+# include "threadLS_solaris_sparc.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_windows_x86
+# include "threadLS_windows_x86.hpp"
+#endif
+
public:
// Accessor
@@ -61,3 +86,5 @@ class ThreadLocalStorage : AllStatic {
static void pd_invalidate_all();
};
+
+#endif // SHARE_VM_RUNTIME_THREADLOCALSTORAGE_HPP
diff --git a/src/share/vm/runtime/timer.cpp b/src/share/vm/runtime/timer.cpp
index b65699b52..8e6bbbef9 100644
--- a/src/share/vm/runtime/timer.cpp
+++ b/src/share/vm/runtime/timer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_timer.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/timer.hpp"
+#include "utilities/ostream.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
void elapsedTimer::add(elapsedTimer t) {
diff --git a/src/share/vm/runtime/timer.hpp b/src/share/vm/runtime/timer.hpp
index 5164b7af0..388a821c1 100644
--- a/src/share/vm/runtime/timer.hpp
+++ b/src/share/vm/runtime/timer.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_TIMER_HPP
+#define SHARE_VM_RUNTIME_TIMER_HPP
+
+#include "utilities/globalDefinitions.hpp"
+
// Timers for simple measurement.
class elapsedTimer VALUE_OBJ_CLASS_SPEC {
@@ -119,3 +124,5 @@ class TraceCPUTime: public StackObj {
outputStream *logfile = NULL);
~TraceCPUTime();
};
+
+#endif // SHARE_VM_RUNTIME_TIMER_HPP
diff --git a/src/share/vm/runtime/unhandledOops.cpp b/src/share/vm/runtime/unhandledOops.cpp
index 69b8e04ce..9b7211c8d 100644
--- a/src/share/vm/runtime/unhandledOops.cpp
+++ b/src/share/vm/runtime/unhandledOops.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_unhandledOops.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/gcLocker.inline.hpp"
+#include "memory/universe.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/unhandledOops.hpp"
+#include "utilities/globalDefinitions.hpp"
#ifdef CHECK_UNHANDLED_OOPS
const int free_list_size = 256;
diff --git a/src/share/vm/runtime/unhandledOops.hpp b/src/share/vm/runtime/unhandledOops.hpp
index 008fb1273..97fd85431 100644
--- a/src/share/vm/runtime/unhandledOops.hpp
+++ b/src/share/vm/runtime/unhandledOops.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -21,6 +21,10 @@
* questions.
*
*/
+
+#ifndef SHARE_VM_RUNTIME_UNHANDLEDOOPS_HPP
+#define SHARE_VM_RUNTIME_UNHANDLEDOOPS_HPP
+
#ifdef CHECK_UNHANDLED_OOPS
// Detect unhanded oops in VM code
@@ -81,3 +85,5 @@ const intptr_t BAD_OOP_ADDR = 0xfffffffffffffff1;
const intptr_t BAD_OOP_ADDR = 0xfffffff1;
#endif // _LP64
#endif // CHECK_UNHANDLED_OOPS
+
+#endif // SHARE_VM_RUNTIME_UNHANDLEDOOPS_HPP
diff --git a/src/share/vm/runtime/vframe.cpp b/src/share/vm/runtime/vframe.cpp
index 7a252fae1..b674439ae 100644
--- a/src/share/vm/runtime/vframe.cpp
+++ b/src/share/vm/runtime/vframe.cpp
@@ -22,8 +22,29 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vframe.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "code/codeCache.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/nmethod.hpp"
+#include "code/pcDesc.hpp"
+#include "code/scopeDesc.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/objectMonitor.hpp"
+#include "runtime/objectMonitor.inline.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/synchronizer.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframeArray.hpp"
+#include "runtime/vframe_hp.hpp"
vframe::vframe(const frame* fr, const RegisterMap* reg_map, JavaThread* thread)
: _reg_map(reg_map), _thread(thread) {
diff --git a/src/share/vm/runtime/vframe.hpp b/src/share/vm/runtime/vframe.hpp
index b9913f0dc..badfea52b 100644
--- a/src/share/vm/runtime/vframe.hpp
+++ b/src/share/vm/runtime/vframe.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,19 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_VFRAME_HPP
+#define SHARE_VM_RUNTIME_VFRAME_HPP
+
+#include "code/debugInfo.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/location.hpp"
+#include "oops/oop.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/stackValue.hpp"
+#include "runtime/stackValueCollection.hpp"
+#include "utilities/growableArray.hpp"
+
// vframes are virtual stack frames representing source level activations.
// A single frame may hold several source level activations in the case of
// optimized code. The debugging stored with the optimized code enables
@@ -508,3 +521,5 @@ inline void vframeStreamCommon::fill_from_interpreter_frame() {
_method = method;
_bci = bci;
}
+
+#endif // SHARE_VM_RUNTIME_VFRAME_HPP
diff --git a/src/share/vm/runtime/vframeArray.cpp b/src/share/vm/runtime/vframeArray.cpp
index a103acf81..b2e666db3 100644
--- a/src/share/vm/runtime/vframeArray.cpp
+++ b/src/share/vm/runtime/vframeArray.cpp
@@ -22,8 +22,25 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vframeArray.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.inline.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/jvmtiThreadState.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/monitorChunk.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vframeArray.hpp"
+#include "runtime/vframe_hp.hpp"
+#include "utilities/events.hpp"
+#ifdef COMPILER2
+#include "opto/runtime.hpp"
+#endif
int vframeArrayElement:: bci(void) const { return (_bci == SynchronizationEntryBCI ? 0 : _bci); }
diff --git a/src/share/vm/runtime/vframeArray.hpp b/src/share/vm/runtime/vframeArray.hpp
index b0dccdafb..c45dfb73a 100644
--- a/src/share/vm/runtime/vframeArray.hpp
+++ b/src/share/vm/runtime/vframeArray.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_VFRAMEARRAY_HPP
+#define SHARE_VM_RUNTIME_VFRAMEARRAY_HPP
+
+#include "oops/arrayOop.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/monitorChunk.hpp"
+#include "utilities/growableArray.hpp"
+
// A vframeArray is an array used for momentarily storing off stack Java method activations
// during deoptimization. Essentially it is an array of vframes where each vframe
// data is stored off stack. This structure will never exist across a safepoint so
@@ -201,3 +210,5 @@ class vframeArray: public CHeapObj {
#endif
};
+
+#endif // SHARE_VM_RUNTIME_VFRAMEARRAY_HPP
diff --git a/src/share/vm/runtime/vframe_hp.cpp b/src/share/vm/runtime/vframe_hp.cpp
index 070bcdf25..4589195b4 100644
--- a/src/share/vm/runtime/vframe_hp.cpp
+++ b/src/share/vm/runtime/vframe_hp.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,26 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vframe_hp.cpp.incl"
+#include "precompiled.hpp"
+#include "code/codeCache.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/nmethod.hpp"
+#include "code/pcDesc.hpp"
+#include "code/scopeDesc.hpp"
+#include "interpreter/interpreter.hpp"
+#include "interpreter/oopMapCache.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/basicLock.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/monitorChunk.hpp"
+#include "runtime/signature.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/vframeArray.hpp"
+#include "runtime/vframe_hp.hpp"
+#ifdef COMPILER2
+#include "opto/matcher.hpp"
+#endif
// ------------- compiledVFrame --------------
diff --git a/src/share/vm/runtime/vframe_hp.hpp b/src/share/vm/runtime/vframe_hp.hpp
index 1ebf46e21..6d0bd3764 100644
--- a/src/share/vm/runtime/vframe_hp.hpp
+++ b/src/share/vm/runtime/vframe_hp.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_VFRAME_HP_HPP
+#define SHARE_VM_RUNTIME_VFRAME_HP_HPP
+
+#include "runtime/vframe.hpp"
+
class compiledVFrame: public javaVFrame {
public:
// JVM state
@@ -134,3 +139,5 @@ class jvmtiDeferredLocalVariable : public CHeapObj {
int _index;
};
+
+#endif // SHARE_VM_RUNTIME_VFRAME_HP_HPP
diff --git a/src/share/vm/runtime/virtualspace.cpp b/src/share/vm/runtime/virtualspace.cpp
index 39784c70d..97a00ca51 100644
--- a/src/share/vm/runtime/virtualspace.cpp
+++ b/src/share/vm/runtime/virtualspace.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_virtualspace.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/markOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/virtualspace.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
// ReservedSpace
diff --git a/src/share/vm/runtime/virtualspace.hpp b/src/share/vm/runtime/virtualspace.hpp
index d6fcbe47e..79723bae7 100644
--- a/src/share/vm/runtime/virtualspace.hpp
+++ b/src/share/vm/runtime/virtualspace.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_VIRTUALSPACE_HPP
+#define SHARE_VM_RUNTIME_VIRTUALSPACE_HPP
+
+#include "memory/allocation.hpp"
+
// ReservedSpace is a data structure for reserving a contiguous address range.
class ReservedSpace VALUE_OBJ_CLASS_SPEC {
@@ -223,3 +228,5 @@ class VirtualSpace VALUE_OBJ_CLASS_SPEC {
// Debugging
void print() PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_RUNTIME_VIRTUALSPACE_HPP
diff --git a/src/share/vm/runtime/vmStructs.cpp b/src/share/vm/runtime/vmStructs.cpp
index af25d83b4..1cfaa3dde 100644
--- a/src/share/vm/runtime/vmStructs.cpp
+++ b/src/share/vm/runtime/vmStructs.cpp
@@ -22,8 +22,152 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vmStructs.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/dictionary.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/loaderConstraints.hpp"
+#include "classfile/placeholders.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeBlob.hpp"
+#include "code/codeCache.hpp"
+#include "code/compressedStream.hpp"
+#include "code/location.hpp"
+#include "code/nmethod.hpp"
+#include "code/pcDesc.hpp"
+#include "code/stubs.hpp"
+#include "code/vmreg.hpp"
+#include "compiler/oopMap.hpp"
+#include "gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp"
+#include "gc_implementation/shared/immutableSpace.hpp"
+#include "gc_implementation/shared/markSweep.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "interpreter/bytecodeInterpreter.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/cardTableRS.hpp"
+#include "memory/compactPermGen.hpp"
+#include "memory/defNewGeneration.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/generation.hpp"
+#include "memory/generationSpec.hpp"
+#include "memory/heap.hpp"
+#include "memory/permGen.hpp"
+#include "memory/space.hpp"
+#include "memory/tenuredGeneration.hpp"
+#include "memory/universe.hpp"
+#include "memory/watermark.hpp"
+#include "oops/arrayKlass.hpp"
+#include "oops/arrayKlassKlass.hpp"
+#include "oops/arrayOop.hpp"
+#include "oops/compiledICHolderKlass.hpp"
+#include "oops/compiledICHolderOop.hpp"
+#include "oops/constMethodKlass.hpp"
+#include "oops/constMethodOop.hpp"
+#include "oops/constantPoolKlass.hpp"
+#include "oops/constantPoolOop.hpp"
+#include "oops/cpCacheKlass.hpp"
+#include "oops/cpCacheOop.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/instanceKlassKlass.hpp"
+#include "oops/instanceOop.hpp"
+#include "oops/klass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/markOop.hpp"
+#include "oops/methodDataKlass.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/methodKlass.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/objArrayKlassKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "oops/symbolKlass.hpp"
+#include "oops/symbolOop.hpp"
+#include "oops/typeArrayKlass.hpp"
+#include "oops/typeArrayKlassKlass.hpp"
+#include "oops/typeArrayOop.hpp"
+#include "prims/jvmtiAgentThread.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/globals.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/perfMemory.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/virtualspace.hpp"
+#include "runtime/vmStructs.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/hashtable.hpp"
+#ifdef TARGET_ARCH_x86
+# include "vmStructs_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "vmStructs_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "vmStructs_zero.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_x86
+# include "vmStructs_linux_x86.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_sparc
+# include "vmStructs_linux_sparc.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_zero
+# include "vmStructs_linux_zero.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_x86
+# include "vmStructs_solaris_x86.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_sparc
+# include "vmStructs_solaris_sparc.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_windows_x86
+# include "vmStructs_windows_x86.hpp"
+#endif
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/cmsPermGen.hpp"
+#include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
+#include "gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp"
+#include "gc_implementation/parNew/parNewGeneration.hpp"
+#include "gc_implementation/parNew/vmStructs_parNew.hpp"
+#include "gc_implementation/parallelScavenge/asPSOldGen.hpp"
+#include "gc_implementation/parallelScavenge/asPSYoungGen.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
+#include "gc_implementation/parallelScavenge/psPermGen.hpp"
+#include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
+#include "gc_implementation/parallelScavenge/psYoungGen.hpp"
+#include "gc_implementation/parallelScavenge/vmStructs_parallelgc.hpp"
+#endif
+#ifdef COMPILER2
+#include "opto/matcher.hpp"
+#ifdef TARGET_ARCH_MODEL_x86_32
+# include "adfiles/adGlobals_x86_32.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_x86_64
+# include "adfiles/adGlobals_x86_64.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_sparc
+# include "adfiles/adGlobals_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_MODEL_zero
+# include "adfiles/adGlobals_zero.hpp"
+#endif
+#endif
// Note: the cross-product of (c1, c2, product, nonproduct, ...),
// (nonstatic, static), and (unchecked, checked) has not been taken.
diff --git a/src/share/vm/runtime/vmStructs.hpp b/src/share/vm/runtime/vmStructs.hpp
index 81306718b..b02b8cc48 100644
--- a/src/share/vm/runtime/vmStructs.hpp
+++ b/src/share/vm/runtime/vmStructs.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,16 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_VMSTRUCTS_HPP
+#define SHARE_VM_RUNTIME_VMSTRUCTS_HPP
+
+#ifndef VM_STRUCTS_KERNEL
+#include "utilities/debug.hpp"
+#endif
+#ifdef COMPILER1
+#include "c1/c1_Runtime1.hpp"
+#endif
+
// This table encapsulates the debugging information required by the
// serviceability agent in order to run. Specifically, we need to
// understand the layout of certain C data structures (offsets, in
@@ -119,3 +129,5 @@ private:
// debug_only(static int findType(const char* typeName);)
static int findType(const char* typeName);
};
+
+#endif // SHARE_VM_RUNTIME_VMSTRUCTS_HPP
diff --git a/src/share/vm/runtime/vmThread.cpp b/src/share/vm/runtime/vmThread.cpp
index e51e57d06..68890c7d9 100644
--- a/src/share/vm/runtime/vmThread.cpp
+++ b/src/share/vm/runtime/vmThread.cpp
@@ -22,8 +22,30 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vmThread.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileBroker.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/os.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
+#include "services/runtimeService.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/events.hpp"
+#include "utilities/xmlstream.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
HS_DTRACE_PROBE_DECL3(hotspot, vmops__request, char *, uintptr_t, int);
HS_DTRACE_PROBE_DECL3(hotspot, vmops__begin, char *, uintptr_t, int);
diff --git a/src/share/vm/runtime/vmThread.hpp b/src/share/vm/runtime/vmThread.hpp
index ee3b17c3d..6698b1275 100644
--- a/src/share/vm/runtime/vmThread.hpp
+++ b/src/share/vm/runtime/vmThread.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,21 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_VMTHREAD_HPP
+#define SHARE_VM_RUNTIME_VMTHREAD_HPP
+
+#include "runtime/perfData.hpp"
+#include "runtime/vm_operations.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
//
// Prioritized queue of VM operations.
//
@@ -144,3 +159,5 @@ class VMThread: public NamedThread {
// Pointer to single-instance of VM thread
static VMThread* _vm_thread;
};
+
+#endif // SHARE_VM_RUNTIME_VMTHREAD_HPP
diff --git a/src/share/vm/runtime/vm_operations.cpp b/src/share/vm/runtime/vm_operations.cpp
index f58509c66..cad6de580 100644
--- a/src/share/vm/runtime/vm_operations.cpp
+++ b/src/share/vm/runtime/vm_operations.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,27 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vm_operations.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "compiler/compileBroker.hpp"
+#include "compiler/compilerOracle.hpp"
+#include "gc_implementation/shared/isGCActiveMark.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/sweeper.hpp"
+#include "runtime/vm_operations.hpp"
+#include "services/threadService.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
#define VM_OP_NAME_INITIALIZE(name) #name,
diff --git a/src/share/vm/runtime/vm_operations.hpp b/src/share/vm/runtime/vm_operations.hpp
index f6d9d0524..127aabda1 100644
--- a/src/share/vm/runtime/vm_operations.hpp
+++ b/src/share/vm/runtime/vm_operations.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_VM_OPERATIONS_HPP
+#define SHARE_VM_RUNTIME_VM_OPERATIONS_HPP
+
+#include "classfile/javaClasses.hpp"
+#include "memory/allocation.hpp"
+#include "oops/oop.hpp"
+#include "runtime/thread.hpp"
+#include "utilities/top.hpp"
+
// The following classes are used for operations
// initiated by a Java thread but that must
// take place in the VMThread.
@@ -386,3 +395,5 @@ class VM_Exit: public VM_Operation {
VMOp_Type type() const { return VMOp_Exit; }
void doit();
};
+
+#endif // SHARE_VM_RUNTIME_VM_OPERATIONS_HPP
diff --git a/src/share/vm/runtime/vm_version.cpp b/src/share/vm/runtime/vm_version.cpp
index f72b5df35..5571db998 100644
--- a/src/share/vm/runtime/vm_version.cpp
+++ b/src/share/vm/runtime/vm_version.cpp
@@ -22,8 +22,19 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vm_version.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/universe.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/arguments.hpp"
+#ifdef TARGET_ARCH_x86
+# include "vm_version_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "vm_version_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "vm_version_zero.hpp"
+#endif
const char* Abstract_VM_Version::_s_vm_release = Abstract_VM_Version::vm_release();
const char* Abstract_VM_Version::_s_internal_vm_info_string = Abstract_VM_Version::internal_vm_info_string();
diff --git a/src/share/vm/runtime/vm_version.hpp b/src/share/vm/runtime/vm_version.hpp
index d012786ba..6c2dfb7ac 100644
--- a/src/share/vm/runtime/vm_version.hpp
+++ b/src/share/vm/runtime/vm_version.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_VM_VERSION_HPP
+#define SHARE_VM_RUNTIME_VM_VERSION_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/ostream.hpp"
+
// VM_Version provides information about the VM.
class Abstract_VM_Version: AllStatic {
@@ -88,3 +94,5 @@ class Abstract_VM_Version: AllStatic {
// be VM version specific.
static unsigned int calc_parallel_worker_threads();
};
+
+#endif // SHARE_VM_RUNTIME_VM_VERSION_HPP
diff --git a/src/share/vm/services/attachListener.cpp b/src/share/vm/services/attachListener.cpp
index 3600e2d05..607c23d77 100644
--- a/src/share/vm/services/attachListener.cpp
+++ b/src/share/vm/services/attachListener.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_attachListener.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/javaClasses.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "gc_implementation/shared/vmGCOperations.hpp"
+#include "memory/resourceArea.hpp"
+#include "prims/jvmtiExport.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/globals.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/os.hpp"
+#include "services/attachListener.hpp"
+#include "services/heapDumper.hpp"
volatile bool AttachListener::_initialized;
diff --git a/src/share/vm/services/attachListener.hpp b/src/share/vm/services/attachListener.hpp
index f645a18d2..f0abf1cd1 100644
--- a/src/share/vm/services/attachListener.hpp
+++ b/src/share/vm/services/attachListener.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_SERVICES_ATTACHLISTENER_HPP
+#define SHARE_VM_SERVICES_ATTACHLISTENER_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/ostream.hpp"
+
// The AttachListener thread services a queue of operations that are enqueued
// by client tools. Each operation is identified by a name and has up to 3
// arguments. The operation name is mapped to a function which performs the
@@ -145,3 +152,5 @@ class AttachOperation: public CHeapObj {
virtual void complete(jint result, bufferedStream* result_stream) = 0;
};
#endif // SERVICES_KERNEL
+
+#endif // SHARE_VM_SERVICES_ATTACHLISTENER_HPP
diff --git a/src/share/vm/services/classLoadingService.cpp b/src/share/vm/services/classLoadingService.cpp
index 4c4bd1da6..308fe033a 100644
--- a/src/share/vm/services/classLoadingService.cpp
+++ b/src/share/vm/services/classLoadingService.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,15 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_classLoadingService.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "memory/allocation.hpp"
+#include "memory/universe.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "services/classLoadingService.hpp"
+#include "services/memoryService.hpp"
+#include "utilities/dtrace.hpp"
#ifdef DTRACE_ENABLED
diff --git a/src/share/vm/services/classLoadingService.hpp b/src/share/vm/services/classLoadingService.hpp
index a74f79ef7..031be35eb 100644
--- a/src/share/vm/services/classLoadingService.hpp
+++ b/src/share/vm/services/classLoadingService.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_SERVICES_CLASSLOADINGSERVICE_HPP
+#define SHARE_VM_SERVICES_CLASSLOADINGSERVICE_HPP
+
+#include "runtime/handles.hpp"
+#include "runtime/perfData.hpp"
+#include "utilities/growableArray.hpp"
+
class instanceKlass;
// VM monitoring and management support for the Class Loading subsystem
@@ -133,3 +140,5 @@ public:
_loaded_classes->append(h);
}
};
+
+#endif // SHARE_VM_SERVICES_CLASSLOADINGSERVICE_HPP
diff --git a/src/share/vm/services/dtraceAttacher.cpp b/src/share/vm/services/dtraceAttacher.cpp
index 03b999e37..9722e4eb2 100644
--- a/src/share/vm/services/dtraceAttacher.cpp
+++ b/src/share/vm/services/dtraceAttacher.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_dtraceAttacher.cpp.incl"
+#include "precompiled.hpp"
+#include "code/codeCache.hpp"
+#include "memory/resourceArea.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
+#include "services/dtraceAttacher.hpp"
#ifdef SOLARIS
diff --git a/src/share/vm/services/dtraceAttacher.hpp b/src/share/vm/services/dtraceAttacher.hpp
index 748b6de76..d8802b733 100644
--- a/src/share/vm/services/dtraceAttacher.hpp
+++ b/src/share/vm/services/dtraceAttacher.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_SERVICES_DTRACEATTACHER_HPP
+#define SHARE_VM_SERVICES_DTRACEATTACHER_HPP
+
#define DTRACE_ALLOC_PROBES 0x1
#define DTRACE_METHOD_PROBES 0x2
#define DTRACE_MONITOR_PROBES 0x4
@@ -44,3 +47,5 @@ class DTrace : public AllStatic {
// set DTraceMonitorProbes flag
static void set_monitor_dprobes(bool value);
};
+
+#endif // SHARE_VM_SERVICES_DTRACEATTACHER_HPP
diff --git a/src/share/vm/services/g1MemoryPool.cpp b/src/share/vm/services/g1MemoryPool.cpp
index 140a1ece0..1a4415950 100644
--- a/src/share/vm/services/g1MemoryPool.cpp
+++ b/src/share/vm/services/g1MemoryPool.cpp
@@ -22,8 +22,12 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_g1MemoryPool.cpp.incl"
+#include "precompiled.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/g1/g1CollectorPolicy.hpp"
+#include "gc_implementation/g1/heapRegion.hpp"
+#include "services/g1MemoryPool.hpp"
G1MemoryPoolSuper::G1MemoryPoolSuper(G1CollectedHeap* g1h,
const char* name,
diff --git a/src/share/vm/services/g1MemoryPool.hpp b/src/share/vm/services/g1MemoryPool.hpp
index a49377e95..9d7d6fd2e 100644
--- a/src/share/vm/services/g1MemoryPool.hpp
+++ b/src/share/vm/services/g1MemoryPool.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_SERVICES_G1MEMORYPOOL_HPP
+#define SHARE_VM_SERVICES_G1MEMORYPOOL_HPP
+
+#ifndef SERIALGC
+#include "services/memoryPool.hpp"
+#include "services/memoryUsage.hpp"
+#endif
+
class G1CollectedHeap;
// This file contains the three classes that represent the memory
@@ -198,3 +206,5 @@ public:
}
MemoryUsage get_memory_usage();
};
+
+#endif // SHARE_VM_SERVICES_G1MEMORYPOOL_HPP
diff --git a/src/share/vm/services/heapDumper.cpp b/src/share/vm/services/heapDumper.cpp
index d7685ca0b..37a11ca98 100644
--- a/src/share/vm/services/heapDumper.cpp
+++ b/src/share/vm/services/heapDumper.cpp
@@ -22,8 +22,26 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_heapDumper.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/symbolTable.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "gc_implementation/shared/vmGCOperations.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/universe.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/jniHandles.hpp"
+#include "runtime/reflectionUtils.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
+#include "services/heapDumper.hpp"
+#include "services/threadService.hpp"
+#include "utilities/ostream.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#endif
/*
* HPROF binary format - description copied from:
diff --git a/src/share/vm/services/heapDumper.hpp b/src/share/vm/services/heapDumper.hpp
index 9dd4fd329..d31051776 100644
--- a/src/share/vm/services/heapDumper.hpp
+++ b/src/share/vm/services/heapDumper.hpp
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_SERVICES_HEAPDUMPER_HPP
+#define SHARE_VM_SERVICES_HEAPDUMPER_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/oop.hpp"
+#include "runtime/os.hpp"
+
// HeapDumper is used to dump the java heap to file in HPROF binary format:
//
// { HeapDumper dumper(true /* full GC before heap dump */);
@@ -73,3 +81,5 @@ class HeapDumper : public StackObj {
static void dump_heap_from_oome() KERNEL_RETURN;
};
+
+#endif // SHARE_VM_SERVICES_HEAPDUMPER_HPP
diff --git a/src/share/vm/services/jmm.h b/src/share/vm/services/jmm.h
index e25de8bbb..8824574c8 100644
--- a/src/share/vm/services/jmm.h
+++ b/src/share/vm/services/jmm.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
diff --git a/src/share/vm/services/lowMemoryDetector.cpp b/src/share/vm/services/lowMemoryDetector.cpp
index 7a3b70f27..de5fad4da 100644
--- a/src/share/vm/services/lowMemoryDetector.cpp
+++ b/src/share/vm/services/lowMemoryDetector.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_lowMemoryDetector.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/mutex.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "services/lowMemoryDetector.hpp"
+#include "services/management.hpp"
LowMemoryDetectorThread* LowMemoryDetector::_detector_thread = NULL;
volatile bool LowMemoryDetector::_enabled_for_collected_pools = false;
diff --git a/src/share/vm/services/lowMemoryDetector.hpp b/src/share/vm/services/lowMemoryDetector.hpp
index 564a2c8ac..6f3a4b06d 100644
--- a/src/share/vm/services/lowMemoryDetector.hpp
+++ b/src/share/vm/services/lowMemoryDetector.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_SERVICES_LOWMEMORYDETECTOR_HPP
+#define SHARE_VM_SERVICES_LOWMEMORYDETECTOR_HPP
+
+#include "memory/allocation.hpp"
+#include "services/memoryPool.hpp"
+#include "services/memoryService.hpp"
+
// Low Memory Detection Support
// Two memory alarms in the JDK (we called them sensors).
// - Heap memory sensor
@@ -283,3 +290,5 @@ public:
LowMemoryDetector::enable();
}
};
+
+#endif // SHARE_VM_SERVICES_LOWMEMORYDETECTOR_HPP
diff --git a/src/share/vm/services/management.cpp b/src/share/vm/services/management.cpp
index 9df9107d4..cbc255cd2 100644
--- a/src/share/vm/services/management.cpp
+++ b/src/share/vm/services/management.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,31 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_management.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "compiler/compileBroker.hpp"
+#include "memory/iterator.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/klass.hpp"
+#include "oops/klassOop.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/interfaceSupport.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/jniHandles.hpp"
+#include "runtime/os.hpp"
+#include "services/classLoadingService.hpp"
+#include "services/heapDumper.hpp"
+#include "services/lowMemoryDetector.hpp"
+#include "services/management.hpp"
+#include "services/memoryManager.hpp"
+#include "services/memoryPool.hpp"
+#include "services/memoryService.hpp"
+#include "services/runtimeService.hpp"
+#include "services/threadService.hpp"
PerfVariable* Management::_begin_vm_creation_time = NULL;
PerfVariable* Management::_end_vm_creation_time = NULL;
diff --git a/src/share/vm/services/management.hpp b/src/share/vm/services/management.hpp
index 620d1e9e1..7c0633029 100644
--- a/src/share/vm/services/management.hpp
+++ b/src/share/vm/services/management.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_SERVICES_MANAGEMENT_HPP
+#define SHARE_VM_SERVICES_MANAGEMENT_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/timer.hpp"
+#include "services/jmm.h"
+
class OopClosure;
class ThreadSnapshot;
@@ -104,3 +112,5 @@ public:
{ Management::record_vm_startup_time(_begin_time, _timer.milliseconds()); }
};
+
+#endif // SHARE_VM_SERVICES_MANAGEMENT_HPP
diff --git a/src/share/vm/services/memoryManager.cpp b/src/share/vm/services/memoryManager.cpp
index 4921ae1f5..7da7a1c4c 100644
--- a/src/share/vm/services/memoryManager.cpp
+++ b/src/share/vm/services/memoryManager.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,18 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_memoryManager.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/javaCalls.hpp"
+#include "services/lowMemoryDetector.hpp"
+#include "services/management.hpp"
+#include "services/memoryManager.hpp"
+#include "services/memoryPool.hpp"
+#include "services/memoryService.hpp"
+#include "utilities/dtrace.hpp"
HS_DTRACE_PROBE_DECL8(hotspot, mem__pool__gc__begin, char*, int, char*, int,
size_t, size_t, size_t, size_t);
diff --git a/src/share/vm/services/memoryManager.hpp b/src/share/vm/services/memoryManager.hpp
index 7399141a8..4a3eadb54 100644
--- a/src/share/vm/services/memoryManager.hpp
+++ b/src/share/vm/services/memoryManager.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_SERVICES_MEMORYMANAGER_HPP
+#define SHARE_VM_SERVICES_MEMORYMANAGER_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/timer.hpp"
+#include "services/memoryUsage.hpp"
+
// A memory manager is responsible for managing one or more memory pools.
// The garbage collector is one type of memory managers responsible
// for reclaiming memory occupied by unreachable objects. A Java virtual
@@ -263,3 +270,5 @@ public:
MemoryManager::Name kind() { return MemoryManager::G1OldGen; }
const char* name() { return "G1 Old Generation"; }
};
+
+#endif // SHARE_VM_SERVICES_MEMORYMANAGER_HPP
diff --git a/src/share/vm/services/memoryPool.cpp b/src/share/vm/services/memoryPool.cpp
index f3b336eb4..f0e3fda5f 100644
--- a/src/share/vm/services/memoryPool.cpp
+++ b/src/share/vm/services/memoryPool.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,16 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_memoryPool.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/javaCalls.hpp"
+#include "services/lowMemoryDetector.hpp"
+#include "services/management.hpp"
+#include "services/memoryManager.hpp"
+#include "services/memoryPool.hpp"
MemoryPool::MemoryPool(const char* name,
PoolType type,
diff --git a/src/share/vm/services/memoryPool.hpp b/src/share/vm/services/memoryPool.hpp
index 23bf33cbe..441df2591 100644
--- a/src/share/vm/services/memoryPool.hpp
+++ b/src/share/vm/services/memoryPool.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,18 @@
*
*/
+#ifndef SHARE_VM_SERVICES_MEMORYPOOL_HPP
+#define SHARE_VM_SERVICES_MEMORYPOOL_HPP
+
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "memory/defNewGeneration.hpp"
+#include "memory/heap.hpp"
+#include "memory/space.hpp"
+#include "services/memoryUsage.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp"
+#endif
+
// A memory pool represents the memory area that the VM manages.
// The Java virtual machine has at least one memory pool
// and it may create or remove memory pools during execution.
@@ -210,3 +222,5 @@ public:
MemoryUsage get_memory_usage();
size_t used_in_bytes() { return _codeHeap->allocated_capacity(); }
};
+
+#endif // SHARE_VM_SERVICES_MEMORYPOOL_HPP
diff --git a/src/share/vm/services/memoryService.cpp b/src/share/vm/services/memoryService.cpp
index c50a4fefe..e046d61ff 100644
--- a/src/share/vm/services/memoryService.cpp
+++ b/src/share/vm/services/memoryService.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,40 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_memoryService.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "memory/collectorPolicy.hpp"
+#include "memory/defNewGeneration.hpp"
+#include "memory/genCollectedHeap.hpp"
+#include "memory/generation.hpp"
+#include "memory/generationSpec.hpp"
+#include "memory/heap.hpp"
+#include "memory/memRegion.hpp"
+#include "memory/permGen.hpp"
+#include "memory/tenuredGeneration.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/javaCalls.hpp"
+#include "services/classLoadingService.hpp"
+#include "services/lowMemoryDetector.hpp"
+#include "services/management.hpp"
+#include "services/memoryManager.hpp"
+#include "services/memoryPool.hpp"
+#include "services/memoryService.hpp"
+#include "utilities/growableArray.hpp"
+#ifndef SERIALGC
+#include "gc_implementation/concurrentMarkSweep/cmsPermGen.hpp"
+#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
+#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
+#include "gc_implementation/parNew/parNewGeneration.hpp"
+#include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
+#include "gc_implementation/parallelScavenge/psPermGen.hpp"
+#include "gc_implementation/parallelScavenge/psYoungGen.hpp"
+#include "services/g1MemoryPool.hpp"
+#include "services/psMemoryPool.hpp"
+#endif
GrowableArray<MemoryPool*>* MemoryService::_pools_list =
new (ResourceObj::C_HEAP) GrowableArray<MemoryPool*>(init_pools_list_size, true);
diff --git a/src/share/vm/services/memoryService.hpp b/src/share/vm/services/memoryService.hpp
index cf26f1987..295316b5f 100644
--- a/src/share/vm/services/memoryService.hpp
+++ b/src/share/vm/services/memoryService.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_SERVICES_MEMORYSERVICE_HPP
+#define SHARE_VM_SERVICES_MEMORYSERVICE_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/generation.hpp"
+#include "runtime/handles.hpp"
+#include "services/memoryUsage.hpp"
+
// Forward declaration
class MemoryPool;
class MemoryManager;
@@ -200,3 +208,5 @@ public:
TraceMemoryManagerStats(Generation::Name kind);
~TraceMemoryManagerStats();
};
+
+#endif // SHARE_VM_SERVICES_MEMORYSERVICE_HPP
diff --git a/src/share/vm/services/memoryUsage.hpp b/src/share/vm/services/memoryUsage.hpp
index 90a2d7c0d..efc6f2966 100644
--- a/src/share/vm/services/memoryUsage.hpp
+++ b/src/share/vm/services/memoryUsage.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_SERVICES_MEMORYUSAGE_HPP
+#define SHARE_VM_SERVICES_MEMORYUSAGE_HPP
+
+#include "utilities/globalDefinitions.hpp"
+
// A memory usage contains the following attributes about memory usage:
// initSize - represents the initial amount of memory (in bytes) that
// the Java virtual machine requests from the operating system
@@ -75,3 +80,5 @@ public:
jlong committed_as_jlong() const { return convert_to_jlong(_committed); }
jlong max_size_as_jlong() const { return convert_to_jlong(_maxSize); }
};
+
+#endif // SHARE_VM_SERVICES_MEMORYUSAGE_HPP
diff --git a/src/share/vm/services/psMemoryPool.cpp b/src/share/vm/services/psMemoryPool.cpp
index 85c7c4c79..f3b825fbd 100644
--- a/src/share/vm/services/psMemoryPool.cpp
+++ b/src/share/vm/services/psMemoryPool.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,8 +22,17 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_psMemoryPool.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "gc_implementation/parallelScavenge/psPermGen.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/javaCalls.hpp"
+#include "services/lowMemoryDetector.hpp"
+#include "services/management.hpp"
+#include "services/memoryManager.hpp"
+#include "services/psMemoryPool.hpp"
PSGenerationPool::PSGenerationPool(PSOldGen* gen,
const char* name,
diff --git a/src/share/vm/services/psMemoryPool.hpp b/src/share/vm/services/psMemoryPool.hpp
index 65d84d4cf..f2295e0c0 100644
--- a/src/share/vm/services/psMemoryPool.hpp
+++ b/src/share/vm/services/psMemoryPool.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2010, 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
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_SERVICES_PSMEMORYPOOL_HPP
+#define SHARE_VM_SERVICES_PSMEMORYPOOL_HPP
+
+#ifndef SERIALGC
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
+#include "gc_implementation/parallelScavenge/psYoungGen.hpp"
+#include "gc_implementation/shared/mutableSpace.hpp"
+#include "memory/defNewGeneration.hpp"
+#include "memory/heap.hpp"
+#include "memory/space.hpp"
+#include "services/memoryPool.hpp"
+#include "services/memoryUsage.hpp"
+#endif
+
class PSGenerationPool : public CollectedMemoryPool {
private:
PSOldGen* _gen;
@@ -79,3 +93,5 @@ public:
return _gen->from_space()->capacity_in_bytes();
}
};
+
+#endif // SHARE_VM_SERVICES_PSMEMORYPOOL_HPP
diff --git a/src/share/vm/services/runtimeService.cpp b/src/share/vm/services/runtimeService.cpp
index 4387bf784..7efac611f 100644
--- a/src/share/vm/services/runtimeService.cpp
+++ b/src/share/vm/services/runtimeService.cpp
@@ -22,8 +22,13 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_runtimeService.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/classLoader.hpp"
+#include "services/attachListener.hpp"
+#include "services/management.hpp"
+#include "services/runtimeService.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/exceptions.hpp"
HS_DTRACE_PROBE_DECL(hs_private, safepoint__begin);
HS_DTRACE_PROBE_DECL(hs_private, safepoint__end);
diff --git a/src/share/vm/services/runtimeService.hpp b/src/share/vm/services/runtimeService.hpp
index da8aca84e..0e5d6c36d 100644
--- a/src/share/vm/services/runtimeService.hpp
+++ b/src/share/vm/services/runtimeService.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_SERVICES_RUNTIMESERVICE_HPP
+#define SHARE_VM_SERVICES_RUNTIMESERVICE_HPP
+
+#include "runtime/perfData.hpp"
+#include "runtime/timer.hpp"
+
class RuntimeService : public AllStatic {
private:
static PerfCounter* _sync_time_ticks; // Accumulated time spent getting to safepoints
@@ -57,3 +63,5 @@ public:
static void record_interrupted_during_count();
static void record_thread_interrupt_signaled_count();
};
+
+#endif // SHARE_VM_SERVICES_RUNTIMESERVICE_HPP
diff --git a/src/share/vm/services/serviceUtil.hpp b/src/share/vm/services/serviceUtil.hpp
index e2ff81f20..77341a81f 100644
--- a/src/share/vm/services/serviceUtil.hpp
+++ b/src/share/vm/services/serviceUtil.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_SERVICES_SERVICEUTIL_HPP
+#define SHARE_VM_SERVICES_SERVICEUTIL_HPP
+
+#include "classfile/systemDictionary.hpp"
+#include "oops/objArrayOop.hpp"
+
//
// Serviceability utility functions.
// (Shared by MM and JVMTI).
@@ -87,3 +93,5 @@ class ServiceUtil : public AllStatic {
}; // end of visible_oop()
};
+
+#endif // SHARE_VM_SERVICES_SERVICEUTIL_HPP
diff --git a/src/share/vm/services/threadService.cpp b/src/share/vm/services/threadService.cpp
index be32b816a..4c3139752 100644
--- a/src/share/vm/services/threadService.cpp
+++ b/src/share/vm/services/threadService.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,20 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_threadService.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "memory/allocation.hpp"
+#include "memory/heapInspection.hpp"
+#include "memory/oopFactory.hpp"
+#include "oops/instanceKlass.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/handles.inline.hpp"
+#include "runtime/init.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/vframe.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
+#include "services/threadService.hpp"
// TODO: we need to define a naming convention for perf counters
// to distinguish counters for:
diff --git a/src/share/vm/services/threadService.hpp b/src/share/vm/services/threadService.hpp
index 70a05ca71..acef14edd 100644
--- a/src/share/vm/services/threadService.hpp
+++ b/src/share/vm/services/threadService.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,19 @@
*
*/
+#ifndef SHARE_VM_SERVICES_THREADSERVICE_HPP
+#define SHARE_VM_SERVICES_THREADSERVICE_HPP
+
+#include "classfile/javaClasses.hpp"
+#include "runtime/handles.hpp"
+#include "runtime/init.hpp"
+#include "runtime/jniHandles.hpp"
+#include "runtime/objectMonitor.hpp"
+#include "runtime/objectMonitor.inline.hpp"
+#include "runtime/perfData.hpp"
+#include "services/management.hpp"
+#include "services/serviceUtil.hpp"
+
class OopClosure;
class ThreadDumpResult;
class ThreadStackTrace;
@@ -563,3 +576,5 @@ class JavaThreadSleepState : public JavaThreadStatusChanger {
}
}
};
+
+#endif // SHARE_VM_SERVICES_THREADSERVICE_HPP
diff --git a/src/share/vm/shark/llvmHeaders.hpp b/src/share/vm/shark/llvmHeaders.hpp
index 5bd71adc8..f7a9c90f7 100644
--- a/src/share/vm/shark/llvmHeaders.hpp
+++ b/src/share/vm/shark/llvmHeaders.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,9 @@
*
*/
+#ifndef SHARE_VM_SHARK_LLVMHEADERS_HPP
+#define SHARE_VM_SHARK_LLVMHEADERS_HPP
+
#ifdef assert
#undef assert
#endif
@@ -93,3 +96,5 @@ do { \
#define DEBUG
#undef SHARK_DEBUG
#endif
+
+#endif // SHARE_VM_SHARK_LLVMHEADERS_HPP
diff --git a/src/share/vm/shark/llvmValue.hpp b/src/share/vm/shark/llvmValue.hpp
index 4088858b6..f7451ac71 100644
--- a/src/share/vm/shark/llvmValue.hpp
+++ b/src/share/vm/shark/llvmValue.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,13 @@
*
*/
+#ifndef SHARE_VM_SHARK_LLVMVALUE_HPP
+#define SHARE_VM_SHARK_LLVMVALUE_HPP
+
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkContext.hpp"
+#include "shark/sharkType.hpp"
+
class LLVMValue : public AllStatic {
public:
static llvm::ConstantInt* jbyte_constant(jbyte value)
@@ -60,3 +67,5 @@ class LLVMValue : public AllStatic {
return llvm::ConstantInt::get(SharkType::intptr_type(), value, false);
}
};
+
+#endif // SHARE_VM_SHARK_LLVMVALUE_HPP
diff --git a/src/share/vm/shark/sharkBlock.cpp b/src/share/vm/shark/sharkBlock.cpp
index 4f0f437bb..6c8bee378 100644
--- a/src/share/vm/shark/sharkBlock.cpp
+++ b/src/share/vm/shark/sharkBlock.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,17 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkBlock.cpp.incl"
+#include "precompiled.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/llvmValue.hpp"
+#include "shark/sharkBlock.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkConstant.hpp"
+#include "shark/sharkState.hpp"
+#include "shark/sharkValue.hpp"
+#include "shark/shark_globals.hpp"
+#include "utilities/debug.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkBlock.hpp b/src/share/vm/shark/sharkBlock.hpp
index 3de506ecd..1b43264f1 100644
--- a/src/share/vm/shark/sharkBlock.hpp
+++ b/src/share/vm/shark/sharkBlock.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,20 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKBLOCK_HPP
+#define SHARE_VM_SHARK_SHARKBLOCK_HPP
+
+#include "ci/ciMethod.hpp"
+#include "ci/ciStreams.hpp"
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkConstant.hpp"
+#include "shark/sharkInvariants.hpp"
+#include "shark/sharkState.hpp"
+#include "shark/sharkValue.hpp"
+#include "utilities/debug.hpp"
+
class SharkState;
class SharkBlock : public SharkTargetInvariants {
@@ -279,3 +293,5 @@ class SharkBlock : public SharkTargetInvariants {
virtual void do_monitorenter();
virtual void do_monitorexit();
};
+
+#endif // SHARE_VM_SHARK_SHARKBLOCK_HPP
diff --git a/src/share/vm/shark/sharkBuilder.cpp b/src/share/vm/shark/sharkBuilder.cpp
index 1fc7c7c3c..f361276b8 100644
--- a/src/share/vm/shark/sharkBuilder.cpp
+++ b/src/share/vm/shark/sharkBuilder.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,19 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkBuilder.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciMethod.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/methodOop.hpp"
+#include "runtime/os.hpp"
+#include "runtime/synchronizer.hpp"
+#include "runtime/thread.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/llvmValue.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkContext.hpp"
+#include "shark/sharkRuntime.hpp"
+#include "utilities/debug.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkBuilder.hpp b/src/share/vm/shark/sharkBuilder.hpp
index 376a9fe68..226e23b24 100644
--- a/src/share/vm/shark/sharkBuilder.hpp
+++ b/src/share/vm/shark/sharkBuilder.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,21 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKBUILDER_HPP
+#define SHARE_VM_SHARK_SHARKBUILDER_HPP
+
+#include "ci/ciType.hpp"
+#include "memory/barrierSet.hpp"
+#include "memory/cardTableModRefBS.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/llvmValue.hpp"
+#include "shark/sharkCodeBuffer.hpp"
+#include "shark/sharkEntry.hpp"
+#include "shark/sharkType.hpp"
+#include "shark/sharkValue.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/sizes.hpp"
+
class SharkBuilder : public llvm::IRBuilder<> {
friend class SharkCompileInvariants;
@@ -207,3 +222,5 @@ class SharkBuilder : public llvm::IRBuilder<> {
llvm::BasicBlock* CreateBlock(llvm::BasicBlock* ip,
const char* name="") const;
};
+
+#endif // SHARE_VM_SHARK_SHARKBUILDER_HPP
diff --git a/src/share/vm/shark/sharkCacheDecache.cpp b/src/share/vm/shark/sharkCacheDecache.cpp
index b9d1c67b8..6a748a6d2 100644
--- a/src/share/vm/shark/sharkCacheDecache.cpp
+++ b/src/share/vm/shark/sharkCacheDecache.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,14 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkCacheDecache.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciMethod.hpp"
+#include "code/debugInfoRec.hpp"
+#include "shark/llvmValue.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkCacheDecache.hpp"
+#include "shark/sharkFunction.hpp"
+#include "shark/sharkState.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkCacheDecache.hpp b/src/share/vm/shark/sharkCacheDecache.hpp
index 936874656..6432a58c2 100644
--- a/src/share/vm/shark/sharkCacheDecache.hpp
+++ b/src/share/vm/shark/sharkCacheDecache.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,15 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKCACHEDECACHE_HPP
+#define SHARE_VM_SHARK_SHARKCACHEDECACHE_HPP
+
+#include "ci/ciMethod.hpp"
+#include "code/debugInfoRec.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkFunction.hpp"
+#include "shark/sharkStateScanner.hpp"
+
// Class hierarchy:
// - SharkStateScanner
// - SharkCacherDecacher
@@ -415,3 +424,5 @@ class SharkOSREntryCacher : public SharkFunctionEntryCacher {
private:
llvm::Value* CreateAddressOfOSRBufEntry(int offset, const llvm::Type* type);
};
+
+#endif // SHARE_VM_SHARK_SHARKCACHEDECACHE_HPP
diff --git a/src/share/vm/shark/sharkCodeBuffer.hpp b/src/share/vm/shark/sharkCodeBuffer.hpp
index 6ead2c3ba..745112012 100644
--- a/src/share/vm/shark/sharkCodeBuffer.hpp
+++ b/src/share/vm/shark/sharkCodeBuffer.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,13 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKCODEBUFFER_HPP
+#define SHARE_VM_SHARK_SHARKCODEBUFFER_HPP
+
+#include "asm/codeBuffer.hpp"
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+
class SharkCodeBuffer : public StackObj {
public:
SharkCodeBuffer(MacroAssembler* masm)
@@ -85,3 +92,5 @@ class SharkCodeBuffer : public StackObj {
return offset;
}
};
+
+#endif // SHARE_VM_SHARK_SHARKCODEBUFFER_HPP
diff --git a/src/share/vm/shark/sharkCompiler.cpp b/src/share/vm/shark/sharkCompiler.cpp
index d20e3167f..97ec78c49 100644
--- a/src/share/vm/shark/sharkCompiler.cpp
+++ b/src/share/vm/shark/sharkCompiler.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,26 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkCompiler.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciEnv.hpp"
+#include "ci/ciMethod.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/dependencies.hpp"
+#include "code/exceptionHandlerTable.hpp"
+#include "code/oopRecorder.hpp"
+#include "compiler/abstractCompiler.hpp"
+#include "compiler/oopMap.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkCodeBuffer.hpp"
+#include "shark/sharkCompiler.hpp"
+#include "shark/sharkContext.hpp"
+#include "shark/sharkEntry.hpp"
+#include "shark/sharkFunction.hpp"
+#include "shark/sharkMemoryManager.hpp"
+#include "shark/sharkNativeWrapper.hpp"
+#include "shark/shark_globals.hpp"
+#include "utilities/debug.hpp"
#include <fnmatch.h>
diff --git a/src/share/vm/shark/sharkCompiler.hpp b/src/share/vm/shark/sharkCompiler.hpp
index be47dd529..d6ddd3d60 100644
--- a/src/share/vm/shark/sharkCompiler.hpp
+++ b/src/share/vm/shark/sharkCompiler.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,16 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKCOMPILER_HPP
+#define SHARE_VM_SHARK_SHARKCOMPILER_HPP
+
+#include "ci/ciEnv.hpp"
+#include "ci/ciMethod.hpp"
+#include "compiler/abstractCompiler.hpp"
+#include "compiler/compileBroker.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkMemoryManager.hpp"
+
class SharkContext;
class SharkCompiler : public AbstractCompiler {
@@ -116,3 +126,5 @@ class SharkCompiler : public AbstractCompiler {
const char* name);
void free_queued_methods();
};
+
+#endif // SHARE_VM_SHARK_SHARKCOMPILER_HPP
diff --git a/src/share/vm/shark/sharkConstant.cpp b/src/share/vm/shark/sharkConstant.cpp
index 439632bd8..50923bd57 100644
--- a/src/share/vm/shark/sharkConstant.cpp
+++ b/src/share/vm/shark/sharkConstant.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkConstant.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciInstance.hpp"
+#include "ci/ciStreams.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkConstant.hpp"
+#include "shark/sharkValue.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkConstant.hpp b/src/share/vm/shark/sharkConstant.hpp
index 83b737426..2541028f5 100644
--- a/src/share/vm/shark/sharkConstant.hpp
+++ b/src/share/vm/shark/sharkConstant.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,14 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKCONSTANT_HPP
+#define SHARE_VM_SHARK_SHARKCONSTANT_HPP
+
+#include "ci/ciStreams.hpp"
+#include "memory/allocation.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkValue.hpp"
+
class SharkConstant : public ResourceObj {
public:
static SharkConstant* for_ldc(ciBytecodeStream* iter);
@@ -62,3 +70,5 @@ class SharkConstant : public ResourceObj {
return _value;
}
};
+
+#endif // SHARE_VM_SHARK_SHARKCONSTANT_HPP
diff --git a/src/share/vm/shark/sharkContext.cpp b/src/share/vm/shark/sharkContext.cpp
index 052199fcb..f196db99b 100644
--- a/src/share/vm/shark/sharkContext.cpp
+++ b/src/share/vm/shark/sharkContext.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkContext.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/arrayOop.hpp"
+#include "oops/oop.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkContext.hpp"
+#include "utilities/globalDefinitions.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkContext.hpp b/src/share/vm/shark/sharkContext.hpp
index 15f294943..5667b2be4 100644
--- a/src/share/vm/shark/sharkContext.hpp
+++ b/src/share/vm/shark/sharkContext.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,12 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKCONTEXT_HPP
+#define SHARE_VM_SHARK_SHARKCONTEXT_HPP
+
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkCompiler.hpp"
+
// The LLVMContext class allows multiple instances of LLVM to operate
// independently of each other in a multithreaded context. We extend
// this here to store things in Shark that are LLVMContext-specific.
@@ -185,3 +191,5 @@ class SharkContext : public llvm::LLVMContext {
void push_to_free_queue(llvm::Function* function);
llvm::Function* pop_from_free_queue();
};
+
+#endif // SHARE_VM_SHARK_SHARKCONTEXT_HPP
diff --git a/src/share/vm/shark/sharkEntry.hpp b/src/share/vm/shark/sharkEntry.hpp
index dc2226028..e0f535c69 100644
--- a/src/share/vm/shark/sharkEntry.hpp
+++ b/src/share/vm/shark/sharkEntry.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,11 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKENTRY_HPP
+#define SHARE_VM_SHARK_SHARKENTRY_HPP
+
+#include "shark/llvmHeaders.hpp"
+
class SharkContext;
class SharkEntry : public ZeroEntry {
@@ -56,3 +61,5 @@ class SharkEntry : public ZeroEntry {
_function = function;
}
};
+
+#endif // SHARE_VM_SHARK_SHARKENTRY_HPP
diff --git a/src/share/vm/shark/sharkFunction.cpp b/src/share/vm/shark/sharkFunction.cpp
index 46f8d91c6..917ed0109 100644
--- a/src/share/vm/shark/sharkFunction.cpp
+++ b/src/share/vm/shark/sharkFunction.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,18 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkFunction.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciTypeFlow.hpp"
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/llvmValue.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkEntry.hpp"
+#include "shark/sharkFunction.hpp"
+#include "shark/sharkState.hpp"
+#include "shark/sharkTopLevelBlock.hpp"
+#include "shark/shark_globals.hpp"
+#include "utilities/debug.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkFunction.hpp b/src/share/vm/shark/sharkFunction.hpp
index bb4c3b66c..cc34a1fdc 100644
--- a/src/share/vm/shark/sharkFunction.hpp
+++ b/src/share/vm/shark/sharkFunction.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,20 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKFUNCTION_HPP
+#define SHARE_VM_SHARK_SHARKFUNCTION_HPP
+
+#include "ci/ciEnv.hpp"
+#include "ci/ciStreams.hpp"
+#include "ci/ciTypeFlow.hpp"
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/llvmValue.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkContext.hpp"
+#include "shark/sharkInvariants.hpp"
+#include "shark/sharkStack.hpp"
+
class SharkTopLevelBlock;
class DeferredZeroCheck;
@@ -109,3 +123,5 @@ class SharkFunction : public SharkTargetInvariants {
private:
void do_deferred_zero_checks();
};
+
+#endif // SHARE_VM_SHARK_SHARKFUNCTION_HPP
diff --git a/src/share/vm/shark/sharkInliner.cpp b/src/share/vm/shark/sharkInliner.cpp
index a7599e3fe..c9e895a9c 100644
--- a/src/share/vm/shark/sharkInliner.cpp
+++ b/src/share/vm/shark/sharkInliner.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,19 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkInliner.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciField.hpp"
+#include "ci/ciMethod.hpp"
+#include "ci/ciStreams.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "memory/allocation.hpp"
+#include "shark/sharkBlock.hpp"
+#include "shark/sharkConstant.hpp"
+#include "shark/sharkInliner.hpp"
+#include "shark/sharkIntrinsics.hpp"
+#include "shark/sharkState.hpp"
+#include "shark/sharkValue.hpp"
+#include "shark/shark_globals.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkInliner.hpp b/src/share/vm/shark/sharkInliner.hpp
index ee37eb715..c68392966 100644
--- a/src/share/vm/shark/sharkInliner.hpp
+++ b/src/share/vm/shark/sharkInliner.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,14 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKINLINER_HPP
+#define SHARE_VM_SHARK_SHARKINLINER_HPP
+
+#include "ci/ciMethod.hpp"
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkState.hpp"
+
class SharkInliner : public AllStatic {
public:
static bool attempt_inline(ciMethod* target, SharkState* state);
@@ -30,3 +38,5 @@ class SharkInliner : public AllStatic {
private:
static bool may_be_inlinable(ciMethod* target);
};
+
+#endif // SHARE_VM_SHARK_SHARKINLINER_HPP
diff --git a/src/share/vm/shark/sharkIntrinsics.cpp b/src/share/vm/shark/sharkIntrinsics.cpp
index 1ad042b2d..a5d83cf1a 100644
--- a/src/share/vm/shark/sharkIntrinsics.cpp
+++ b/src/share/vm/shark/sharkIntrinsics.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,13 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkIntrinsics.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciMethod.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkIntrinsics.hpp"
+#include "shark/sharkState.hpp"
+#include "shark/sharkValue.hpp"
+#include "shark/shark_globals.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkIntrinsics.hpp b/src/share/vm/shark/sharkIntrinsics.hpp
index a9f337b6b..f0699f894 100644
--- a/src/share/vm/shark/sharkIntrinsics.hpp
+++ b/src/share/vm/shark/sharkIntrinsics.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,14 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKINTRINSICS_HPP
+#define SHARE_VM_SHARK_SHARKINTRINSICS_HPP
+
+#include "ci/ciMethod.hpp"
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkState.hpp"
+
class SharkIntrinsics : public SharkTargetInvariants {
public:
static bool is_intrinsic(ciMethod* target);
@@ -52,3 +60,5 @@ class SharkIntrinsics : public SharkTargetInvariants {
void do_Thread_currentThread();
void do_Unsafe_compareAndSwapInt();
};
+
+#endif // SHARE_VM_SHARK_SHARKINTRINSICS_HPP
diff --git a/src/share/vm/shark/sharkInvariants.cpp b/src/share/vm/shark/sharkInvariants.cpp
index 93ddc64e4..554274a3b 100644
--- a/src/share/vm/shark/sharkInvariants.cpp
+++ b/src/share/vm/shark/sharkInvariants.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,8 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkInvariants.cpp.incl"
+#include "precompiled.hpp"
+#include "shark/sharkInvariants.hpp"
int SharkTargetInvariants::count_monitors() {
int result = 0;
diff --git a/src/share/vm/shark/sharkInvariants.hpp b/src/share/vm/shark/sharkInvariants.hpp
index 787aedf5f..50e1be8ea 100644
--- a/src/share/vm/shark/sharkInvariants.hpp
+++ b/src/share/vm/shark/sharkInvariants.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,19 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKINVARIANTS_HPP
+#define SHARE_VM_SHARK_SHARKINVARIANTS_HPP
+
+#include "ci/ciEnv.hpp"
+#include "ci/ciInstanceKlass.hpp"
+#include "ci/ciMethod.hpp"
+#include "ci/ciTypeFlow.hpp"
+#include "code/debugInfoRec.hpp"
+#include "code/dependencies.hpp"
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkBuilder.hpp"
+
// Base classes used to track various values through the compilation.
// SharkCompileInvariants is used to track values which remain the
// same for the top-level method and any inlined methods it may have
@@ -165,3 +178,5 @@ class SharkTargetInvariants : public SharkCompileInvariants {
return target()->is_synchronized();
}
};
+
+#endif // SHARE_VM_SHARK_SHARKINVARIANTS_HPP
diff --git a/src/share/vm/shark/sharkMemoryManager.cpp b/src/share/vm/shark/sharkMemoryManager.cpp
index 37334a4e8..cbcef22c2 100644
--- a/src/share/vm/shark/sharkMemoryManager.cpp
+++ b/src/share/vm/shark/sharkMemoryManager.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkMemoryManager.cpp.incl"
+#include "precompiled.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkEntry.hpp"
+#include "shark/sharkMemoryManager.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkMemoryManager.hpp b/src/share/vm/shark/sharkMemoryManager.hpp
index c2884d0b1..2da762afe 100644
--- a/src/share/vm/shark/sharkMemoryManager.hpp
+++ b/src/share/vm/shark/sharkMemoryManager.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,12 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKMEMORYMANAGER_HPP
+#define SHARE_VM_SHARK_SHARKMEMORYMANAGER_HPP
+
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkEntry.hpp"
+
// SharkMemoryManager wraps the LLVM JIT Memory Manager. We could use
// this to run our own memory allocation policies, but for now all we
// use it for is figuring out where the resulting native code ended up.
@@ -86,3 +92,5 @@ class SharkMemoryManager : public llvm::JITMemoryManager {
unsigned char *allocateSpace(intptr_t Size,
unsigned int Alignment);
};
+
+#endif // SHARE_VM_SHARK_SHARKMEMORYMANAGER_HPP
diff --git a/src/share/vm/shark/sharkNativeWrapper.cpp b/src/share/vm/shark/sharkNativeWrapper.cpp
index b46ad8002..5896d3639 100644
--- a/src/share/vm/shark/sharkNativeWrapper.cpp
+++ b/src/share/vm/shark/sharkNativeWrapper.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,10 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkNativeWrapper.cpp.incl"
+#include "precompiled.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkNativeWrapper.hpp"
+#include "shark/sharkType.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkNativeWrapper.hpp b/src/share/vm/shark/sharkNativeWrapper.hpp
index 6e324fe2e..3d4eddd13 100644
--- a/src/share/vm/shark/sharkNativeWrapper.hpp
+++ b/src/share/vm/shark/sharkNativeWrapper.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,16 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKNATIVEWRAPPER_HPP
+#define SHARE_VM_SHARK_SHARKNATIVEWRAPPER_HPP
+
+#include "runtime/handles.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkContext.hpp"
+#include "shark/sharkInvariants.hpp"
+#include "shark/sharkStack.hpp"
+
class SharkNativeWrapper : public SharkCompileInvariants {
friend class SharkStackWithNativeFrame;
@@ -180,3 +190,5 @@ class SharkNativeWrapper : public SharkCompileInvariants {
pending_exception_address(), "pending_exception");
}
};
+
+#endif // SHARE_VM_SHARK_SHARKNATIVEWRAPPER_HPP
diff --git a/src/share/vm/shark/sharkRuntime.cpp b/src/share/vm/shark/sharkRuntime.cpp
index 6e8c1714e..e1a271322 100644
--- a/src/share/vm/shark/sharkRuntime.cpp
+++ b/src/share/vm/shark/sharkRuntime.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,16 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkRuntime.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/klassOop.hpp"
+#include "runtime/biasedLocking.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/thread.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkRuntime.hpp"
+#ifdef TARGET_ARCH_zero
+# include "stack_zero.inline.hpp"
+#endif
using namespace llvm;
diff --git a/src/share/vm/shark/sharkRuntime.hpp b/src/share/vm/shark/sharkRuntime.hpp
index 5467187b3..b8b0b0b17 100644
--- a/src/share/vm/shark/sharkRuntime.hpp
+++ b/src/share/vm/shark/sharkRuntime.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,15 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKRUNTIME_HPP
+#define SHARE_VM_SHARK_SHARKRUNTIME_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/klassOop.hpp"
+#include "runtime/thread.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/llvmValue.hpp"
+
class SharkRuntime : public AllStatic {
// VM calls
public:
@@ -81,3 +90,5 @@ class SharkRuntime : public AllStatic {
static bool is_subtype_of(klassOop check_klass, klassOop object_klass);
static int uncommon_trap(JavaThread* thread, int trap_request);
};
+
+#endif // SHARE_VM_SHARK_SHARKRUNTIME_HPP
diff --git a/src/share/vm/shark/sharkStack.cpp b/src/share/vm/shark/sharkStack.cpp
index 69058e59b..87ddf8140 100644
--- a/src/share/vm/shark/sharkStack.cpp
+++ b/src/share/vm/shark/sharkStack.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkStack.cpp.incl"
+#include "precompiled.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkFunction.hpp"
+#include "shark/sharkNativeWrapper.hpp"
+#include "shark/sharkStack.hpp"
+#include "shark/sharkType.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkStack.hpp b/src/share/vm/shark/sharkStack.hpp
index e31b0a3f1..78f694cee 100644
--- a/src/share/vm/shark/sharkStack.hpp
+++ b/src/share/vm/shark/sharkStack.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,13 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKSTACK_HPP
+#define SHARE_VM_SHARK_SHARKSTACK_HPP
+
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkInvariants.hpp"
+#include "shark/sharkType.hpp"
+
class SharkFunction;
class SharkNativeWrapper;
class SharkStackWithNormalFrame;
@@ -288,3 +295,5 @@ class SharkStackWithNativeFrame : public SharkStack {
private:
address interpreter_entry_point() const;
};
+
+#endif // SHARE_VM_SHARK_SHARKSTACK_HPP
diff --git a/src/share/vm/shark/sharkState.cpp b/src/share/vm/shark/sharkState.cpp
index fd6283d0f..2c5ac0644 100644
--- a/src/share/vm/shark/sharkState.cpp
+++ b/src/share/vm/shark/sharkState.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,16 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkState.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciType.hpp"
+#include "ci/ciTypeFlow.hpp"
+#include "memory/allocation.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkCacheDecache.hpp"
+#include "shark/sharkState.hpp"
+#include "shark/sharkTopLevelBlock.hpp"
+#include "shark/sharkType.hpp"
+#include "shark/sharkValue.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkState.hpp b/src/share/vm/shark/sharkState.hpp
index 85d8ea70c..d698bb2c7 100644
--- a/src/share/vm/shark/sharkState.hpp
+++ b/src/share/vm/shark/sharkState.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,16 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKSTATE_HPP
+#define SHARE_VM_SHARK_SHARKSTATE_HPP
+
+#include "ci/ciMethod.hpp"
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkInvariants.hpp"
+#include "shark/sharkValue.hpp"
+
class SharkState : public SharkTargetInvariants {
public:
SharkState(const SharkTargetInvariants* parent)
@@ -186,3 +196,5 @@ class SharkPHIState : public SharkState {
public:
void add_incoming(SharkState* incoming_state);
};
+
+#endif // SHARE_VM_SHARK_SHARKSTATE_HPP
diff --git a/src/share/vm/shark/sharkStateScanner.cpp b/src/share/vm/shark/sharkStateScanner.cpp
index de588b19b..26a1fc581 100644
--- a/src/share/vm/shark/sharkStateScanner.cpp
+++ b/src/share/vm/shark/sharkStateScanner.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkStateScanner.cpp.incl"
+#include "precompiled.hpp"
+#include "shark/sharkState.hpp"
+#include "shark/sharkStateScanner.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkStateScanner.hpp b/src/share/vm/shark/sharkStateScanner.hpp
index 74c1294e6..115d4a3a3 100644
--- a/src/share/vm/shark/sharkStateScanner.hpp
+++ b/src/share/vm/shark/sharkStateScanner.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,14 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKSTATESCANNER_HPP
+#define SHARE_VM_SHARK_SHARKSTATESCANNER_HPP
+
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkFunction.hpp"
+#include "shark/sharkInvariants.hpp"
+
class SharkState;
class SharkStateScanner : public SharkTargetInvariants {
@@ -73,3 +81,5 @@ class SharkStateScanner : public SharkTargetInvariants {
void stack_integrity_checks(SharkState* state) PRODUCT_RETURN;
void locals_integrity_checks(SharkState* state) PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_SHARK_SHARKSTATESCANNER_HPP
diff --git a/src/share/vm/shark/sharkTopLevelBlock.cpp b/src/share/vm/shark/sharkTopLevelBlock.cpp
index 5e93ca587..1e236ff6f 100644
--- a/src/share/vm/shark/sharkTopLevelBlock.cpp
+++ b/src/share/vm/shark/sharkTopLevelBlock.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,27 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkTopLevelBlock.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciField.hpp"
+#include "ci/ciInstance.hpp"
+#include "ci/ciObjArrayKlass.hpp"
+#include "ci/ciStreams.hpp"
+#include "ci/ciType.hpp"
+#include "ci/ciTypeFlow.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "memory/allocation.hpp"
+#include "runtime/deoptimization.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/llvmValue.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkCacheDecache.hpp"
+#include "shark/sharkConstant.hpp"
+#include "shark/sharkInliner.hpp"
+#include "shark/sharkState.hpp"
+#include "shark/sharkTopLevelBlock.hpp"
+#include "shark/sharkValue.hpp"
+#include "shark/shark_globals.hpp"
+#include "utilities/debug.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkTopLevelBlock.hpp b/src/share/vm/shark/sharkTopLevelBlock.hpp
index 76aba1fd5..067ea6285 100644
--- a/src/share/vm/shark/sharkTopLevelBlock.hpp
+++ b/src/share/vm/shark/sharkTopLevelBlock.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,21 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKTOPLEVELBLOCK_HPP
+#define SHARE_VM_SHARK_SHARKTOPLEVELBLOCK_HPP
+
+#include "ci/ciStreams.hpp"
+#include "ci/ciType.hpp"
+#include "ci/ciTypeFlow.hpp"
+#include "interpreter/bytecodes.hpp"
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkBlock.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkFunction.hpp"
+#include "shark/sharkState.hpp"
+#include "shark/sharkValue.hpp"
+
class SharkTopLevelBlock : public SharkBlock {
public:
SharkTopLevelBlock(SharkFunction* function, ciTypeFlow::Block* ciblock)
@@ -428,3 +443,5 @@ class SharkTopLevelBlock : public SharkBlock {
void do_monitorenter();
void do_monitorexit();
};
+
+#endif // SHARE_VM_SHARK_SHARKTOPLEVELBLOCK_HPP
diff --git a/src/share/vm/shark/sharkType.hpp b/src/share/vm/shark/sharkType.hpp
index 9c5d9e977..025837958 100644
--- a/src/share/vm/shark/sharkType.hpp
+++ b/src/share/vm/shark/sharkType.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,15 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKTYPE_HPP
+#define SHARE_VM_SHARK_SHARKTYPE_HPP
+
+#include "ci/ciType.hpp"
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/sharkContext.hpp"
+#include "utilities/globalDefinitions.hpp"
+
class SharkType : public AllStatic {
private:
static SharkContext& context() {
@@ -110,3 +119,5 @@ class SharkType : public AllStatic {
return to_arrayType(type->basic_type());
}
};
+
+#endif // SHARE_VM_SHARK_SHARKTYPE_HPP
diff --git a/src/share/vm/shark/sharkValue.cpp b/src/share/vm/shark/sharkValue.cpp
index 18b1fa632..e9b17a5f3 100644
--- a/src/share/vm/shark/sharkValue.cpp
+++ b/src/share/vm/shark/sharkValue.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,8 +23,12 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_sharkValue.cpp.incl"
+#include "precompiled.hpp"
+#include "ci/ciType.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/llvmValue.hpp"
+#include "shark/sharkBuilder.hpp"
+#include "shark/sharkValue.hpp"
using namespace llvm;
diff --git a/src/share/vm/shark/sharkValue.hpp b/src/share/vm/shark/sharkValue.hpp
index 06fcad1be..2092f247f 100644
--- a/src/share/vm/shark/sharkValue.hpp
+++ b/src/share/vm/shark/sharkValue.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,15 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARKVALUE_HPP
+#define SHARE_VM_SHARK_SHARKVALUE_HPP
+
+#include "ci/ciType.hpp"
+#include "memory/allocation.hpp"
+#include "shark/llvmHeaders.hpp"
+#include "shark/llvmValue.hpp"
+#include "shark/sharkType.hpp"
+
// Items on the stack and in local variables are tracked using
// SharkValue objects.
//
@@ -330,3 +339,5 @@ inline SharkValue* SharkValue::create_phi(ciType* type,
inline SharkValue* SharkValue::address_constant(int bci) {
return new SharkAddressValue(bci);
}
+
+#endif // SHARE_VM_SHARK_SHARKVALUE_HPP
diff --git a/src/share/vm/shark/shark_globals.cpp b/src/share/vm/shark/shark_globals.cpp
index 50ea5295d..b775ac4a4 100644
--- a/src/share/vm/shark/shark_globals.cpp
+++ b/src/share/vm/shark/shark_globals.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,7 +23,7 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_shark_globals.cpp.incl"
+#include "precompiled.hpp"
+#include "shark/shark_globals.hpp"
SHARK_FLAGS(MATERIALIZE_DEVELOPER_FLAG, MATERIALIZE_PD_DEVELOPER_FLAG, MATERIALIZE_PRODUCT_FLAG, MATERIALIZE_PD_PRODUCT_FLAG, MATERIALIZE_DIAGNOSTIC_FLAG, MATERIALIZE_NOTPRODUCT_FLAG)
diff --git a/src/share/vm/shark/shark_globals.hpp b/src/share/vm/shark/shark_globals.hpp
index f0f7d3bbf..deae2f3c0 100644
--- a/src/share/vm/shark/shark_globals.hpp
+++ b/src/share/vm/shark/shark_globals.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -23,6 +23,14 @@
*
*/
+#ifndef SHARE_VM_SHARK_SHARK_GLOBALS_HPP
+#define SHARE_VM_SHARK_SHARK_GLOBALS_HPP
+
+#include "runtime/globals.hpp"
+#ifdef TARGET_ARCH_zero
+# include "shark_globals_zero.hpp"
+#endif
+
#define SHARK_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \
\
product(intx, MaxNodeLimit, 65000, \
@@ -52,3 +60,5 @@
"Warn about things that could be made faster") \
SHARK_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_NOTPRODUCT_FLAG)
+
+#endif // SHARE_VM_SHARK_SHARK_GLOBALS_HPP
diff --git a/src/share/vm/utilities/accessFlags.cpp b/src/share/vm/utilities/accessFlags.cpp
index 2ba6f70b7..f244d0f8a 100644
--- a/src/share/vm/utilities/accessFlags.cpp
+++ b/src/share/vm/utilities/accessFlags.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,18 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_accessFlags.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/oop.inline.hpp"
+#include "utilities/accessFlags.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
void AccessFlags::atomic_set_bits(jint bits) {
diff --git a/src/share/vm/utilities/accessFlags.hpp b/src/share/vm/utilities/accessFlags.hpp
index e10ac5fe9..663cec30f 100644
--- a/src/share/vm/utilities/accessFlags.hpp
+++ b/src/share/vm/utilities/accessFlags.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_ACCESSFLAGS_HPP
+#define SHARE_VM_UTILITIES_ACCESSFLAGS_HPP
+
+#include "prims/jvm.h"
+#include "utilities/top.hpp"
+
// AccessFlags is an abstraction over Java access flags.
@@ -226,3 +232,5 @@ inline AccessFlags accessFlags_from(jint flags) {
af._flags = flags;
return af;
}
+
+#endif // SHARE_VM_UTILITIES_ACCESSFLAGS_HPP
diff --git a/src/share/vm/utilities/array.cpp b/src/share/vm/utilities/array.cpp
index e2e9334d6..ffea39447 100644
--- a/src/share/vm/utilities/array.cpp
+++ b/src/share/vm/utilities/array.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,8 +22,18 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_array.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/resourceArea.hpp"
+#include "utilities/array.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
#ifdef ASSERT
diff --git a/src/share/vm/utilities/array.hpp b/src/share/vm/utilities/array.hpp
index f099704b1..cbc4161a4 100644
--- a/src/share/vm/utilities/array.hpp
+++ b/src/share/vm/utilities/array.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_ARRAY_HPP
+#define SHARE_VM_UTILITIES_ARRAY_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+
// correct linkage required to compile w/o warnings
// (must be on file level - cannot be local)
extern "C" { typedef int (*ftype)(const void*, const void*); }
@@ -285,3 +291,5 @@ class CHeapArray: public CHeapObj {
define_array(boolArray, bool) define_stack(boolStack, boolArray)
define_array(intArray , int ) define_stack(intStack , intArray )
+
+#endif // SHARE_VM_UTILITIES_ARRAY_HPP
diff --git a/src/share/vm/utilities/bitMap.cpp b/src/share/vm/utilities/bitMap.cpp
index f0647a307..b7c82eece 100644
--- a/src/share/vm/utilities/bitMap.cpp
+++ b/src/share/vm/utilities/bitMap.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,19 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_bitMap.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "utilities/bitMap.inline.hpp"
+#include "utilities/copy.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
BitMap::BitMap(bm_word_t* map, idx_t size_in_bits) :
diff --git a/src/share/vm/utilities/bitMap.hpp b/src/share/vm/utilities/bitMap.hpp
index 33dd89c38..7c3169b08 100644
--- a/src/share/vm/utilities/bitMap.hpp
+++ b/src/share/vm/utilities/bitMap.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_BITMAP_HPP
+#define SHARE_VM_UTILITIES_BITMAP_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/top.hpp"
+
// Forward decl;
class BitMapClosure;
@@ -365,3 +371,5 @@ class BitMapClosure VALUE_OBJ_CLASS_SPEC {
// return of false indicates that the bitmap iteration should terminate.
virtual bool do_bit(BitMap::idx_t offset) = 0;
};
+
+#endif // SHARE_VM_UTILITIES_BITMAP_HPP
diff --git a/src/share/vm/utilities/bitMap.inline.hpp b/src/share/vm/utilities/bitMap.inline.hpp
index ac99e376c..a25fa0ac8 100644
--- a/src/share/vm/utilities/bitMap.inline.hpp
+++ b/src/share/vm/utilities/bitMap.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_BITMAP_INLINE_HPP
+#define SHARE_VM_UTILITIES_BITMAP_INLINE_HPP
+
+#include "runtime/atomic.hpp"
+#include "utilities/bitMap.hpp"
+
#ifdef ASSERT
inline void BitMap::verify_index(idx_t index) const {
assert(index < _size, "BitMap index out of bounds");
@@ -319,3 +325,5 @@ inline BitMap::idx_t BitMap::get_next_zero_offset(idx_t l_offset,
inline void BitMap2D::clear() {
_map.clear();
}
+
+#endif // SHARE_VM_UTILITIES_BITMAP_INLINE_HPP
diff --git a/src/share/vm/utilities/constantTag.cpp b/src/share/vm/utilities/constantTag.cpp
index 4d0bfe89b..49e374e89 100644
--- a/src/share/vm/utilities/constantTag.cpp
+++ b/src/share/vm/utilities/constantTag.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_constantTag.cpp.incl"
+#include "precompiled.hpp"
+#include "utilities/constantTag.hpp"
#ifndef PRODUCT
diff --git a/src/share/vm/utilities/constantTag.hpp b/src/share/vm/utilities/constantTag.hpp
index 7b8f1cbb5..bbd02462e 100644
--- a/src/share/vm/utilities/constantTag.hpp
+++ b/src/share/vm/utilities/constantTag.hpp
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_CONSTANTTAG_HPP
+#define SHARE_VM_UTILITIES_CONSTANTTAG_HPP
+
+#include "prims/jvm.h"
+#include "utilities/top.hpp"
+
// constant tags in Java .class files
@@ -107,3 +113,5 @@ class constantTag VALUE_OBJ_CLASS_SPEC {
void print_on(outputStream* st) const PRODUCT_RETURN;
};
+
+#endif // SHARE_VM_UTILITIES_CONSTANTTAG_HPP
diff --git a/src/share/vm/utilities/copy.cpp b/src/share/vm/utilities/copy.cpp
index 64da1b7ae..56e1cfc47 100644
--- a/src/share/vm/utilities/copy.cpp
+++ b/src/share/vm/utilities/copy.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_copy.cpp.incl"
+#include "precompiled.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "utilities/copy.hpp"
// Copy bytes; larger units are filled atomically if everything is aligned.
diff --git a/src/share/vm/utilities/copy.hpp b/src/share/vm/utilities/copy.hpp
index 127568e33..67c11a32d 100644
--- a/src/share/vm/utilities/copy.hpp
+++ b/src/share/vm/utilities/copy.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_COPY_HPP
+#define SHARE_VM_UTILITIES_COPY_HPP
+
+#include "runtime/stubRoutines.hpp"
+
// Assembly code for platforms that need it.
extern "C" {
void _Copy_conjoint_words(HeapWord* from, HeapWord* to, size_t count);
@@ -317,5 +322,16 @@ class Copy : AllStatic {
}
// Platform dependent implementations of the above methods.
- #include "incls/_copy_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "copy_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "copy_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "copy_zero.hpp"
+#endif
+
};
+
+#endif // SHARE_VM_UTILITIES_COPY_HPP
diff --git a/src/share/vm/utilities/debug.cpp b/src/share/vm/utilities/debug.cpp
index c535ff0e5..66edcaa37 100644
--- a/src/share/vm/utilities/debug.cpp
+++ b/src/share/vm/utilities/debug.cpp
@@ -22,8 +22,46 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_debug.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "code/codeCache.hpp"
+#include "code/icBuffer.hpp"
+#include "code/nmethod.hpp"
+#include "code/vtableStubs.hpp"
+#include "compiler/compileBroker.hpp"
+#include "compiler/disassembler.hpp"
+#include "gc_implementation/shared/markSweep.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "interpreter/bytecodeHistogram.hpp"
+#include "interpreter/interpreter.hpp"
+#include "memory/resourceArea.hpp"
+#include "memory/universe.hpp"
+#include "oops/oop.inline.hpp"
+#include "prims/privilegedStack.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/frame.hpp"
+#include "runtime/java.hpp"
+#include "runtime/sharedRuntime.hpp"
+#include "runtime/stubCodeGenerator.hpp"
+#include "runtime/stubRoutines.hpp"
+#include "runtime/vframe.hpp"
+#include "services/heapDumper.hpp"
+#include "utilities/defaultStream.hpp"
+#include "utilities/events.hpp"
+#include "utilities/top.hpp"
+#include "utilities/vmError.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+# include "thread_windows.inline.hpp"
+#endif
#ifndef ASSERT
# ifdef _DEBUG
diff --git a/src/share/vm/utilities/debug.hpp b/src/share/vm/utilities/debug.hpp
index c0a80e2a2..54bfc777c 100644
--- a/src/share/vm/utilities/debug.hpp
+++ b/src/share/vm/utilities/debug.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_DEBUG_HPP
+#define SHARE_VM_UTILITIES_DEBUG_HPP
+
+#include "utilities/globalDefinitions.hpp"
+
#include <stdarg.h>
// Simple class to format the ctor arguments into a fixed-sized buffer.
@@ -169,3 +174,5 @@ NOT_PRODUCT(void test_error_handler(size_t test_num);)
void pd_ps(frame f);
void pd_obfuscate_location(char *buf, size_t buflen);
+
+#endif // SHARE_VM_UTILITIES_DEBUG_HPP
diff --git a/src/share/vm/utilities/defaultStream.hpp b/src/share/vm/utilities/defaultStream.hpp
index 1e98b625e..8b5c1a85a 100644
--- a/src/share/vm/utilities/defaultStream.hpp
+++ b/src/share/vm/utilities/defaultStream.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_DEFAULTSTREAM_HPP
+#define SHARE_VM_UTILITIES_DEFAULTSTREAM_HPP
+
+#include "utilities/xmlstream.hpp"
+
class defaultStream : public xmlTextStream {
friend void ostream_abort();
public:
@@ -88,3 +93,5 @@ class defaultStream : public xmlTextStream {
static defaultStream* instance; // sole instance
};
+
+#endif // SHARE_VM_UTILITIES_DEFAULTSTREAM_HPP
diff --git a/src/share/vm/utilities/dtrace.hpp b/src/share/vm/utilities/dtrace.hpp
index 496795f60..2f856948a 100644
--- a/src/share/vm/utilities/dtrace.hpp
+++ b/src/share/vm/utilities/dtrace.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_DTRACE_HPP
+#define SHARE_VM_UTILITIES_DTRACE_HPP
+
#if defined(SOLARIS) && defined(DTRACE_ENABLED)
#include <sys/sdt.h>
@@ -129,3 +132,5 @@
HS_DTRACE_PROBE_N(provider,name,((uintptr_t)a0,(uintptr_t)a1,(uintptr_t)a2,\
(uintptr_t)a3,(uintptr_t)a4,(uintptr_t)a5,(uintptr_t)a6,(uintptr_t)a7,\
(uintptr_t)a8,(uintptr_t)a9))
+
+#endif // SHARE_VM_UTILITIES_DTRACE_HPP
diff --git a/src/share/vm/utilities/events.cpp b/src/share/vm/utilities/events.cpp
index e76fc5a23..24e4eb470 100644
--- a/src/share/vm/utilities/events.cpp
+++ b/src/share/vm/utilities/events.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,22 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_events.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "runtime/mutexLocker.hpp"
+#include "runtime/osThread.hpp"
+#include "runtime/threadLocalStorage.hpp"
+#include "runtime/timer.hpp"
+#include "utilities/events.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
#ifndef PRODUCT
diff --git a/src/share/vm/utilities/events.hpp b/src/share/vm/utilities/events.hpp
index fb4e9fa4b..6a50643da 100644
--- a/src/share/vm/utilities/events.hpp
+++ b/src/share/vm/utilities/events.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_EVENTS_HPP
+#define SHARE_VM_UTILITIES_EVENTS_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/top.hpp"
+
// Events and EventMark provide interfaces to log events taking place in the vm.
// This facility is extremly useful for post-mortem debugging. The eventlog
// often provides crucial information about events leading up to the crash.
@@ -62,3 +68,5 @@ class EventMark : public StackObj {
};
int print_all_events(outputStream *st);
+
+#endif // SHARE_VM_UTILITIES_EVENTS_HPP
diff --git a/src/share/vm/utilities/exceptions.cpp b/src/share/vm/utilities/exceptions.cpp
index 0c3cdf8ce..1c838f3e4 100644
--- a/src/share/vm/utilities/exceptions.cpp
+++ b/src/share/vm/utilities/exceptions.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,26 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_exceptions.cpp.incl"
+#include "precompiled.hpp"
+#include "classfile/systemDictionary.hpp"
+#include "classfile/vmSymbols.hpp"
+#include "compiler/compileBroker.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/init.hpp"
+#include "runtime/java.hpp"
+#include "runtime/javaCalls.hpp"
+#include "runtime/threadCritical.hpp"
+#include "utilities/events.hpp"
+#include "utilities/exceptions.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
// Implementation of ThreadShadow
diff --git a/src/share/vm/utilities/exceptions.hpp b/src/share/vm/utilities/exceptions.hpp
index 245bfa415..f0eca3b0d 100644
--- a/src/share/vm/utilities/exceptions.hpp
+++ b/src/share/vm/utilities/exceptions.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_EXCEPTIONS_HPP
+#define SHARE_VM_UTILITIES_EXCEPTIONS_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/oopsHierarchy.hpp"
+#include "utilities/sizes.hpp"
+
// This file provides the basic support for exception handling in the VM.
// Note: We do not use C++ exceptions to avoid compiler dependencies and
// unpredictable performance.
@@ -276,3 +283,5 @@ class ExceptionMark {
// exceptions.
#define EXCEPTION_MARK Thread* THREAD; ExceptionMark __em(THREAD);
+
+#endif // SHARE_VM_UTILITIES_EXCEPTIONS_HPP
diff --git a/src/share/vm/utilities/globalDefinitions.cpp b/src/share/vm/utilities/globalDefinitions.cpp
index 1f03a88fd..80c2cbbe1 100644
--- a/src/share/vm/utilities/globalDefinitions.cpp
+++ b/src/share/vm/utilities/globalDefinitions.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_globalDefinitions.cpp.incl"
+#include "precompiled.hpp"
+#include "runtime/os.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/top.hpp"
+
// Basic error support
// Info for oops within a java object. Defaults are zero so
diff --git a/src/share/vm/utilities/globalDefinitions.hpp b/src/share/vm/utilities/globalDefinitions.hpp
index d9c32be8a..0499aaeb6 100644
--- a/src/share/vm/utilities/globalDefinitions.hpp
+++ b/src/share/vm/utilities/globalDefinitions.hpp
@@ -22,6 +22,21 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_GLOBALDEFINITIONS_HPP
+#define SHARE_VM_UTILITIES_GLOBALDEFINITIONS_HPP
+
+#ifdef TARGET_COMPILER_gcc
+# include "utilities/globalDefinitions_gcc.hpp"
+#endif
+#ifdef TARGET_COMPILER_visCPP
+# include "utilities/globalDefinitions_visCPP.hpp"
+#endif
+#ifdef TARGET_COMPILER_sparcWorks
+# include "utilities/globalDefinitions_sparcWorks.hpp"
+#endif
+
+#include "utilities/macros.hpp"
+
// This file holds all globally used constants & types, class (forward)
// declarations and a few frequently used utility functions.
@@ -304,7 +319,16 @@ extern int LogMinObjAlignmentInBytes;
// Machine dependent stuff
-#include "incls/_globalDefinitions_pd.hpp.incl"
+#ifdef TARGET_ARCH_x86
+# include "globalDefinitions_x86.hpp"
+#endif
+#ifdef TARGET_ARCH_sparc
+# include "globalDefinitions_sparc.hpp"
+#endif
+#ifdef TARGET_ARCH_zero
+# include "globalDefinitions_zero.hpp"
+#endif
+
// The byte alignment to be used by Arena::Amalloc. See bugid 4169348.
// Note: this value must be a power of 2
@@ -1217,3 +1241,5 @@ inline int build_int_from_shorts( jushort low, jushort high ) {
# endif /* ASSERT */
#define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0]))
+
+#endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_HPP
diff --git a/src/share/vm/utilities/globalDefinitions_gcc.hpp b/src/share/vm/utilities/globalDefinitions_gcc.hpp
index 398f01b94..77454680f 100644
--- a/src/share/vm/utilities/globalDefinitions_gcc.hpp
+++ b/src/share/vm/utilities/globalDefinitions_gcc.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_GLOBALDEFINITIONS_GCC_HPP
+#define SHARE_VM_UTILITIES_GLOBALDEFINITIONS_GCC_HPP
+
+#include "prims/jni.h"
+
// This file holds compiler-dependent includes,
// globally used constants & types, class (forward)
// declarations and a few frequently used utility functions.
@@ -289,3 +294,5 @@ inline int wcslen(const jchar* x) { return wcslen((const wchar_t*)x); }
# undef offsetof
#endif
#define offsetof(klass,field) offset_of(klass,field)
+
+#endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_GCC_HPP
diff --git a/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp b/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp
index e761a0e80..93d92b61d 100644
--- a/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp
+++ b/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_GLOBALDEFINITIONS_SPARCWORKS_HPP
+#define SHARE_VM_UTILITIES_GLOBALDEFINITIONS_SPARCWORKS_HPP
+
+#include "prims/jni.h"
+
// This file holds compiler-dependent includes,
// globally used constants & types, class (forward)
// declarations and a few frequently used utility functions.
@@ -263,3 +268,5 @@ int local_vsnprintf(char* buf, size_t count, const char* fmt, va_list argptr);
#endif // _LP64
#define offset_of(klass,field) offsetof(klass,field)
+
+#endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_SPARCWORKS_HPP
diff --git a/src/share/vm/utilities/globalDefinitions_visCPP.hpp b/src/share/vm/utilities/globalDefinitions_visCPP.hpp
index 9801cd1a5..0deb70ab6 100644
--- a/src/share/vm/utilities/globalDefinitions_visCPP.hpp
+++ b/src/share/vm/utilities/globalDefinitions_visCPP.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_GLOBALDEFINITIONS_VISCPP_HPP
+#define SHARE_VM_UTILITIES_GLOBALDEFINITIONS_VISCPP_HPP
+
+#include "prims/jni.h"
+
// This file holds compiler-dependent includes,
// globally used constants & types, class (forward)
// declarations and a few frequently used utility functions.
@@ -194,3 +199,5 @@ inline int vsnprintf(char* buf, size_t count, const char* fmt, va_list argptr) {
#define FORMAT64_MODIFIER "I64"
#define offset_of(klass,field) offsetof(klass,field)
+
+#endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_VISCPP_HPP
diff --git a/src/share/vm/utilities/growableArray.cpp b/src/share/vm/utilities/growableArray.cpp
index ebd3ec3b1..00378afce 100644
--- a/src/share/vm/utilities/growableArray.cpp
+++ b/src/share/vm/utilities/growableArray.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -21,9 +21,19 @@
* questions.
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_growableArray.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/resourceArea.hpp"
+#include "utilities/growableArray.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
#ifdef ASSERT
void GenericGrowableArray::set_nesting() {
if (on_stack()) {
diff --git a/src/share/vm/utilities/growableArray.hpp b/src/share/vm/utilities/growableArray.hpp
index e3941cfcb..9ee963941 100644
--- a/src/share/vm/utilities/growableArray.hpp
+++ b/src/share/vm/utilities/growableArray.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,15 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_GROWABLEARRAY_HPP
+#define SHARE_VM_UTILITIES_GROWABLEARRAY_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/top.hpp"
+
// A growable array.
/*************************************************************************/
@@ -360,3 +369,5 @@ template<class E> void GrowableArray<E>::print() {
for (int i = 0; i < _len; i++) tty->print(INTPTR_FORMAT " ", *(intptr_t*)&(_data[i]));
tty->print("}\n");
}
+
+#endif // SHARE_VM_UTILITIES_GROWABLEARRAY_HPP
diff --git a/src/share/vm/utilities/hashtable.cpp b/src/share/vm/utilities/hashtable.cpp
index d504cd24b..6dd9face5 100644
--- a/src/share/vm/utilities/hashtable.cpp
+++ b/src/share/vm/utilities/hashtable.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,8 +22,14 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_hashtable.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/safepoint.hpp"
+#include "utilities/dtrace.hpp"
+#include "utilities/hashtable.hpp"
+#include "utilities/hashtable.inline.hpp"
HS_DTRACE_PROBE_DECL4(hs_private, hashtable__new_entry,
void*, unsigned int, oop, void*);
diff --git a/src/share/vm/utilities/hashtable.hpp b/src/share/vm/utilities/hashtable.hpp
index f0f599d1b..632493e84 100644
--- a/src/share/vm/utilities/hashtable.hpp
+++ b/src/share/vm/utilities/hashtable.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,14 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_HASHTABLE_HPP
+#define SHARE_VM_UTILITIES_HASHTABLE_HPP
+
+#include "memory/allocation.hpp"
+#include "oops/oop.hpp"
+#include "oops/symbolOop.hpp"
+#include "runtime/handles.hpp"
+
// This is a generic hashtable, designed to be used for the symbol
// and string tables.
//
@@ -278,3 +286,5 @@ public:
return hash_to_index(compute_hash(name, loader));
}
};
+
+#endif // SHARE_VM_UTILITIES_HASHTABLE_HPP
diff --git a/src/share/vm/utilities/hashtable.inline.hpp b/src/share/vm/utilities/hashtable.inline.hpp
index 9eca2dec9..41cbdf38a 100644
--- a/src/share/vm/utilities/hashtable.inline.hpp
+++ b/src/share/vm/utilities/hashtable.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_HASHTABLE_INLINE_HPP
+#define SHARE_VM_UTILITIES_HASHTABLE_INLINE_HPP
+
+#include "memory/allocation.inline.hpp"
+#include "utilities/hashtable.hpp"
+
// Inline function definitions for hashtable.hpp.
@@ -124,3 +130,5 @@ inline void BasicHashtable::free_entry(BasicHashtableEntry* entry) {
_free_list = entry;
--_number_of_entries;
}
+
+#endif // SHARE_VM_UTILITIES_HASHTABLE_INLINE_HPP
diff --git a/src/share/vm/utilities/histogram.cpp b/src/share/vm/utilities/histogram.cpp
index a26452568..ede6817cd 100644
--- a/src/share/vm/utilities/histogram.cpp
+++ b/src/share/vm/utilities/histogram.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_histogram.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/oop.inline.hpp"
+#include "utilities/histogram.hpp"
#ifdef ASSERT
diff --git a/src/share/vm/utilities/histogram.hpp b/src/share/vm/utilities/histogram.hpp
index 9799ce4f9..9627a07fe 100644
--- a/src/share/vm/utilities/histogram.hpp
+++ b/src/share/vm/utilities/histogram.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,22 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_HISTOGRAM_HPP
+#define SHARE_VM_UTILITIES_HISTOGRAM_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/os.hpp"
+#include "utilities/growableArray.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "os_windows.inline.hpp"
+#endif
+
// This class provides a framework for collecting various statistics.
// The current implementation is oriented towards counting invocations
// of various types, but that can be easily changed.
@@ -89,3 +105,5 @@ class Histogram : public CHeapObj {
};
#endif
+
+#endif // SHARE_VM_UTILITIES_HISTOGRAM_HPP
diff --git a/src/share/vm/utilities/intHisto.cpp b/src/share/vm/utilities/intHisto.cpp
index 4fd9cdd2a..8476c294d 100644
--- a/src/share/vm/utilities/intHisto.cpp
+++ b/src/share/vm/utilities/intHisto.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_intHisto.cpp.incl"
+#include "precompiled.hpp"
+#include "utilities/intHisto.hpp"
IntHistogram::IntHistogram(int est, int max) : _max(max), _tot(0) {
assert(0 <= est && est <= max, "Preconditions");
diff --git a/src/share/vm/utilities/intHisto.hpp b/src/share/vm/utilities/intHisto.hpp
index 8739568ff..7c2f4ea2d 100644
--- a/src/share/vm/utilities/intHisto.hpp
+++ b/src/share/vm/utilities/intHisto.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_INTHISTO_HPP
+#define SHARE_VM_UTILITIES_INTHISTO_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/growableArray.hpp"
+
// This class implements a simple histogram.
// A histogram summarizes a series of "measurements", each of which is
@@ -68,3 +74,5 @@ public:
// Print the histogram on the given output stream.
void print_on(outputStream* st) const;
};
+
+#endif // SHARE_VM_UTILITIES_INTHISTO_HPP
diff --git a/src/share/vm/utilities/macros.hpp b/src/share/vm/utilities/macros.hpp
index 39528c9e6..f46da8efa 100644
--- a/src/share/vm/utilities/macros.hpp
+++ b/src/share/vm/utilities/macros.hpp
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_MACROS_HPP
+#define SHARE_VM_UTILITIES_MACROS_HPP
+
// Use this to mark code that needs to be cleaned up (for development only)
#define NEEDS_CLEANUP
@@ -234,3 +237,5 @@
#endif
#define define_pd_global(type, name, value) const type pd_##name = value;
+
+#endif // SHARE_VM_UTILITIES_MACROS_HPP
diff --git a/src/share/vm/utilities/numberSeq.cpp b/src/share/vm/utilities/numberSeq.cpp
index bf11d8968..87580167b 100644
--- a/src/share/vm/utilities/numberSeq.cpp
+++ b/src/share/vm/utilities/numberSeq.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_numberSeq.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.inline.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/numberSeq.hpp"
AbsSeq::AbsSeq(double alpha) :
_num(0), _sum(0.0), _sum_of_squares(0.0),
diff --git a/src/share/vm/utilities/numberSeq.hpp b/src/share/vm/utilities/numberSeq.hpp
index ad3318f77..fb45fa9e0 100644
--- a/src/share/vm/utilities/numberSeq.hpp
+++ b/src/share/vm/utilities/numberSeq.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2010, 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
@@ -22,6 +22,9 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_NUMBERSEQ_HPP
+#define SHARE_VM_UTILITIES_NUMBERSEQ_HPP
+
/**
** This file contains a few classes that represent number sequence,
** x1, x2, x3, ..., xN, and can calculate their avg, max, and sd.
@@ -125,3 +128,5 @@ public:
// Debugging/Printing
virtual void dump_on(outputStream* s);
};
+
+#endif // SHARE_VM_UTILITIES_NUMBERSEQ_HPP
diff --git a/src/share/vm/utilities/ostream.cpp b/src/share/vm/utilities/ostream.cpp
index f78b2c02d..450396ec3 100644
--- a/src/share/vm/utilities/ostream.cpp
+++ b/src/share/vm/utilities/ostream.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,27 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_ostream.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileLog.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/hpi.hpp"
+#include "utilities/defaultStream.hpp"
+#include "utilities/ostream.hpp"
+#include "utilities/top.hpp"
+#include "utilities/xmlstream.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "hpi_linux.hpp"
+# include "os_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "hpi_solaris.hpp"
+# include "os_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "hpi_windows.hpp"
+# include "os_windows.inline.hpp"
+#endif
extern "C" void jio_print(const char* s); // Declarationtion of jvm method
diff --git a/src/share/vm/utilities/ostream.hpp b/src/share/vm/utilities/ostream.hpp
index bde74221a..fd86a8da9 100644
--- a/src/share/vm/utilities/ostream.hpp
+++ b/src/share/vm/utilities/ostream.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_OSTREAM_HPP
+#define SHARE_VM_UTILITIES_OSTREAM_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/timer.hpp"
+
// Output streams for printing
//
// Printing guidelines:
@@ -245,3 +251,5 @@ class networkStream : public bufferedStream {
};
#endif
+
+#endif // SHARE_VM_UTILITIES_OSTREAM_HPP
diff --git a/src/share/vm/utilities/preserveException.cpp b/src/share/vm/utilities/preserveException.cpp
index e03cc0089..ea9ff309e 100644
--- a/src/share/vm/utilities/preserveException.cpp
+++ b/src/share/vm/utilities/preserveException.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,8 +22,9 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_preserveException.cpp.incl"
+#include "precompiled.hpp"
+#include "runtime/handles.inline.hpp"
+#include "utilities/preserveException.hpp"
// TODO: These three classes should be refactored
diff --git a/src/share/vm/utilities/preserveException.hpp b/src/share/vm/utilities/preserveException.hpp
index d64cd98e5..d0e25ae8b 100644
--- a/src/share/vm/utilities/preserveException.hpp
+++ b/src/share/vm/utilities/preserveException.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2010, 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
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_PRESERVEEXCEPTION_HPP
+#define SHARE_VM_UTILITIES_PRESERVEEXCEPTION_HPP
+
+#include "runtime/handles.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
// This file provides more support for exception handling; see also exceptions.hpp
class PreserveExceptionMark {
private:
@@ -83,3 +97,5 @@ private:
// use global exception mark when allowing pending exception to be set and
// saving and restoring them
#define PRESERVE_EXCEPTION_MARK Thread* THREAD; PreserveExceptionMark __em(THREAD);
+
+#endif // SHARE_VM_UTILITIES_PRESERVEEXCEPTION_HPP
diff --git a/src/share/vm/utilities/sizes.cpp b/src/share/vm/utilities/sizes.cpp
index 0fd2076a3..f8a539545 100644
--- a/src/share/vm/utilities/sizes.cpp
+++ b/src/share/vm/utilities/sizes.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,5 +22,6 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_sizes.cpp.incl"
+#include "precompiled.hpp"
+#include "utilities/sizes.hpp"
+
diff --git a/src/share/vm/utilities/sizes.hpp b/src/share/vm/utilities/sizes.hpp
index 0ddb2cb41..4520c532d 100644
--- a/src/share/vm/utilities/sizes.hpp
+++ b/src/share/vm/utilities/sizes.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_SIZES_HPP
+#define SHARE_VM_UTILITIES_SIZES_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/globalDefinitions.hpp"
+
// The following two classes are used to represent 'sizes' and 'offsets' in the VM;
// they serve as 'unit' types. ByteSize is used for sizes measured in bytes, while
// WordSize is used for sizes measured in machine words (i.e., 32bit or 64bit words
@@ -142,3 +148,5 @@ inline int in_words (WordSize x) { return x; }
// Use the following #define to get C++ field member offsets
#define byte_offset_of(klass,field) in_ByteSize((int)offset_of(klass, field))
+
+#endif // SHARE_VM_UTILITIES_SIZES_HPP
diff --git a/src/share/vm/utilities/stack.hpp b/src/share/vm/utilities/stack.hpp
index 0e095b5a7..eedaa7280 100644
--- a/src/share/vm/utilities/stack.hpp
+++ b/src/share/vm/utilities/stack.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
+ * Copyright (c) 2009, 2010, 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
@@ -16,12 +16,17 @@
* 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
- * CA 95054 USA or visit www.sun.com if you need additional information or
- * have any questions.
+ * 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_STACK_HPP
+#define SHARE_VM_UTILITIES_STACK_HPP
+
+#include "memory/allocation.inline.hpp"
+
// Class Stack (below) grows and shrinks by linking together "segments" which
// are allocated on demand. Segments are arrays of the element type (E) plus an
// extra pointer-sized field to store the segment link. Recently emptied
@@ -202,3 +207,5 @@ private:
#ifdef __GNUC__
#undef inline
#endif // __GNUC__
+
+#endif // SHARE_VM_UTILITIES_STACK_HPP
diff --git a/src/share/vm/utilities/stack.inline.hpp b/src/share/vm/utilities/stack.inline.hpp
index 9e2d8cb54..bb97fc9a2 100644
--- a/src/share/vm/utilities/stack.inline.hpp
+++ b/src/share/vm/utilities/stack.inline.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
+ * Copyright (c) 2009, 2010, 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
@@ -16,12 +16,17 @@
* 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
- * CA 95054 USA or visit www.sun.com if you need additional information or
- * have any questions.
+ * 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_STACK_INLINE_HPP
+#define SHARE_VM_UTILITIES_STACK_INLINE_HPP
+
+#include "utilities/stack.hpp"
+
StackBase::StackBase(size_t segment_size, size_t max_cache_size,
size_t max_size):
_seg_size(segment_size),
@@ -271,3 +276,5 @@ E* StackIterator<E>::next_addr()
}
return _cur_seg + --_cur_seg_size;
}
+
+#endif // SHARE_VM_UTILITIES_STACK_INLINE_HPP
diff --git a/src/share/vm/utilities/taskqueue.cpp b/src/share/vm/utilities/taskqueue.cpp
index 186022114..5f93dc0fe 100644
--- a/src/share/vm/utilities/taskqueue.cpp
+++ b/src/share/vm/utilities/taskqueue.cpp
@@ -22,8 +22,21 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_taskqueue.cpp.incl"
+#include "precompiled.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/os.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/stack.inline.hpp"
+#include "utilities/taskqueue.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
#ifdef TRACESPINNING
uint ParallelTaskTerminator::_total_yields = 0;
diff --git a/src/share/vm/utilities/taskqueue.hpp b/src/share/vm/utilities/taskqueue.hpp
index 61af8d7e4..8cfd83df3 100644
--- a/src/share/vm/utilities/taskqueue.hpp
+++ b/src/share/vm/utilities/taskqueue.hpp
@@ -22,6 +22,32 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_TASKQUEUE_HPP
+#define SHARE_VM_UTILITIES_TASKQUEUE_HPP
+
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "runtime/mutex.hpp"
+#include "utilities/stack.hpp"
+#ifdef TARGET_OS_ARCH_linux_x86
+# include "orderAccess_linux_x86.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_sparc
+# include "orderAccess_linux_sparc.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_zero
+# include "orderAccess_linux_zero.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_x86
+# include "orderAccess_solaris_x86.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_solaris_sparc
+# include "orderAccess_solaris_sparc.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_windows_x86
+# include "orderAccess_windows_x86.inline.hpp"
+#endif
+
// Simple TaskQueue stats that are collected by default in debug builds.
#if !defined(TASKQUEUE_STATS) && defined(ASSERT)
@@ -764,3 +790,5 @@ typedef GenericTaskQueueSet<OopStarTaskQueue> OopStarTaskQueueSet;
typedef OverflowTaskQueue<size_t> RegionTaskQueue;
typedef GenericTaskQueueSet<RegionTaskQueue> RegionTaskQueueSet;
+
+#endif // SHARE_VM_UTILITIES_TASKQUEUE_HPP
diff --git a/src/share/vm/utilities/top.hpp b/src/share/vm/utilities/top.hpp
index f4683063e..034148a50 100644
--- a/src/share/vm/utilities/top.hpp
+++ b/src/share/vm/utilities/top.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,5 +22,28 @@
*
*/
+#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"
+#ifndef SERIALGC
+#include "gc_implementation/g1/g1_globals.hpp"
+#endif
+#ifdef COMPILER1
+#include "c1/c1_globals.hpp"
+#endif
+#ifdef COMPILER2
+#include "opto/c2_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
diff --git a/src/share/vm/utilities/utf8.cpp b/src/share/vm/utilities/utf8.cpp
index 26b9b5fa5..7235aa5a3 100644
--- a/src/share/vm/utilities/utf8.cpp
+++ b/src/share/vm/utilities/utf8.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,8 +22,8 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_utf8.cpp.incl"
+#include "precompiled.hpp"
+#include "utilities/utf8.hpp"
// Assume the utf8 string is in legal form and has been
// checked in the class file parser/format checker.
diff --git a/src/share/vm/utilities/utf8.hpp b/src/share/vm/utilities/utf8.hpp
index 2427b066a..7e2158b16 100644
--- a/src/share/vm/utilities/utf8.hpp
+++ b/src/share/vm/utilities/utf8.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_UTF8_HPP
+#define SHARE_VM_UTILITIES_UTF8_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/top.hpp"
+
// Low-level interface for UTF8 strings
class UTF8 : AllStatic {
@@ -74,3 +80,5 @@ class UNICODE : AllStatic {
static char* as_utf8(jchar* base, int length);
static char* as_utf8(jchar* base, int length, char* buf, int buflen);
};
+
+#endif // SHARE_VM_UTILITIES_UTF8_HPP
diff --git a/src/share/vm/utilities/vmError.cpp b/src/share/vm/utilities/vmError.cpp
index 740213ce0..dea171fa9 100644
--- a/src/share/vm/utilities/vmError.cpp
+++ b/src/share/vm/utilities/vmError.cpp
@@ -22,8 +22,20 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_vmError.cpp.incl"
+#include "precompiled.hpp"
+#include "compiler/compileBroker.hpp"
+#include "gc_interface/collectedHeap.hpp"
+#include "runtime/arguments.hpp"
+#include "runtime/frame.inline.hpp"
+#include "runtime/init.hpp"
+#include "runtime/os.hpp"
+#include "runtime/thread.hpp"
+#include "runtime/vmThread.hpp"
+#include "runtime/vm_operations.hpp"
+#include "utilities/debug.hpp"
+#include "utilities/defaultStream.hpp"
+#include "utilities/top.hpp"
+#include "utilities/vmError.hpp"
// List of environment variables that should be reported in error log file.
const char *env_list[] = {
diff --git a/src/share/vm/utilities/vmError.hpp b/src/share/vm/utilities/vmError.hpp
index 4cca49299..3d80ce321 100644
--- a/src/share/vm/utilities/vmError.hpp
+++ b/src/share/vm/utilities/vmError.hpp
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_VMERROR_HPP
+#define SHARE_VM_UTILITIES_VMERROR_HPP
+
+#include "utilities/globalDefinitions.hpp"
+
class VM_ReportJavaOutOfMemory;
@@ -116,3 +121,5 @@ public:
// check to see if fatal error reporting is in progress
static bool fatal_error_in_progress() { return first_error != NULL; }
};
+
+#endif // SHARE_VM_UTILITIES_VMERROR_HPP
diff --git a/src/share/vm/utilities/workgroup.cpp b/src/share/vm/utilities/workgroup.cpp
index 6abab723f..45b2f28f6 100644
--- a/src/share/vm/utilities/workgroup.cpp
+++ b/src/share/vm/utilities/workgroup.cpp
@@ -22,8 +22,11 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_workgroup.cpp.incl"
+#include "precompiled.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "runtime/os.hpp"
+#include "utilities/workgroup.hpp"
// Definitions of WorkGang methods.
diff --git a/src/share/vm/utilities/workgroup.hpp b/src/share/vm/utilities/workgroup.hpp
index 089f66824..9737bf931 100644
--- a/src/share/vm/utilities/workgroup.hpp
+++ b/src/share/vm/utilities/workgroup.hpp
@@ -22,6 +22,20 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_WORKGROUP_HPP
+#define SHARE_VM_UTILITIES_WORKGROUP_HPP
+
+#include "utilities/taskqueue.hpp"
+#ifdef TARGET_OS_FAMILY_linux
+# include "thread_linux.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_solaris
+# include "thread_solaris.inline.hpp"
+#endif
+#ifdef TARGET_OS_FAMILY_windows
+# include "thread_windows.inline.hpp"
+#endif
+
// Forward declarations of classes defined here
class WorkGang;
@@ -458,3 +472,5 @@ public:
void release_par_id(int id);
};
+
+#endif // SHARE_VM_UTILITIES_WORKGROUP_HPP
diff --git a/src/share/vm/utilities/xmlstream.cpp b/src/share/vm/utilities/xmlstream.cpp
index 126ae0834..10db73c11 100644
--- a/src/share/vm/utilities/xmlstream.cpp
+++ b/src/share/vm/utilities/xmlstream.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,8 +22,16 @@
*
*/
-#include "incls/_precompiled.incl"
-#include "incls/_xmlstream.cpp.incl"
+#include "precompiled.hpp"
+#include "code/nmethod.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "oops/methodDataOop.hpp"
+#include "oops/methodOop.hpp"
+#include "oops/oop.inline.hpp"
+#include "runtime/deoptimization.hpp"
+#include "runtime/vmThread.hpp"
+#include "utilities/xmlstream.hpp"
void xmlStream::initialize(outputStream* out) {
_out = out;
diff --git a/src/share/vm/utilities/xmlstream.hpp b/src/share/vm/utilities/xmlstream.hpp
index afc9757e9..a4450b9ab 100644
--- a/src/share/vm/utilities/xmlstream.hpp
+++ b/src/share/vm/utilities/xmlstream.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2010, 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
@@ -22,6 +22,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_XMLSTREAM_HPP
+#define SHARE_VM_UTILITIES_XMLSTREAM_HPP
+
+#include "runtime/handles.hpp"
+#include "utilities/ostream.hpp"
+
class xmlStream;
class defaultStream;
@@ -175,3 +181,5 @@ class xmlStream : public outputStream {
extern xmlStream* xtty;
// Note: If ::xtty != NULL, ::tty == ::xtty->text().
+
+#endif // SHARE_VM_UTILITIES_XMLSTREAM_HPP
diff --git a/src/share/vm/utilities/yieldingWorkgroup.cpp b/src/share/vm/utilities/yieldingWorkgroup.cpp
index 7b323ac57..a4d3c2fea 100644
--- a/src/share/vm/utilities/yieldingWorkgroup.cpp
+++ b/src/share/vm/utilities/yieldingWorkgroup.cpp
@@ -22,8 +22,10 @@
*
*/
-# include "incls/_precompiled.incl"
-# include "incls/_yieldingWorkgroup.cpp.incl"
+#include "precompiled.hpp"
+#ifndef SERIALGC
+#include "utilities/yieldingWorkgroup.hpp"
+#endif
// Forward declaration of classes declared here.
diff --git a/src/share/vm/utilities/yieldingWorkgroup.hpp b/src/share/vm/utilities/yieldingWorkgroup.hpp
index a1d396f2a..a3171c8ca 100644
--- a/src/share/vm/utilities/yieldingWorkgroup.hpp
+++ b/src/share/vm/utilities/yieldingWorkgroup.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_YIELDINGWORKGROUP_HPP
+#define SHARE_VM_UTILITIES_YIELDINGWORKGROUP_HPP
+
+#ifndef SERIALGC
+#include "utilities/workgroup.hpp"
+#endif
+
// Forward declarations
class YieldingFlexibleWorkGang;
@@ -211,3 +218,5 @@ private:
friend class YieldingFlexibleGangWorker;
void reset(); // NYI
};
+
+#endif // SHARE_VM_UTILITIES_YIELDINGWORKGROUP_HPP