Path: blob/master/src/hotspot/cpu/s390/globalDefinitions_s390.hpp
40930 views
/*1* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.2* Copyright (c) 2016 SAP SE. 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 it6* under the terms of the GNU General Public License version 2 only, as7* published by the Free Software Foundation.8*9* This code is distributed in the hope that it will be useful, but WITHOUT10* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12* version 2 for more details (a copy is included in the LICENSE file that13* accompanied this code).14*15* You should have received a copy of the GNU General Public License version16* 2 along with this work; if not, write to the Free Software Foundation,17* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.18*19* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA20* or visit www.oracle.com if you need additional information or have any21* questions.22*23*/2425#ifndef CPU_S390_GLOBALDEFINITIONS_S390_HPP26#define CPU_S390_GLOBALDEFINITIONS_S390_HPP2728// Convenience macro that produces a string literal with the filename29// and linenumber of the location where the macro was used.30#ifndef FILE_AND_LINE31#define FILE_AND_LINE __FILE__ ":" XSTR(__LINE__)32#endif3334#define ShortenBranches true3536const int StackAlignmentInBytes = 16;3738#define SUPPORTS_NATIVE_CX83940#define CPU_MULTI_COPY_ATOMIC4142// Indicates whether the C calling conventions require that43// 32-bit integer argument values are extended to 64 bits.44// This is the case on z/Architecture.45const bool CCallingConventionRequiresIntsAsLongs = true;4647// Contended Locking reorder and cache line bucket.48// This setting should be kept compatible with vm_version_s390.cpp.49// The expected size in bytes of a cache line, used to pad data structures.50#define DEFAULT_CACHE_LINE_SIZE 2565152#define SUPPORT_RESERVED_STACK_AREA5354#define COMPRESSED_CLASS_POINTERS_DEPENDS_ON_COMPRESSED_OOPS false5556#endif // CPU_S390_GLOBALDEFINITIONS_S390_HPP575859