8273376: Zero: Disable vtable/itableStub gtests

Reviewed-by: jiefu, stuefe
This commit is contained in:
Aleksey Shipilev 2021-09-07 08:52:53 +00:00
parent 3cd95a2932
commit a522d6b53c

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, 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
@ -27,6 +27,8 @@
#include "runtime/interfaceSupport.inline.hpp"
#include "unittest.hpp"
#ifndef ZERO
TEST_VM(code, vtableStubs) {
// Should be in VM to use locks
ThreadInVMfromNative ThreadInVMfromNative(JavaThread::current());
@ -50,3 +52,5 @@ TEST_VM(code, itableStubs) {
}
VtableStubs::find_itable_stub((1 << 15) - 1); // max itable index
}
#endif