Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit e56a8df

Browse files
committed
8257042: [aix] Disable os.release_one_mapping_multi_commits_vm gtest
Reviewed-by: shade
1 parent 9d7121c commit e56a8df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/hotspot/gtest/runtime/test_os.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ TEST_VM(os, jio_snprintf) {
352352
#define PRINT_MAPPINGS(s) { tty->print_cr("%s", s); os::print_memory_mappings((char*)p, total_range_len, tty); }
353353
//#define PRINT_MAPPINGS
354354

355+
#ifndef _AIX // JDK-8257041
355356
// Reserve an area consisting of multiple mappings
356357
// (from multiple calls to os::reserve_memory)
357358
static address reserve_multiple(int num_stripes, size_t stripe_len) {
@@ -374,6 +375,7 @@ static address reserve_multiple(int num_stripes, size_t stripe_len) {
374375
}
375376
return p;
376377
}
378+
#endif // !AIX
377379

378380
// Reserve an area with a single call to os::reserve_memory,
379381
// with multiple committed and uncommitted regions
@@ -407,6 +409,7 @@ struct NUMASwitcher {
407409
};
408410
#endif
409411

412+
#ifndef _AIX // JDK-8257041
410413
TEST_VM(os, release_multi_mappings) {
411414
// Test that we can release an area created with multiple reservation calls
412415
const size_t stripe_len = 4 * M;
@@ -435,6 +438,7 @@ TEST_VM(os, release_multi_mappings) {
435438

436439
ASSERT_TRUE(os::release_memory((char*)p, total_range_len));
437440
}
441+
#endif // !AIX
438442

439443
#ifdef _WIN32
440444
// On Windows, test that we recognize bad ranges.

0 commit comments

Comments
 (0)