--- a/src/hotspot/share/runtime/arguments.cpp Tue Sep 24 08:54:39 2019 +0200
+++ b/src/hotspot/share/runtime/arguments.cpp Fri Sep 20 10:28:48 2019 +0200
@@ -82,7 +82,6 @@
bool Arguments::_xdebug_mode = false;
const char* Arguments::_java_vendor_url_bug = DEFAULT_VENDOR_URL_BUG;
const char* Arguments::_sun_java_launcher = DEFAULT_JAVA_LAUNCHER;
-int Arguments::_sun_java_launcher_pid = -1;
bool Arguments::_sun_java_launcher_is_altjvm = false;
// These parameters are reset in method parse_vm_init_args()
@@ -361,8 +360,7 @@
// Process java launcher properties.
void Arguments::process_sun_java_launcher_properties(JavaVMInitArgs* args) {
- // See if sun.java.launcher, sun.java.launcher.is_altjvm or
- // sun.java.launcher.pid is defined.
+ // See if sun.java.launcher or sun.java.launcher.is_altjvm is defined.
// Must do this before setting up other system properties,
// as some of them may depend on launcher type.
for (int index = 0; index < args->nOptions; index++) {
@@ -379,10 +377,6 @@
}
continue;
}
- if (match_option(option, "-Dsun.java.launcher.pid=", &tail)) {
- _sun_java_launcher_pid = atoi(tail);
- continue;
- }
}
}
@@ -1411,10 +1405,9 @@
if (strcmp(key, "java.compiler") == 0) {
process_java_compiler_argument(value);
// Record value in Arguments, but let it get passed to Java.
- } else if (strcmp(key, "sun.java.launcher.is_altjvm") == 0 ||
- strcmp(key, "sun.java.launcher.pid") == 0) {
- // sun.java.launcher.is_altjvm and sun.java.launcher.pid property are
- // private and are processed in process_sun_java_launcher_properties();
+ } else if (strcmp(key, "sun.java.launcher.is_altjvm") == 0) {
+ // sun.java.launcher.is_altjvm property is
+ // private and is processed in process_sun_java_launcher_properties();
// the sun.java.launcher property is passed on to the java application
} else if (strcmp(key, "sun.boot.library.path") == 0) {
// append is true, writable is true, internal is false