mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8268368: Adopt cast notation for JavaThread conversions
Reviewed-by: dholmes, stefank
This commit is contained in:
parent
b6cfca8a89
commit
cd678a383f
64 changed files with 139 additions and 145 deletions
|
@ -1467,7 +1467,7 @@ bool os::stack_shadow_pages_available(Thread *thread, const methodHandle& method
|
|||
const int framesize_in_bytes =
|
||||
Interpreter::size_top_interpreter_activation(method()) * wordSize;
|
||||
|
||||
address limit = thread->as_Java_thread()->stack_end() +
|
||||
address limit = JavaThread::cast(thread)->stack_end() +
|
||||
(StackOverflow::stack_guard_zone_size() + StackOverflow::stack_shadow_zone_size());
|
||||
|
||||
return sp > (limit + framesize_in_bytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue