Skip to content

Commit b666008

Browse files
committed
8276175: codestrings.validate_vm gtest still broken on ppc64 after JDK-8276046
Backport-of: b889f2a88a5e182d2424b741d8fedf2c784442f1
1 parent 4a6afcc commit b666008

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/hotspot/gtest/code/test_codestrings.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525

2626
#ifndef PRODUCT
2727
#ifndef ZERO
28-
// Neither ppc nor s390 compilers use code strings.
29-
#if !defined(PPC) && !defined(S390)
3028

3129
#include "asm/macroAssembler.inline.hpp"
3230
#include "compiler/disassembler.hpp"
@@ -259,12 +257,16 @@ static void buffer_blob_test()
259257
BufferBlob::free(blob);
260258
}
261259

260+
#if defined(PPC) || defined(S390)
261+
// Neither ppc nor s390 compiler use code strings
262+
TEST_VM(codestrings, DISABLED_validate)
263+
#else
262264
TEST_VM(codestrings, validate)
265+
#endif
263266
{
264267
code_buffer_test();
265268
buffer_blob_test();
266269
}
267270

268-
#endif // not S390 not PPC
269271
#endif // not ZERO
270272
#endif // not PRODUCT

0 commit comments

Comments
 (0)