< prev index next > test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java
Print this page
/*
! * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
/*
! * Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
private static boolean isAlwaysSupportedPlatform() {
return Platform.isAix() ||
(Platform.isLinux() &&
(Platform.isPPC() || Platform.isS390x() || Platform.isX64() ||
! Platform.isX86() || Platform.isAArch64())) ||
Platform.isOSX();
}
private static boolean isNeverSupportedPlatform() {
return !isAlwaysSupportedPlatform();
private static boolean isAlwaysSupportedPlatform() {
return Platform.isAix() ||
(Platform.isLinux() &&
(Platform.isPPC() || Platform.isS390x() || Platform.isX64() ||
! Platform.isX86() || Platform.isAArch64() || Platform.isRISCV64())) ||
Platform.isOSX();
}
private static boolean isNeverSupportedPlatform() {
return !isAlwaysSupportedPlatform();
< prev index next >