mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
6983240: guarantee((Solaris::min_stack_allowed >= (StackYellowPages+StackRedPages...) wrong
Min_stack_allowed is a compile time constant and Stack*Pages are settable Reviewed-by: dholmes, kvn
This commit is contained in:
parent
4ba2050f4e
commit
39992cab03
6 changed files with 52 additions and 15 deletions
|
@ -1663,7 +1663,8 @@ bool Arguments::check_stack_pages()
|
|||
bool status = true;
|
||||
status = status && verify_min_value(StackYellowPages, 1, "StackYellowPages");
|
||||
status = status && verify_min_value(StackRedPages, 1, "StackRedPages");
|
||||
status = status && verify_min_value(StackShadowPages, 1, "StackShadowPages");
|
||||
// greater stack shadow pages can't generate instruction to bang stack
|
||||
status = status && verify_interval(StackShadowPages, 1, 50, "StackShadowPages");
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue