Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/globalDefinitions_sparcWorks.hpp @ 2307:4a9604cd7c5f
6878713: Verifier heap corruption, relating to backward jsrs
Summary: Added overflow detection in arena Amalloc methods
Reviewed-by: coleenp, phh
author | kamg |
---|---|
date | Wed, 02 Mar 2011 08:18:35 -0500 |
parents | f95d63e2154a |
children | 1d1603768966 |
comparison
equal
deleted
inserted
replaced
2306:5584e20db481 | 2307:4a9604cd7c5f |
---|---|
146 // If this gets an error, figure out a symbol XXX that implies the | 146 // If this gets an error, figure out a symbol XXX that implies the |
147 // prior definition of intptr_t, and add "&& !defined(XXX)" above. | 147 // prior definition of intptr_t, and add "&& !defined(XXX)" above. |
148 #endif | 148 #endif |
149 #endif | 149 #endif |
150 | 150 |
151 // On solaris 8, UINTPTR_MAX is defined as empty. | |
152 // Everywhere else it's an actual value. | |
153 #if UINTPTR_MAX - 1 == -1 | |
154 #undef UINTPTR_MAX | |
155 #ifdef _LP64 | |
156 #define UINTPTR_MAX UINT64_MAX | |
157 #else | |
158 #define UINTPTR_MAX UINT32_MAX | |
159 #endif /* ifdef _LP64 */ | |
160 #endif | |
161 | |
151 // Additional Java basic types | 162 // Additional Java basic types |
152 | 163 |
153 typedef unsigned char jubyte; | 164 typedef unsigned char jubyte; |
154 typedef unsigned short jushort; | 165 typedef unsigned short jushort; |
155 typedef unsigned int juint; | 166 typedef unsigned int juint; |