Skip to content
Permalink
Browse files
8273376: Zero: Disable vtable/itableStub gtests
Backport-of: a522d6b53cd841b4bfe87eac5778c9e5cdf5e90f
  • Loading branch information
shipilev committed Oct 5, 2021
1 parent 09370c3 commit 894767d0fe736979b86873145a98c69209de3c32
Showing 1 changed file with 5 additions and 1 deletion.
@@ -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

1 comment on commit 894767d

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.