From 809488bf38c250db3c263f200e5eb1a269059c3d Mon Sep 17 00:00:00 2001 From: Thomas Stuefe Date: Wed, 27 Oct 2021 13:40:51 +0000 Subject: [PATCH] 8276046: codestrings.validate_vm gtest fails on ppc64, s390 Reviewed-by: shade, mdoerr --- test/hotspot/gtest/code/test_codestrings.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/hotspot/gtest/code/test_codestrings.cpp b/test/hotspot/gtest/code/test_codestrings.cpp index 550c3cc07c8..37376cfcf3d 100644 --- a/test/hotspot/gtest/code/test_codestrings.cpp +++ b/test/hotspot/gtest/code/test_codestrings.cpp @@ -25,6 +25,8 @@ #ifndef PRODUCT #ifndef ZERO +// Neither ppc nor s390 compilers use code strings. +#if !defined(PPC) && !defined(S390) #include "asm/macroAssembler.inline.hpp" #include "compiler/disassembler.hpp" @@ -262,5 +264,6 @@ TEST_VM(codestrings, validate) buffer_blob_test(); } +#endif // not S390 not PPC #endif // not ZERO #endif // not PRODUCT