8257042: [aix] Disable os.release_one_mapping_multi_commits_vm gtest

Reviewed-by: shade
This commit is contained in:
Thomas Stuefe 2020-11-25 21:26:36 +00:00
parent 9d7121c180
commit e56a8df8a0

@ -352,6 +352,7 @@ TEST_VM(os, jio_snprintf) {
#define PRINT_MAPPINGS(s) { tty->print_cr("%s", s); os::print_memory_mappings((char*)p, total_range_len, tty); }
//#define PRINT_MAPPINGS
#ifndef _AIX // JDK-8257041
// Reserve an area consisting of multiple mappings
// (from multiple calls to os::reserve_memory)
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) {
}
return p;
}
#endif // !AIX
// Reserve an area with a single call to os::reserve_memory,
// with multiple committed and uncommitted regions
@ -407,6 +409,7 @@ struct NUMASwitcher {
};
#endif
#ifndef _AIX // JDK-8257041
TEST_VM(os, release_multi_mappings) {
// Test that we can release an area created with multiple reservation calls
const size_t stripe_len = 4 * M;
@ -435,6 +438,7 @@ TEST_VM(os, release_multi_mappings) {
ASSERT_TRUE(os::release_memory((char*)p, total_range_len));
}
#endif // !AIX
#ifdef _WIN32
// On Windows, test that we recognize bad ranges.