8213767: Remove the -Xconcurrentio flag and associated code
Reviewed-by: lfoltan, rehn
This commit is contained in:
parent
89b7212611
commit
458e0b864a
@ -2642,22 +2642,6 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args, bool* patch_m
|
||||
// Obsolete in JDK 10
|
||||
JDK_Version::jdk(10).to_string(version, sizeof(version));
|
||||
warning("Ignoring option %s; support was removed in %s", option->optionString, version);
|
||||
// -Xconcurrentio
|
||||
} 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")) {
|
||||
jio_fprintf(defaultStream::output_stream(), "%s\n",
|
||||
|
@ -178,10 +178,6 @@ public:
|
||||
|
||||
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.
|
||||
|
@ -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.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -42,7 +42,6 @@ public class TestNullTerminatedFlags {
|
||||
"-green",
|
||||
"-native",
|
||||
"-Xrs",
|
||||
"-Xconcurrentio",
|
||||
"-Xinternalversion",
|
||||
"-Xprintflags",
|
||||
"-Xint",
|
||||
|
Loading…
x
Reference in New Issue
Block a user