We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf225c2 commit c9ecc82Copy full SHA for c9ecc82
src/hotspot/share/runtime/stackOverflow.cpp
@@ -89,7 +89,7 @@ void StackOverflow::create_stack_guard_pages() {
89
assert(is_aligned(low_addr, os::vm_page_size()), "Stack base should be the start of a page");
90
assert(is_aligned(len, os::vm_page_size()), "Stack size should be a multiple of page size");
91
92
- int must_commit = os::must_commit_stack_guard_pages();
+ bool must_commit = os::must_commit_stack_guard_pages();
93
// warning("Guarding at " PTR_FORMAT " for len %zu\n", low_addr, len);
94
95
if (must_commit && !os::create_stack_guard_pages((char *) low_addr, len)) {
0 commit comments