8213767: Remove the -Xconcurrentio flag and associated code
Reviewed-by: lfoltan, rehn
This commit is contained in:
parent
89b7212611
commit
458e0b864a
src/hotspot/share/runtime
test/hotspot/jtreg/runtime/CommandLine
@ -2642,23 +2642,7 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args, bool* patch_m
|
|||||||
// Obsolete in JDK 10
|
// Obsolete in JDK 10
|
||||||
JDK_Version::jdk(10).to_string(version, sizeof(version));
|
JDK_Version::jdk(10).to_string(version, sizeof(version));
|
||||||
warning("Ignoring option %s; support was removed in %s", option->optionString, version);
|
warning("Ignoring option %s; support was removed in %s", option->optionString, version);
|
||||||
// -Xconcurrentio
|
// -Xinternalversion
|
||||||
} else if (match_option(option, "-Xconcurrentio")) {
|
|
||||||
if (FLAG_SET_CMDLINE(bool, UseLWPSynchronization, true) != JVMFlag::SUCCESS) {
|
|
||||||
return JNI_EINVAL;
|
|
||||||
}
|
|
||||||
if (FLAG_SET_CMDLINE(bool, BackgroundCompilation, false) != JVMFlag::SUCCESS) {
|
|
||||||
return JNI_EINVAL;
|
|
||||||
}
|
|
||||||
SafepointSynchronize::set_defer_thr_suspend_loop_count();
|
|
||||||
if (FLAG_SET_CMDLINE(bool, UseTLAB, false) != JVMFlag::SUCCESS) {
|
|
||||||
return JNI_EINVAL;
|
|
||||||
}
|
|
||||||
if (FLAG_SET_CMDLINE(size_t, NewSizeThreadIncrease, 16 * K) != JVMFlag::SUCCESS) { // 20Kb per thread added to new generation
|
|
||||||
return JNI_EINVAL;
|
|
||||||
}
|
|
||||||
|
|
||||||
// -Xinternalversion
|
|
||||||
} else if (match_option(option, "-Xinternalversion")) {
|
} else if (match_option(option, "-Xinternalversion")) {
|
||||||
jio_fprintf(defaultStream::output_stream(), "%s\n",
|
jio_fprintf(defaultStream::output_stream(), "%s\n",
|
||||||
VM_Version::internal_vm_info_string());
|
VM_Version::internal_vm_info_string());
|
||||||
|
@ -178,10 +178,6 @@ public:
|
|||||||
|
|
||||||
static address safepoint_counter_addr() { return (address)&_safepoint_counter; }
|
static address safepoint_counter_addr() { return (address)&_safepoint_counter; }
|
||||||
|
|
||||||
// This method is only used for -Xconcurrentio support.
|
|
||||||
static void set_defer_thr_suspend_loop_count() {
|
|
||||||
_defer_thr_suspend_loop_count = 1;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Some helper assert macros for safepoint checks.
|
// Some helper assert macros for safepoint checks.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -42,7 +42,6 @@ public class TestNullTerminatedFlags {
|
|||||||
"-green",
|
"-green",
|
||||||
"-native",
|
"-native",
|
||||||
"-Xrs",
|
"-Xrs",
|
||||||
"-Xconcurrentio",
|
|
||||||
"-Xinternalversion",
|
"-Xinternalversion",
|
||||||
"-Xprintflags",
|
"-Xprintflags",
|
||||||
"-Xint",
|
"-Xint",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user