We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09370c3 commit 894767dCopy full SHA for 894767d
test/hotspot/gtest/code/test_vtableStub.cpp
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
@@ -27,6 +27,8 @@
27
#include "runtime/interfaceSupport.inline.hpp"
28
#include "unittest.hpp"
29
30
+#ifndef ZERO
31
+
32
TEST_VM(code, vtableStubs) {
33
// Should be in VM to use locks
34
ThreadInVMfromNative ThreadInVMfromNative(JavaThread::current());
@@ -50,3 +52,5 @@ TEST_VM(code, itableStubs) {
50
52
}
51
53
VtableStubs::find_itable_stub((1 << 15) - 1); // max itable index
54
55
56
+#endif
0 commit comments