mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8139986: Store debug level in java.vm.debug and conditionally print in "java -version"
Reviewed-by: ihse, dcubed, ksrini, dholmes
This commit is contained in:
parent
8fe1b0faab
commit
c573c1777e
12 changed files with 20 additions and 4 deletions
|
@ -197,6 +197,7 @@ void Arguments::init_system_properties() {
|
|||
PropertyList_add(&_system_properties, new SystemProperty("java.vm.version", VM_Version::vm_release(), false));
|
||||
PropertyList_add(&_system_properties, new SystemProperty("java.vm.name", VM_Version::vm_name(), false));
|
||||
PropertyList_add(&_system_properties, new SystemProperty("java.vm.info", VM_Version::vm_info_string(), true));
|
||||
PropertyList_add(&_system_properties, new SystemProperty("jdk.debug", VM_Version::jdk_debug_level(), false));
|
||||
|
||||
// Following are JVMTI agent writable properties.
|
||||
// Properties values are set to NULL and they are
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue