Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8259565: Zero: compiler/runtime/criticalnatives fails because Critica…
…lJNINatives is not supported

Reviewed-by: coleenp, zgu
  • Loading branch information
shipilev committed Jan 12, 2021
1 parent 98ccfbf commit 9d4e84fd4100ebd9350c37349ba72a68291ba327
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
@@ -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);
}
@@ -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;
@@ -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;

0 comments on commit 9d4e84f

Please sign in to comment.