Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8257989: Error in gtest os_page_size_for_region_unaligned after 8257588
Reviewed-by: stuefe
  • Loading branch information
mgkwill authored and tstuefe committed Dec 9, 2020
1 parent 5f03341 commit b977a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hotspot/gtest/runtime/test_os.cpp
Expand Up @@ -102,7 +102,7 @@ TEST_VM(os, page_size_for_region_unaligned) {
for (size_t s = os::page_sizes().largest(); s != 0; s = os::page_sizes().next_smaller(s)) {
const size_t expected = os::page_sizes().next_smaller(s);
if (expected != 0) {
size_t actual = os::page_size_for_region_unaligned(expected - 17, 1);
size_t actual = os::page_size_for_region_unaligned(s - 17, 1);
ASSERT_EQ(actual, expected);
}
}
Expand Down

1 comment on commit b977a7b

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.