Skip to content

Commit c9ecc82

Browse files
committed
8362162: Use bool for caller of os::must_commit_stack_guard_pages()
Reviewed-by: shade, kbarrett
1 parent bf225c2 commit c9ecc82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/runtime/stackOverflow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void StackOverflow::create_stack_guard_pages() {
8989
assert(is_aligned(low_addr, os::vm_page_size()), "Stack base should be the start of a page");
9090
assert(is_aligned(len, os::vm_page_size()), "Stack size should be a multiple of page size");
9191

92-
int must_commit = os::must_commit_stack_guard_pages();
92+
bool must_commit = os::must_commit_stack_guard_pages();
9393
// warning("Guarding at " PTR_FORMAT " for len %zu\n", low_addr, len);
9494

9595
if (must_commit && !os::create_stack_guard_pages((char *) low_addr, len)) {

0 commit comments

Comments
 (0)