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:
Alejandro Murillo 2015-11-04 11:00:29 -08:00
parent 8fe1b0faab
commit c573c1777e
12 changed files with 20 additions and 4 deletions

View file

@ -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