comparison src/share/vm/runtime/vm_version.hpp @ 4890:c77d473e71f7

7132779: build-infra merge: Enable ccache to work for most developer builds. Summary: When a build number is not specified, the JRE_RELEASE_VERSION define contains a date and timestamp. Thus ccache cannot cache the object files for longer than a minute since the define is passed to the compilation of all source files. This change passes JRE_RELEASE_VERSION only to vm_version.cpp and adds a function jre_release_version() to Abstract_VM_Version. This allows all other source files to be ccached. Reviewed-by: ohair, rottenha Contributed-by: fredrik.ohrstrom@oracle.com
author ohrstrom
date Tue, 31 Jan 2012 13:12:39 +0100
parents 1af104d6cf99
children 7eca5de9e0b6
comparison
equal deleted inserted replaced
4889:869be5c8882e 4890:c77d473e71f7
69 // Gets the jvm_version_info.jvm_version defined in jvm.h 69 // Gets the jvm_version_info.jvm_version defined in jvm.h
70 static unsigned int jvm_version(); 70 static unsigned int jvm_version();
71 71
72 // Internal version providing additional build information 72 // Internal version providing additional build information
73 static const char* internal_vm_info_string(); 73 static const char* internal_vm_info_string();
74 static const char* jre_release_version();
74 75
75 // does HW support an 8-byte compare-exchange operation? 76 // does HW support an 8-byte compare-exchange operation?
76 static bool supports_cx8() {return _supports_cx8;} 77 static bool supports_cx8() {return _supports_cx8;}
77 static unsigned int logical_processors_per_package() { 78 static unsigned int logical_processors_per_package() {
78 return _logical_processors_per_package; 79 return _logical_processors_per_package;