6977924: Changes for 6975078 produce build error with certain gcc versions
Summary: The changes introduced for 6975078 assign badHeapOopVal to the _allocation field in the ResourceObj class. In 32 bit linux builds with certain versions of gcc this assignment will be flagged as an error while compiling allocation.cpp. In 32 bit builds the constant value badHeapOopVal (which is cast to an intptr_t) is negative. The _allocation field is typed as an unsigned intptr_t and gcc catches this as an error.
Reviewed-by: jcoomes, ysr, phh
author |
johnc |
date |
Wed, 18 Aug 2010 10:59:06 -0700 |
parents |
a61af66fc99e |
children |
|
rev |
line source |
0
|
1 README:
|
|
2 This file should be located at the top of the hotspot Mercurial repository.
|
|
3
|
|
4 See http://openjdk.java.net/ for more information about the OpenJDK.
|
|
5
|
|
6 See ../README-builds.html for complete details on build machine requirements.
|
|
7
|
|
8 Simple Build Instructions:
|
|
9
|
|
10 cd make && gnumake
|
|
11
|
|
12 The files that will be imported into the jdk build will be in the "build"
|
|
13 directory.
|
|
14
|