/*******************************************************************************1* Copyright (c) 2017, 2018 IBM Corp. and others2*3* This program and the accompanying materials are made available under4* the terms of the Eclipse Public License 2.0 which accompanies this5* distribution and is available at https://www.eclipse.org/legal/epl-2.0/6* or the Apache License, Version 2.0 which accompanies this distribution and7* is available at https://www.apache.org/licenses/LICENSE-2.0.8*9* This Source Code may also be made available under the following10* Secondary Licenses when the conditions for such availability set11* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU12* General Public License, version 2 with the GNU Classpath13* Exception [1] and GNU General Public License, version 2 with the14* OpenJDK Assembly Exception [2].15*16* [1] https://www.gnu.org/software/classpath/license.html17* [2] http://openjdk.java.net/legal/assembly-exception.html18*19* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception20*******************************************************************************/2122#include "../compiler/env/defines.h"23#include "../compiler/env/jittypes.h"24#include "hashtable_api.h"25#include "omr.h"26#include "omrthread_generated.h"27#include "omrtrace.h"28#include "ute_core.h"29#include "ddrhelp.h"3031#include <limits.h>3233#define OMR_DdrDebugLink(type) DdrDebugLink(omr, type)3435OMR_DdrDebugLink(J9AbstractThread)36OMR_DdrDebugLink(J9HashTable)37OMR_DdrDebugLink(J9HashTableState)38OMR_DdrDebugLink(OMR_TraceThread)39OMR_DdrDebugLink(OMR_VMThread)40OMR_DdrDebugLink(TR_InlinedCallSite)41OMR_DdrDebugLink(UtThreadData)4243/* @ddr_namespace: map_to_type=CLimits */4445#define DDR_CHAR_MAX CHAR_MAX46#define DDR_CHAR_MIN CHAR_MIN47#define DDR_INT_MAX INT_MAX48#define DDR_INT_MIN INT_MIN49#define DDR_LONG_MAX LONG_MAX50#define DDR_LONG_MIN LONG_MIN51#define DDR_SCHAR_MAX SCHAR_MAX52#define DDR_SCHAR_MIN SCHAR_MIN53#define DDR_SHRT_MAX SHRT_MAX54#define DDR_SHRT_MIN SHRT_MIN55#define DDR_UCHAR_MAX UCHAR_MAX56#define DDR_UINT_MAX UINT_MAX57#define DDR_ULONG_MAX ULONG_MAX58#define DDR_USHRT_MAX 655355960/* @ddr_namespace: map_to_type=TRBuildFlags */6162/* unsupported host architectures */63#if defined(TR_HOST_MIPS)64# define host_MIPS 165#else66# define host_MIPS 067#endif68#if defined(TR_HOST_SH4)69# define host_SH4 170#else71# define host_SH4 072#endif737475