Skip to content

Commit db6dc60

Browse files
MBaeskenRealCLanger
authored andcommitted
8376688: Gtest os.attempt_reserve_memory_between_small_range_fill_hole_vm fails on AIX 7.3
Backport-of: 6665a78 (cherry picked from commit 3b9724d)
1 parent b0eb760 commit db6dc60

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/hotspot/gtest/runtime/test_os_reserve_between.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ TEST_VM(os, attempt_reserve_memory_randomization_cornercases) {
335335

336336
// Test that, regardless where the hole is in the [min, max) range, if we probe nonrandomly, we will fill that hole
337337
// as long as the range size is smaller than the number of probe attempts
338+
// On AIX, the allocation granularity is too large and not well suited for 'small' holes, so we avoid the test
339+
#if !defined(_AIX)
338340
TEST_VM(os, attempt_reserve_memory_between_small_range_fill_hole) {
339341
const size_t ps = os::vm_page_size();
340342
const size_t ag = allocation_granularity();
@@ -348,3 +350,4 @@ TEST_VM(os, attempt_reserve_memory_between_small_range_fill_hole) {
348350
}
349351
}
350352
}
353+
#endif

0 commit comments

Comments
 (0)