@@ -352,6 +352,7 @@ TEST_VM(os, jio_snprintf) {
352
352
#define PRINT_MAPPINGS (s ) { tty->print_cr (" %s" , s); os::print_memory_mappings ((char *)p, total_range_len, tty); }
353
353
// #define PRINT_MAPPINGS
354
354
355
+ #ifndef _AIX // JDK-8257041
355
356
// Reserve an area consisting of multiple mappings
356
357
// (from multiple calls to os::reserve_memory)
357
358
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) {
374
375
}
375
376
return p;
376
377
}
378
+ #endif // !AIX
377
379
378
380
// Reserve an area with a single call to os::reserve_memory,
379
381
// with multiple committed and uncommitted regions
@@ -407,6 +409,7 @@ struct NUMASwitcher {
407
409
};
408
410
#endif
409
411
412
+ #ifndef _AIX // JDK-8257041
410
413
TEST_VM (os, release_multi_mappings) {
411
414
// Test that we can release an area created with multiple reservation calls
412
415
const size_t stripe_len = 4 * M;
@@ -435,6 +438,7 @@ TEST_VM(os, release_multi_mappings) {
435
438
436
439
ASSERT_TRUE (os::release_memory ((char *)p, total_range_len));
437
440
}
441
+ #endif // !AIX
438
442
439
443
#ifdef _WIN32
440
444
// On Windows, test that we recognize bad ranges.
0 commit comments