Mercurial > hg > truffle
annotate src/share/vm/gc_implementation/includeDB_gc_parNew @ 1721:413ad0331a0c
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 | c18cbe5936b8 |
children |
rev | line source |
---|---|
0 | 1 // |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
536
diff
changeset
|
2 // Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. |
0 | 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 it | |
6 // under the terms of the GNU General Public License version 2 only, as | |
7 // published by the Free Software Foundation. | |
8 // | |
9 // This code is distributed in the hope that it will be useful, but WITHOUT | |
10 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 // version 2 for more details (a copy is included in the LICENSE file that | |
13 // accompanied this code). | |
14 // | |
15 // You should have received a copy of the GNU General Public License version | |
16 // 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 // | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
536
diff
changeset
|
19 // Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
536
diff
changeset
|
20 // or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
536
diff
changeset
|
21 // questions. |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
22 // |
0 | 23 // |
24 | |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
25 asParNewGeneration.hpp adaptiveSizePolicy.hpp |
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
26 asParNewGeneration.hpp parNewGeneration.hpp |
0 | 27 |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
28 asParNewGeneration.cpp asParNewGeneration.hpp |
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
29 asParNewGeneration.cpp cmsAdaptiveSizePolicy.hpp |
0 | 30 asParNewGeneration.cpp cmsGCAdaptivePolicyCounters.hpp |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
31 asParNewGeneration.cpp defNewGeneration.inline.hpp |
528
37b3ca071522
6793825: Missing include dependancies for GCC without predefined headers
coleenp
parents:
263
diff
changeset
|
32 asParNewGeneration.cpp markOop.inline.hpp |
37b3ca071522
6793825: Missing include dependancies for GCC without predefined headers
coleenp
parents:
263
diff
changeset
|
33 asParNewGeneration.cpp markSweep.inline.hpp |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
34 asParNewGeneration.cpp oop.pcgc.inline.hpp |
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
35 asParNewGeneration.cpp parNewGeneration.hpp |
0 | 36 asParNewGeneration.cpp referencePolicy.hpp |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
37 asParNewGeneration.cpp spaceDecorator.hpp |
0 | 38 |
39 parCardTableModRefBS.cpp allocation.inline.hpp | |
40 parCardTableModRefBS.cpp cardTableModRefBS.hpp | |
41 parCardTableModRefBS.cpp cardTableRS.hpp | |
42 parCardTableModRefBS.cpp java.hpp | |
43 parCardTableModRefBS.cpp mutexLocker.hpp | |
44 parCardTableModRefBS.cpp sharedHeap.hpp | |
528
37b3ca071522
6793825: Missing include dependancies for GCC without predefined headers
coleenp
parents:
263
diff
changeset
|
45 parCardTableModRefBS.cpp space.inline.hpp |
0 | 46 parCardTableModRefBS.cpp universe.hpp |
47 parCardTableModRefBS.cpp virtualspace.hpp | |
48 | |
49 parGCAllocBuffer.cpp arrayOop.hpp | |
50 parGCAllocBuffer.cpp oop.inline.hpp | |
51 parGCAllocBuffer.cpp parGCAllocBuffer.hpp | |
52 parGCAllocBuffer.cpp sharedHeap.hpp | |
53 | |
54 parGCAllocBuffer.hpp allocation.hpp | |
55 parGCAllocBuffer.hpp globalDefinitions.hpp | |
56 parGCAllocBuffer.hpp threadLocalAllocBuffer.hpp | |
57 | |
58 parNewGeneration.cpp adaptiveSizePolicy.hpp | |
59 parNewGeneration.cpp ageTable.hpp | |
60 parNewGeneration.cpp concurrentMarkSweepGeneration.hpp | |
61 parNewGeneration.cpp copy.hpp | |
62 parNewGeneration.cpp defNewGeneration.inline.hpp | |
63 parNewGeneration.cpp genCollectedHeap.hpp | |
64 parNewGeneration.cpp genOopClosures.inline.hpp | |
65 parNewGeneration.cpp generation.hpp | |
66 parNewGeneration.cpp generation.inline.hpp | |
67 parNewGeneration.cpp globalDefinitions.hpp | |
68 parNewGeneration.cpp handles.hpp | |
69 parNewGeneration.cpp handles.inline.hpp | |
70 parNewGeneration.cpp java.hpp | |
71 parNewGeneration.cpp objArrayOop.hpp | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
72 parNewGeneration.cpp oop.inline.hpp |
0 | 73 parNewGeneration.cpp oop.pcgc.inline.hpp |
74 parNewGeneration.cpp parGCAllocBuffer.hpp | |
75 parNewGeneration.cpp parNewGeneration.hpp | |
76 parNewGeneration.cpp parOopClosures.inline.hpp | |
77 parNewGeneration.cpp referencePolicy.hpp | |
78 parNewGeneration.cpp resourceArea.hpp | |
79 parNewGeneration.cpp sharedHeap.hpp | |
80 parNewGeneration.cpp space.hpp | |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
81 parNewGeneration.cpp spaceDecorator.hpp |
534 | 82 parNewGeneration.cpp thread.hpp |
0 | 83 parNewGeneration.cpp workgroup.hpp |
84 | |
85 parNewGeneration.hpp defNewGeneration.hpp | |
86 parNewGeneration.hpp parGCAllocBuffer.hpp | |
87 parNewGeneration.hpp taskqueue.hpp | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
88 |
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
89 parOopClosures.hpp genOopClosures.hpp |
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
90 |
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
91 parOopClosures.inline.hpp parNewGeneration.hpp |
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
92 parOopClosures.inline.hpp parOopClosures.hpp |