comparison src/share/vm/utilities/globalDefinitions.hpp @ 559:7628781568e1

6795362: 32bit server compiler leads to wrong results on solaris-x86 Summary: The C2 compiler leads to wrong results on solaris-i486 (32-bit) for a testcase given in the CR. Reviewed-by: never, rasbold
author twisti
date Tue, 03 Feb 2009 01:39:12 -0800
parents a4f9ef0c0375
children 30663ca5e8f4
comparison
equal deleted inserted replaced
558:3b5ac9e7e6ea 559:7628781568e1
1 /* 1 /*
2 * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
72 extern int LogBitsPerHeapOop; 72 extern int LogBitsPerHeapOop;
73 extern int BytesPerHeapOop; 73 extern int BytesPerHeapOop;
74 extern int BitsPerHeapOop; 74 extern int BitsPerHeapOop;
75 75
76 const int BitsPerJavaInteger = 32; 76 const int BitsPerJavaInteger = 32;
77 const int BitsPerJavaLong = 64;
77 const int BitsPerSize_t = size_tSize * BitsPerByte; 78 const int BitsPerSize_t = size_tSize * BitsPerByte;
78 79
79 // Size of a char[] needed to represent a jint as a string in decimal. 80 // Size of a char[] needed to represent a jint as a string in decimal.
80 const int jintAsStringSize = 12; 81 const int jintAsStringSize = 12;
81 82