mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
8030011: Update Hotspot version string output
Reviewed-by: dholmes, jcoomes, kvn
This commit is contained in:
parent
9efb17f38f
commit
a162ea836e
18 changed files with 111 additions and 107 deletions
|
@ -44,6 +44,7 @@ class Abstract_VM_Version: AllStatic {
|
|||
static unsigned int _logical_processors_per_package;
|
||||
static int _vm_major_version;
|
||||
static int _vm_minor_version;
|
||||
static int _vm_micro_version;
|
||||
static int _vm_build_number;
|
||||
static bool _initialized;
|
||||
static int _parallel_worker_threads;
|
||||
|
@ -68,6 +69,7 @@ class Abstract_VM_Version: AllStatic {
|
|||
|
||||
static int vm_major_version() { assert(_initialized, "not initialized"); return _vm_major_version; }
|
||||
static int vm_minor_version() { assert(_initialized, "not initialized"); return _vm_minor_version; }
|
||||
static int vm_micro_version() { assert(_initialized, "not initialized"); return _vm_micro_version; }
|
||||
static int vm_build_number() { assert(_initialized, "not initialized"); return _vm_build_number; }
|
||||
|
||||
// Gets the jvm_version_info.jvm_version defined in jvm.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue