mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8151413: os::allocation_granularity/page_size and friends return signed values
Reviewed-by: stefank, ccheung, ysr
This commit is contained in:
parent
09b8a19597
commit
4fe99da74f
66 changed files with 165 additions and 163 deletions
|
@ -602,7 +602,7 @@ void TemplateInterpreterGenerator::generate_stack_overflow_check(void) {
|
|||
const int overhead_size =
|
||||
-(frame::interpreter_frame_initial_sp_offset * wordSize) + entry_size;
|
||||
|
||||
const int page_size = os::vm_page_size();
|
||||
const int page_size = (int)os::vm_page_size();
|
||||
|
||||
Label after_frame_check;
|
||||
|
||||
|
@ -889,7 +889,7 @@ void TemplateInterpreterGenerator::bang_stack_shadow_pages(bool native_call) {
|
|||
// See more discussion in stackOverflow.hpp.
|
||||
|
||||
const int shadow_zone_size = checked_cast<int>(StackOverflow::stack_shadow_zone_size());
|
||||
const int page_size = os::vm_page_size();
|
||||
const int page_size = (int)os::vm_page_size();
|
||||
const int n_shadow_pages = shadow_zone_size / page_size;
|
||||
|
||||
#ifdef ASSERT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue