# HG changeset patch # User lucy # Date 1573136474 -3600 # Node ID afbbd77330928cd0ce9b3ff25e8127ff78185042 # Parent 6c6cce0f149da61dc85f2e92e231a6bddef9c877 8233787: Break cycle in vm_version* includes Reviewed-by: diff --git a/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp b/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp --- a/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp +++ b/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp @@ -31,7 +31,7 @@ #include "runtime/os.hpp" #include "runtime/stubCodeGenerator.hpp" #include "utilities/macros.hpp" -#include "vm_version_aarch64.hpp" +#include "runtime/vm_version.hpp" #include OS_HEADER_INLINE(os) diff --git a/src/hotspot/cpu/aarch64/vm_version_aarch64.hpp b/src/hotspot/cpu/aarch64/vm_version_aarch64.hpp --- a/src/hotspot/cpu/aarch64/vm_version_aarch64.hpp +++ b/src/hotspot/cpu/aarch64/vm_version_aarch64.hpp @@ -27,7 +27,6 @@ #define CPU_AARCH64_VM_VERSION_AARCH64_HPP #include "runtime/globals_extension.hpp" -#include "runtime/vm_version.hpp" #include "utilities/sizes.hpp" class VM_Version : public Abstract_VM_Version { diff --git a/src/hotspot/cpu/aarch64/vm_version_ext_aarch64.hpp b/src/hotspot/cpu/aarch64/vm_version_ext_aarch64.hpp --- a/src/hotspot/cpu/aarch64/vm_version_ext_aarch64.hpp +++ b/src/hotspot/cpu/aarch64/vm_version_ext_aarch64.hpp @@ -26,7 +26,7 @@ #define CPU_AARCH64_VM_VERSION_EXT_AARCH64_HPP #include "utilities/macros.hpp" -#include "vm_version_aarch64.hpp" +#include "runtime/vm_version.hpp" class VM_Version_Ext : public VM_Version { private: diff --git a/src/hotspot/cpu/arm/register_arm.hpp b/src/hotspot/cpu/arm/register_arm.hpp --- a/src/hotspot/cpu/arm/register_arm.hpp +++ b/src/hotspot/cpu/arm/register_arm.hpp @@ -26,7 +26,7 @@ #define CPU_ARM_REGISTER_ARM_HPP #include "asm/register.hpp" -#include "vm_version_arm.hpp" +#include "runtime/vm_version.hpp" class VMRegImpl; typedef VMRegImpl* VMReg; diff --git a/src/hotspot/cpu/arm/vm_version_arm_32.cpp b/src/hotspot/cpu/arm/vm_version_arm_32.cpp --- a/src/hotspot/cpu/arm/vm_version_arm_32.cpp +++ b/src/hotspot/cpu/arm/vm_version_arm_32.cpp @@ -29,7 +29,7 @@ #include "runtime/java.hpp" #include "runtime/os.inline.hpp" #include "runtime/stubCodeGenerator.hpp" -#include "vm_version_arm.hpp" +#include "runtime/vm_version.hpp" int VM_Version::_stored_pc_adjustment = 4; int VM_Version::_arm_arch = 5; diff --git a/src/hotspot/cpu/arm/vm_version_ext_arm.hpp b/src/hotspot/cpu/arm/vm_version_ext_arm.hpp --- a/src/hotspot/cpu/arm/vm_version_ext_arm.hpp +++ b/src/hotspot/cpu/arm/vm_version_ext_arm.hpp @@ -26,7 +26,7 @@ #define CPU_ARM_VM_VERSION_EXT_ARM_HPP #include "utilities/macros.hpp" -#include "vm_version_arm.hpp" +#include "runtime/vm_version.hpp" class VM_Version_Ext : public VM_Version { private: diff --git a/src/hotspot/cpu/ppc/vm_version_ext_ppc.cpp b/src/hotspot/cpu/ppc/vm_version_ext_ppc.cpp --- a/src/hotspot/cpu/ppc/vm_version_ext_ppc.cpp +++ b/src/hotspot/cpu/ppc/vm_version_ext_ppc.cpp @@ -25,7 +25,6 @@ #include "jvm.h" #include "memory/allocation.hpp" #include "memory/allocation.inline.hpp" -#include "runtime/vm_version.hpp" #include "vm_version_ext_ppc.hpp" // VM_Version_Ext statics diff --git a/src/hotspot/cpu/ppc/vm_version_ext_ppc.hpp b/src/hotspot/cpu/ppc/vm_version_ext_ppc.hpp --- a/src/hotspot/cpu/ppc/vm_version_ext_ppc.hpp +++ b/src/hotspot/cpu/ppc/vm_version_ext_ppc.hpp @@ -26,7 +26,7 @@ #define CPU_PPC_VM_VERSION_EXT_PPC_HPP #include "utilities/macros.hpp" -#include "vm_version_ppc.hpp" +#include "runtime/vm_version.hpp" #define CPU_INFO "cpu_info" #define CPU_TYPE "fpu_type" diff --git a/src/hotspot/cpu/ppc/vm_version_ppc.cpp b/src/hotspot/cpu/ppc/vm_version_ppc.cpp --- a/src/hotspot/cpu/ppc/vm_version_ppc.cpp +++ b/src/hotspot/cpu/ppc/vm_version_ppc.cpp @@ -32,10 +32,10 @@ #include "runtime/java.hpp" #include "runtime/os.hpp" #include "runtime/stubCodeGenerator.hpp" +#include "runtime/vm_version.hpp" #include "utilities/align.hpp" #include "utilities/defaultStream.hpp" #include "utilities/globalDefinitions.hpp" -#include "vm_version_ppc.hpp" #include #if defined(_AIX) diff --git a/src/hotspot/cpu/ppc/vm_version_ppc.hpp b/src/hotspot/cpu/ppc/vm_version_ppc.hpp --- a/src/hotspot/cpu/ppc/vm_version_ppc.hpp +++ b/src/hotspot/cpu/ppc/vm_version_ppc.hpp @@ -27,7 +27,6 @@ #define CPU_PPC_VM_VERSION_PPC_HPP #include "runtime/globals_extension.hpp" -#include "runtime/vm_version.hpp" class VM_Version: public Abstract_VM_Version { protected: diff --git a/src/hotspot/cpu/s390/globalDefinitions_s390.hpp b/src/hotspot/cpu/s390/globalDefinitions_s390.hpp --- a/src/hotspot/cpu/s390/globalDefinitions_s390.hpp +++ b/src/hotspot/cpu/s390/globalDefinitions_s390.hpp @@ -50,7 +50,6 @@ const bool CCallingConventionRequiresIntsAsLongs = true; // Contended Locking reorder and cache line bucket. -// This setting should be kept compatible with vm_version_s390.cpp. // The expected size in bytes of a cache line, used to pad data structures. #define DEFAULT_CACHE_LINE_SIZE 256 diff --git a/src/hotspot/cpu/s390/register_s390.hpp b/src/hotspot/cpu/s390/register_s390.hpp --- a/src/hotspot/cpu/s390/register_s390.hpp +++ b/src/hotspot/cpu/s390/register_s390.hpp @@ -27,7 +27,7 @@ #define CPU_S390_REGISTER_S390_HPP #include "asm/register.hpp" -#include "vm_version_s390.hpp" +#include "runtime/vm_version.hpp" class Address; class VMRegImpl; diff --git a/src/hotspot/cpu/s390/vm_version_ext_s390.hpp b/src/hotspot/cpu/s390/vm_version_ext_s390.hpp --- a/src/hotspot/cpu/s390/vm_version_ext_s390.hpp +++ b/src/hotspot/cpu/s390/vm_version_ext_s390.hpp @@ -26,7 +26,7 @@ #define CPU_S390_VM_VERSION_EXT_S390_HPP #include "utilities/macros.hpp" -#include "vm_version_s390.hpp" +#include "runtime/vm_version.hpp" #define CPU_INFO "cpu_info" #define CPU_TYPE "fpu_type" diff --git a/src/hotspot/cpu/s390/vm_version_s390.cpp b/src/hotspot/cpu/s390/vm_version_s390.cpp --- a/src/hotspot/cpu/s390/vm_version_s390.cpp +++ b/src/hotspot/cpu/s390/vm_version_s390.cpp @@ -31,7 +31,7 @@ #include "memory/resourceArea.hpp" #include "runtime/java.hpp" #include "runtime/stubCodeGenerator.hpp" -#include "vm_version_s390.hpp" +#include "runtime/vm_version.hpp" # include @@ -44,8 +44,8 @@ unsigned int VM_Version::_nfeatures = 0; unsigned int VM_Version::_ncipher_features = 0; unsigned int VM_Version::_nmsgdigest_features = 0; -unsigned int VM_Version::_Dcache_lineSize = 256; -unsigned int VM_Version::_Icache_lineSize = 256; +unsigned int VM_Version::_Dcache_lineSize = DEFAULT_CACHE_LINE_SIZE; +unsigned int VM_Version::_Icache_lineSize = DEFAULT_CACHE_LINE_SIZE; static const char* z_gen[] = {" ", "G1", "G2", "G3", "G4", "G5", "G6", "G7" }; static const char* z_machine[] = {" ", "2064", "2084", "2094", "2097", "2817", " ", "2964" }; diff --git a/src/hotspot/cpu/s390/vm_version_s390.hpp b/src/hotspot/cpu/s390/vm_version_s390.hpp --- a/src/hotspot/cpu/s390/vm_version_s390.hpp +++ b/src/hotspot/cpu/s390/vm_version_s390.hpp @@ -28,7 +28,6 @@ #include "runtime/globals_extension.hpp" -#include "runtime/vm_version.hpp" class VM_Version: public Abstract_VM_Version { diff --git a/src/hotspot/cpu/sparc/vm_version_ext_sparc.hpp b/src/hotspot/cpu/sparc/vm_version_ext_sparc.hpp --- a/src/hotspot/cpu/sparc/vm_version_ext_sparc.hpp +++ b/src/hotspot/cpu/sparc/vm_version_ext_sparc.hpp @@ -26,7 +26,7 @@ #define CPU_SPARC_VM_VERSION_EXT_SPARC_HPP #include "utilities/macros.hpp" -#include "vm_version_sparc.hpp" +#include "runtime/vm_version.hpp" #if defined(SOLARIS) #include diff --git a/src/hotspot/cpu/sparc/vm_version_sparc.cpp b/src/hotspot/cpu/sparc/vm_version_sparc.cpp --- a/src/hotspot/cpu/sparc/vm_version_sparc.cpp +++ b/src/hotspot/cpu/sparc/vm_version_sparc.cpp @@ -32,7 +32,7 @@ #include "runtime/java.hpp" #include "runtime/os.hpp" #include "runtime/stubCodeGenerator.hpp" -#include "vm_version_sparc.hpp" +#include "runtime/vm_version.hpp" #include diff --git a/src/hotspot/cpu/sparc/vm_version_sparc.hpp b/src/hotspot/cpu/sparc/vm_version_sparc.hpp --- a/src/hotspot/cpu/sparc/vm_version_sparc.hpp +++ b/src/hotspot/cpu/sparc/vm_version_sparc.hpp @@ -26,7 +26,6 @@ #define CPU_SPARC_VM_VERSION_SPARC_HPP #include "runtime/globals_extension.hpp" -#include "runtime/vm_version.hpp" class VM_Version: public Abstract_VM_Version { friend class VMStructs; diff --git a/src/hotspot/cpu/x86/assembler_x86.hpp b/src/hotspot/cpu/x86/assembler_x86.hpp --- a/src/hotspot/cpu/x86/assembler_x86.hpp +++ b/src/hotspot/cpu/x86/assembler_x86.hpp @@ -26,7 +26,7 @@ #define CPU_X86_ASSEMBLER_X86_HPP #include "asm/register.hpp" -#include "vm_version_x86.hpp" +#include "runtime/vm_version.hpp" class BiasedLockingCounters; diff --git a/src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp b/src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp --- a/src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp +++ b/src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp @@ -46,7 +46,7 @@ #ifdef COMPILER2 #include "opto/runtime.hpp" #endif -#include "vm_version_x86.hpp" +#include "runtime/vm_version.hpp" #define __ masm-> diff --git a/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp b/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp --- a/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp +++ b/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp @@ -45,9 +45,9 @@ #include "runtime/safepointMechanism.hpp" #include "runtime/sharedRuntime.hpp" #include "runtime/vframeArray.hpp" +#include "runtime/vm_version.hpp" #include "utilities/align.hpp" #include "utilities/formatBuffer.hpp" -#include "vm_version_x86.hpp" #include "vmreg_x86.inline.hpp" #ifdef COMPILER1 #include "c1/c1_Runtime1.hpp" diff --git a/src/hotspot/cpu/x86/vm_version_ext_x86.hpp b/src/hotspot/cpu/x86/vm_version_ext_x86.hpp --- a/src/hotspot/cpu/x86/vm_version_ext_x86.hpp +++ b/src/hotspot/cpu/x86/vm_version_ext_x86.hpp @@ -26,7 +26,7 @@ #define CPU_X86_VM_VERSION_EXT_X86_HPP #include "utilities/macros.hpp" -#include "vm_version_x86.hpp" +#include "runtime/vm_version.hpp" class VM_Version_Ext : public VM_Version { diff --git a/src/hotspot/cpu/x86/vm_version_x86.cpp b/src/hotspot/cpu/x86/vm_version_x86.cpp --- a/src/hotspot/cpu/x86/vm_version_x86.cpp +++ b/src/hotspot/cpu/x86/vm_version_x86.cpp @@ -33,7 +33,7 @@ #include "runtime/os.hpp" #include "runtime/stubCodeGenerator.hpp" #include "utilities/virtualizationSupport.hpp" -#include "vm_version_x86.hpp" +#include "runtime/vm_version.hpp" #include OS_HEADER_INLINE(os) diff --git a/src/hotspot/cpu/x86/vm_version_x86.hpp b/src/hotspot/cpu/x86/vm_version_x86.hpp --- a/src/hotspot/cpu/x86/vm_version_x86.hpp +++ b/src/hotspot/cpu/x86/vm_version_x86.hpp @@ -27,7 +27,6 @@ #include "memory/universe.hpp" #include "runtime/globals_extension.hpp" -#include "runtime/vm_version.hpp" class VM_Version : public Abstract_VM_Version { friend class VMStructs; diff --git a/src/hotspot/cpu/zero/register_zero.hpp b/src/hotspot/cpu/zero/register_zero.hpp --- a/src/hotspot/cpu/zero/register_zero.hpp +++ b/src/hotspot/cpu/zero/register_zero.hpp @@ -27,7 +27,7 @@ #define CPU_ZERO_REGISTER_ZERO_HPP #include "asm/register.hpp" -#include "vm_version_zero.hpp" +#include "runtime/vm_version.hpp" class VMRegImpl; typedef VMRegImpl* VMReg; diff --git a/src/hotspot/cpu/zero/vm_version_ext_zero.hpp b/src/hotspot/cpu/zero/vm_version_ext_zero.hpp --- a/src/hotspot/cpu/zero/vm_version_ext_zero.hpp +++ b/src/hotspot/cpu/zero/vm_version_ext_zero.hpp @@ -26,7 +26,7 @@ #define CPU_ZERO_VM_VERSION_EXT_ZERO_HPP #include "utilities/macros.hpp" -#include "vm_version_zero.hpp" +#include "runtime/vm_version.hpp" class VM_Version_Ext : public VM_Version { private: diff --git a/src/hotspot/cpu/zero/vm_version_zero.cpp b/src/hotspot/cpu/zero/vm_version_zero.cpp --- a/src/hotspot/cpu/zero/vm_version_zero.cpp +++ b/src/hotspot/cpu/zero/vm_version_zero.cpp @@ -28,7 +28,7 @@ #include "memory/resourceArea.hpp" #include "runtime/java.hpp" #include "runtime/stubCodeGenerator.hpp" -#include "vm_version_zero.hpp" +#include "runtime/vm_version.hpp" void VM_Version::initialize() { diff --git a/src/hotspot/cpu/zero/vm_version_zero.hpp b/src/hotspot/cpu/zero/vm_version_zero.hpp --- a/src/hotspot/cpu/zero/vm_version_zero.hpp +++ b/src/hotspot/cpu/zero/vm_version_zero.hpp @@ -27,7 +27,6 @@ #define CPU_ZERO_VM_VERSION_ZERO_HPP #include "runtime/globals_extension.hpp" -#include "runtime/vm_version.hpp" class VM_Version : public Abstract_VM_Version { public: diff --git a/src/hotspot/os/bsd/os_perf_bsd.cpp b/src/hotspot/os/bsd/os_perf_bsd.cpp --- a/src/hotspot/os/bsd/os_perf_bsd.cpp +++ b/src/hotspot/os/bsd/os_perf_bsd.cpp @@ -26,7 +26,7 @@ #include "memory/resourceArea.hpp" #include "runtime/os.hpp" #include "runtime/os_perf.hpp" -#include "vm_version_ext_x86.hpp" +#include CPU_HEADER(vm_version_ext) #ifdef __APPLE__ #import diff --git a/src/hotspot/os/windows/os_perf_windows.cpp b/src/hotspot/os/windows/os_perf_windows.cpp --- a/src/hotspot/os/windows/os_perf_windows.cpp +++ b/src/hotspot/os/windows/os_perf_windows.cpp @@ -31,7 +31,7 @@ #include "runtime/os_perf.hpp" #include "runtime/os.hpp" #include "utilities/macros.hpp" -#include "vm_version_ext_x86.hpp" +#include CPU_HEADER(vm_version_ext) #include #include #include diff --git a/src/hotspot/os_cpu/bsd_x86/vm_version_bsd_x86.cpp b/src/hotspot/os_cpu/bsd_x86/vm_version_bsd_x86.cpp --- a/src/hotspot/os_cpu/bsd_x86/vm_version_bsd_x86.cpp +++ b/src/hotspot/os_cpu/bsd_x86/vm_version_bsd_x86.cpp @@ -24,4 +24,4 @@ #include "precompiled.hpp" #include "runtime/os.hpp" -#include "vm_version_x86.hpp" +#include "runtime/vm_version.hpp" diff --git a/src/hotspot/os_cpu/bsd_zero/vm_version_bsd_zero.cpp b/src/hotspot/os_cpu/bsd_zero/vm_version_bsd_zero.cpp --- a/src/hotspot/os_cpu/bsd_zero/vm_version_bsd_zero.cpp +++ b/src/hotspot/os_cpu/bsd_zero/vm_version_bsd_zero.cpp @@ -25,6 +25,6 @@ #include "precompiled.hpp" #include "runtime/os.hpp" -#include "vm_version_zero.hpp" +#include "runtime/vm_version.hpp" // This file is intentionally empty diff --git a/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp b/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp --- a/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp +++ b/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp @@ -26,7 +26,7 @@ #ifndef OS_CPU_LINUX_AARCH64_ATOMIC_LINUX_AARCH64_HPP #define OS_CPU_LINUX_AARCH64_ATOMIC_LINUX_AARCH64_HPP -#include "vm_version_aarch64.hpp" +#include "runtime/vm_version.hpp" // Implementation of class atomic diff --git a/src/hotspot/os_cpu/linux_aarch64/orderAccess_linux_aarch64.hpp b/src/hotspot/os_cpu/linux_aarch64/orderAccess_linux_aarch64.hpp --- a/src/hotspot/os_cpu/linux_aarch64/orderAccess_linux_aarch64.hpp +++ b/src/hotspot/os_cpu/linux_aarch64/orderAccess_linux_aarch64.hpp @@ -28,7 +28,7 @@ // Included in orderAccess.hpp header file. -#include "vm_version_aarch64.hpp" +#include "runtime/vm_version.hpp" // Implementation of class OrderAccess. diff --git a/src/hotspot/os_cpu/linux_aarch64/vm_version_linux_aarch64.cpp b/src/hotspot/os_cpu/linux_aarch64/vm_version_linux_aarch64.cpp --- a/src/hotspot/os_cpu/linux_aarch64/vm_version_linux_aarch64.cpp +++ b/src/hotspot/os_cpu/linux_aarch64/vm_version_linux_aarch64.cpp @@ -25,5 +25,5 @@ #include "precompiled.hpp" #include "runtime/os.hpp" -#include "vm_version_aarch64.hpp" +#include "runtime/vm_version.hpp" diff --git a/src/hotspot/os_cpu/linux_arm/atomic_linux_arm.hpp b/src/hotspot/os_cpu/linux_arm/atomic_linux_arm.hpp --- a/src/hotspot/os_cpu/linux_arm/atomic_linux_arm.hpp +++ b/src/hotspot/os_cpu/linux_arm/atomic_linux_arm.hpp @@ -26,7 +26,7 @@ #define OS_CPU_LINUX_ARM_ATOMIC_LINUX_ARM_HPP #include "runtime/os.hpp" -#include "vm_version_arm.hpp" +#include "runtime/vm_version.hpp" // Implementation of class atomic diff --git a/src/hotspot/os_cpu/linux_arm/orderAccess_linux_arm.hpp b/src/hotspot/os_cpu/linux_arm/orderAccess_linux_arm.hpp --- a/src/hotspot/os_cpu/linux_arm/orderAccess_linux_arm.hpp +++ b/src/hotspot/os_cpu/linux_arm/orderAccess_linux_arm.hpp @@ -28,7 +28,7 @@ // Included in orderAccess.hpp header file. #include "runtime/os.hpp" -#include "vm_version_arm.hpp" +#include "runtime/vm_version.hpp" // Implementation of class OrderAccess. // - we define the high level barriers below and use the general diff --git a/src/hotspot/os_cpu/linux_arm/vm_version_linux_arm_32.cpp b/src/hotspot/os_cpu/linux_arm/vm_version_linux_arm_32.cpp --- a/src/hotspot/os_cpu/linux_arm/vm_version_linux_arm_32.cpp +++ b/src/hotspot/os_cpu/linux_arm/vm_version_linux_arm_32.cpp @@ -24,7 +24,7 @@ #include "precompiled.hpp" #include "runtime/os.hpp" -#include "vm_version_arm.hpp" +#include "runtime/vm_version.hpp" # include diff --git a/src/hotspot/os_cpu/linux_s390/atomic_linux_s390.hpp b/src/hotspot/os_cpu/linux_s390/atomic_linux_s390.hpp --- a/src/hotspot/os_cpu/linux_s390/atomic_linux_s390.hpp +++ b/src/hotspot/os_cpu/linux_s390/atomic_linux_s390.hpp @@ -28,7 +28,7 @@ #include "runtime/atomic.hpp" #include "runtime/os.hpp" -#include "vm_version_s390.hpp" +#include "runtime/vm_version.hpp" // Note that the compare-and-swap instructions on System z perform // a serialization function before the storage operand is fetched diff --git a/src/hotspot/os_cpu/linux_s390/orderAccess_linux_s390.hpp b/src/hotspot/os_cpu/linux_s390/orderAccess_linux_s390.hpp --- a/src/hotspot/os_cpu/linux_s390/orderAccess_linux_s390.hpp +++ b/src/hotspot/os_cpu/linux_s390/orderAccess_linux_s390.hpp @@ -28,7 +28,7 @@ // Included in orderAccess.hpp header file. -#include "vm_version_s390.hpp" +#include "runtime/vm_version.hpp" // Implementation of class OrderAccess. diff --git a/src/hotspot/os_cpu/linux_sparc/vm_version_linux_sparc.cpp b/src/hotspot/os_cpu/linux_sparc/vm_version_linux_sparc.cpp --- a/src/hotspot/os_cpu/linux_sparc/vm_version_linux_sparc.cpp +++ b/src/hotspot/os_cpu/linux_sparc/vm_version_linux_sparc.cpp @@ -25,7 +25,7 @@ #include "logging/log.hpp" #include "precompiled.hpp" #include "runtime/os.hpp" -#include "vm_version_sparc.hpp" +#include "runtime/vm_version.hpp" #define CPUINFO_LINE_SIZE 1024 diff --git a/src/hotspot/os_cpu/linux_x86/vm_version_linux_x86.cpp b/src/hotspot/os_cpu/linux_x86/vm_version_linux_x86.cpp --- a/src/hotspot/os_cpu/linux_x86/vm_version_linux_x86.cpp +++ b/src/hotspot/os_cpu/linux_x86/vm_version_linux_x86.cpp @@ -24,5 +24,4 @@ #include "precompiled.hpp" #include "runtime/os.hpp" -#include "vm_version_x86.hpp" - +#include "runtime/vm_version.hpp" diff --git a/src/hotspot/os_cpu/linux_zero/vm_version_linux_zero.cpp b/src/hotspot/os_cpu/linux_zero/vm_version_linux_zero.cpp --- a/src/hotspot/os_cpu/linux_zero/vm_version_linux_zero.cpp +++ b/src/hotspot/os_cpu/linux_zero/vm_version_linux_zero.cpp @@ -25,6 +25,6 @@ #include "precompiled.hpp" #include "runtime/os.hpp" -#include "vm_version_zero.hpp" +#include "runtime/vm_version.hpp" // This file is intentionally empty diff --git a/src/hotspot/os_cpu/solaris_sparc/vm_version_solaris_sparc.cpp b/src/hotspot/os_cpu/solaris_sparc/vm_version_solaris_sparc.cpp --- a/src/hotspot/os_cpu/solaris_sparc/vm_version_solaris_sparc.cpp +++ b/src/hotspot/os_cpu/solaris_sparc/vm_version_solaris_sparc.cpp @@ -27,7 +27,7 @@ #include "memory/allocation.hpp" #include "memory/allocation.inline.hpp" #include "runtime/os.hpp" -#include "vm_version_sparc.hpp" +#include "runtime/vm_version.hpp" #include #include diff --git a/src/hotspot/os_cpu/solaris_x86/vm_version_solaris_x86.cpp b/src/hotspot/os_cpu/solaris_x86/vm_version_solaris_x86.cpp --- a/src/hotspot/os_cpu/solaris_x86/vm_version_solaris_x86.cpp +++ b/src/hotspot/os_cpu/solaris_x86/vm_version_solaris_x86.cpp @@ -24,5 +24,5 @@ #include "precompiled.hpp" #include "runtime/os.hpp" -#include "vm_version_x86.hpp" +#include "runtime/vm_version.hpp" diff --git a/src/hotspot/os_cpu/windows_x86/vm_version_windows_x86.cpp b/src/hotspot/os_cpu/windows_x86/vm_version_windows_x86.cpp --- a/src/hotspot/os_cpu/windows_x86/vm_version_windows_x86.cpp +++ b/src/hotspot/os_cpu/windows_x86/vm_version_windows_x86.cpp @@ -24,5 +24,5 @@ #include "precompiled.hpp" #include "runtime/os.hpp" -#include "vm_version_x86.hpp" +#include "runtime/vm_version.hpp"