Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
8259565: Zero: compiler/runtime/criticalnatives fails because Critica…
Browse files Browse the repository at this point in the history
…lJNINatives is not supported

Reviewed-by: coleenp, zgu
  • Loading branch information
shipilev committed Jan 12, 2021
1 parent 98ccfbf commit 9d4e84f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/hotspot/cpu/zero/vm_version_zero.cpp
Expand Up @@ -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"
Expand All @@ -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);
}
Expand Up @@ -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;
Expand Down
Expand Up @@ -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;
Expand Down

0 comments on commit 9d4e84f

Please sign in to comment.