Skip to content

Commit 894767d

Browse files
committed
8273376: Zero: Disable vtable/itableStub gtests
Backport-of: a522d6b53cd841b4bfe87eac5778c9e5cdf5e90f
1 parent 09370c3 commit 894767d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/hotspot/gtest/code/test_vtableStub.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -27,6 +27,8 @@
2727
#include "runtime/interfaceSupport.inline.hpp"
2828
#include "unittest.hpp"
2929

30+
#ifndef ZERO
31+
3032
TEST_VM(code, vtableStubs) {
3133
// Should be in VM to use locks
3234
ThreadInVMfromNative ThreadInVMfromNative(JavaThread::current());
@@ -50,3 +52,5 @@ TEST_VM(code, itableStubs) {
5052
}
5153
VtableStubs::find_itable_stub((1 << 15) - 1); // max itable index
5254
}
55+
56+
#endif

0 commit comments

Comments
 (0)