mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8213760: os::obsolete_option is obsolete and should be removed
Reviewed-by: jiangli, igerasim, stuefe
This commit is contained in:
parent
a8a34764b2
commit
ea22b27348
7 changed files with 4 additions and 43 deletions
|
@ -700,19 +700,6 @@ void os::breakpoint() {
|
|||
BREAKPOINT;
|
||||
}
|
||||
|
||||
bool os::obsolete_option(const JavaVMOption *option) {
|
||||
if (!strncmp(option->optionString, "-Xt", 3)) {
|
||||
return true;
|
||||
} else if (!strncmp(option->optionString, "-Xtm", 4)) {
|
||||
return true;
|
||||
} else if (!strncmp(option->optionString, "-Xverifyheap", 12)) {
|
||||
return true;
|
||||
} else if (!strncmp(option->optionString, "-Xmaxjitcodesize", 16)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool os::Solaris::valid_stack_address(Thread* thread, address sp) {
|
||||
address stackStart = (address)thread->stack_base();
|
||||
address stackEnd = (address)(stackStart - (address)thread->stack_size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue