8259565: Zero: compiler/runtime/criticalnatives fails because CriticalJNINatives is not supported

Reviewed-by: coleenp, zgu
This commit is contained in:
Aleksey Shipilev 2021-01-12 07:49:21 +00:00
parent 98ccfbf469
commit 9d4e84fd41
3 changed files with 6 additions and 2 deletions

View File

@ -26,6 +26,7 @@
#include "precompiled.hpp"
#include "assembler_zero.inline.hpp"
#include "memory/resourceArea.hpp"
#include "runtime/arguments.hpp"
#include "runtime/globals_extension.hpp"
#include "runtime/java.hpp"
#include "runtime/stubCodeGenerator.hpp"
@ -43,4 +44,7 @@ void VM_Version::initialize() {
warning("Prefetching is not available for a Zero VM");
}
FLAG_SET_DEFAULT(AllocatePrefetchDistance, 0);
// Not implemented
UNSUPPORTED_OPTION(CriticalJNINatives);
}

View File

@ -24,7 +24,7 @@
/* @test
* @bug 8167409
* @requires (os.arch != "aarch64") & (os.arch != "arm")
* @requires (os.arch != "aarch64") & (os.arch != "arm") & (vm.flavor != "zero")
* @run main/othervm/native -Xcomp -XX:+CriticalJNINatives compiler.runtime.criticalnatives.argumentcorruption.CheckLongArgs
*/
package compiler.runtime.criticalnatives.argumentcorruption;

View File

@ -24,7 +24,7 @@
/* @test
* @bug 8167408
* @requires (os.arch != "aarch64") & (os.arch != "arm")
* @requires (os.arch != "aarch64") & (os.arch != "arm") & (vm.flavor != "zero")
* @run main/othervm/native -Xcomp -XX:+CriticalJNINatives compiler.runtime.criticalnatives.lookup.LookUp
*/
package compiler.runtime.criticalnatives.lookup;