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 5f03341 commit b977a7bCopy full SHA for b977a7b
test/hotspot/gtest/runtime/test_os.cpp
@@ -102,7 +102,7 @@ TEST_VM(os, page_size_for_region_unaligned) {
102
for (size_t s = os::page_sizes().largest(); s != 0; s = os::page_sizes().next_smaller(s)) {
103
const size_t expected = os::page_sizes().next_smaller(s);
104
if (expected != 0) {
105
- size_t actual = os::page_size_for_region_unaligned(expected - 17, 1);
+ size_t actual = os::page_size_for_region_unaligned(s - 17, 1);
106
ASSERT_EQ(actual, expected);
107
}
108
0 commit comments