8211208: make AllocateHeapAt an unsupported option on AIX
Reviewed-by: shade, tschatzl
This commit is contained in:
parent
52780f275c
commit
5d3b3156e8
@ -3851,6 +3851,10 @@ jint Arguments::parse(const JavaVMInitArgs* initial_cmd_args) {
|
||||
UNSUPPORTED_OPTION(UseLargePages);
|
||||
#endif
|
||||
|
||||
#if defined(AIX)
|
||||
UNSUPPORTED_OPTION(AllocateHeapAt);
|
||||
#endif
|
||||
|
||||
ArgumentsExt::report_unsupported_options();
|
||||
|
||||
#ifndef PRODUCT
|
||||
|
@ -24,7 +24,7 @@
|
||||
/* @test TestAllocateHeapAt.java
|
||||
* @key gc
|
||||
* @summary Test to check allocation of Java Heap with AllocateHeapAt option
|
||||
* @requires vm.gc != "Z"
|
||||
* @requires vm.gc != "Z" & os.family != "aix"
|
||||
* @library /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
*/
|
||||
|
@ -24,7 +24,7 @@
|
||||
/* @test TestAllocateHeapAtError.java
|
||||
* @key gc
|
||||
* @summary Test to check correct handling of non-existent directory passed to AllocateHeapAt option
|
||||
* @requires vm.gc != "Z"
|
||||
* @requires vm.gc != "Z" & os.family != "aix"
|
||||
* @library /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
*/
|
||||
|
@ -26,7 +26,7 @@
|
||||
* @summary Test to check allocation of Java Heap with AllocateHeapAt option. Has multiple sub-tests to cover different code paths.
|
||||
* @library /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @requires vm.bits == "64" & vm.gc != "Z"
|
||||
* @requires vm.bits == "64" & vm.gc != "Z" & os.family != "aix"
|
||||
*/
|
||||
|
||||
import jdk.test.lib.JDKToolFinder;
|
||||
|
@ -28,7 +28,7 @@ import java.io.IOException;
|
||||
* @test TestGCBasherWithAllocateHeapAt
|
||||
* @key gc stress
|
||||
* @requires vm.gc.G1
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient
|
||||
* @requires vm.flavor == "server" & !vm.emulatedClient & os.family != "aix"
|
||||
* @summary Stress Java heap allocation with AllocateHeapAt flag using GC basher.
|
||||
* @run main/othervm/timeout=500 -Xlog:gc*=info -Xmx256m -server -XX:+UseG1GC -XX:AllocateHeapAt=. TestGCBasherWithAllocateHeapAt 120000
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user