Mercurial > hg > truffle
annotate src/share/vm/opto/classes.hpp @ 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 | bad7ecd0b6ed |
rev | line source |
---|---|
0 | 1 /* |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1396
diff
changeset
|
2 * Copyright (c) 1997, 2010, 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:
1396
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1396
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:
1396
diff
changeset
|
21 * questions. |
0 | 22 * |
23 */ | |
24 | |
25 // The giant table of Node classes. | |
26 // One entry per class, sorted by class name. | |
27 | |
28 macro(AbsD) | |
29 macro(AbsF) | |
30 macro(AbsI) | |
31 macro(AddD) | |
32 macro(AddF) | |
33 macro(AddI) | |
34 macro(AddL) | |
35 macro(AddP) | |
36 macro(Allocate) | |
37 macro(AllocateArray) | |
38 macro(AndI) | |
39 macro(AndL) | |
169
9148c65abefc
6695049: (coll) Create an x86 intrinsic for Arrays.equals
rasbold
parents:
164
diff
changeset
|
40 macro(AryEq) |
0 | 41 macro(AtanD) |
42 macro(Binary) | |
43 macro(Bool) | |
44 macro(BoxLock) | |
45 macro(ReverseBytesI) | |
46 macro(ReverseBytesL) | |
1396
d7f654633cfe
6946040: add intrinsic for short and char reverseBytes
never
parents:
775
diff
changeset
|
47 macro(ReverseBytesUS) |
d7f654633cfe
6946040: add intrinsic for short and char reverseBytes
never
parents:
775
diff
changeset
|
48 macro(ReverseBytesS) |
0 | 49 macro(CProj) |
50 macro(CallDynamicJava) | |
51 macro(CallJava) | |
52 macro(CallLeaf) | |
53 macro(CallLeafNoFP) | |
54 macro(CallRuntime) | |
55 macro(CallStaticJava) | |
56 macro(CastII) | |
57 macro(CastX2P) | |
58 macro(CastP2X) | |
59 macro(CastPP) | |
60 macro(Catch) | |
61 macro(CatchProj) | |
62 macro(CheckCastPP) | |
63 macro(ClearArray) | |
64 macro(ConstraintCast) | |
65 macro(CMoveD) | |
66 macro(CMoveF) | |
67 macro(CMoveI) | |
68 macro(CMoveL) | |
69 macro(CMoveP) | |
164
c436414a719e
6703890: Compressed Oops: add LoadNKlass node to generate narrow oops (32-bits) compare instructions
kvn
parents:
145
diff
changeset
|
70 macro(CMoveN) |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
71 macro(CmpN) |
0 | 72 macro(CmpD) |
73 macro(CmpD3) | |
74 macro(CmpF) | |
75 macro(CmpF3) | |
76 macro(CmpI) | |
77 macro(CmpL) | |
78 macro(CmpL3) | |
79 macro(CmpLTMask) | |
80 macro(CmpP) | |
81 macro(CmpU) | |
82 macro(CompareAndSwapI) | |
83 macro(CompareAndSwapL) | |
84 macro(CompareAndSwapP) | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
85 macro(CompareAndSwapN) |
0 | 86 macro(Con) |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
87 macro(ConN) |
0 | 88 macro(ConD) |
89 macro(ConF) | |
90 macro(ConI) | |
91 macro(ConL) | |
92 macro(ConP) | |
93 macro(Conv2B) | |
94 macro(ConvD2F) | |
95 macro(ConvD2I) | |
96 macro(ConvD2L) | |
97 macro(ConvF2D) | |
98 macro(ConvF2I) | |
99 macro(ConvF2L) | |
100 macro(ConvI2D) | |
101 macro(ConvI2F) | |
102 macro(ConvI2L) | |
103 macro(ConvL2D) | |
104 macro(ConvL2F) | |
105 macro(ConvL2I) | |
106 macro(CosD) | |
107 macro(CountedLoop) | |
108 macro(CountedLoopEnd) | |
775
93c14e5562c4
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents:
681
diff
changeset
|
109 macro(CountLeadingZerosI) |
93c14e5562c4
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents:
681
diff
changeset
|
110 macro(CountLeadingZerosL) |
93c14e5562c4
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents:
681
diff
changeset
|
111 macro(CountTrailingZerosI) |
93c14e5562c4
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents:
681
diff
changeset
|
112 macro(CountTrailingZerosL) |
0 | 113 macro(CreateEx) |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
114 macro(DecodeN) |
0 | 115 macro(DivD) |
116 macro(DivF) | |
117 macro(DivI) | |
118 macro(DivL) | |
119 macro(DivMod) | |
120 macro(DivModI) | |
121 macro(DivModL) | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
122 macro(EncodeP) |
0 | 123 macro(ExpD) |
124 macro(FastLock) | |
125 macro(FastUnlock) | |
126 macro(Goto) | |
127 macro(Halt) | |
128 macro(If) | |
129 macro(IfFalse) | |
130 macro(IfTrue) | |
131 macro(Initialize) | |
132 macro(JProj) | |
133 macro(Jump) | |
134 macro(JumpProj) | |
135 macro(LShiftI) | |
136 macro(LShiftL) | |
137 macro(LoadB) | |
624 | 138 macro(LoadUB) |
558
3b5ac9e7e6ea
6796746: rename LoadC (char) opcode class to LoadUS (unsigned short)
twisti
parents:
420
diff
changeset
|
139 macro(LoadUS) |
0 | 140 macro(LoadD) |
141 macro(LoadD_unaligned) | |
142 macro(LoadF) | |
143 macro(LoadI) | |
624 | 144 macro(LoadUI2L) |
0 | 145 macro(LoadKlass) |
164
c436414a719e
6703890: Compressed Oops: add LoadNKlass node to generate narrow oops (32-bits) compare instructions
kvn
parents:
145
diff
changeset
|
146 macro(LoadNKlass) |
0 | 147 macro(LoadL) |
148 macro(LoadL_unaligned) | |
149 macro(LoadPLocked) | |
150 macro(LoadLLocked) | |
151 macro(LoadP) | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
152 macro(LoadN) |
0 | 153 macro(LoadRange) |
154 macro(LoadS) | |
155 macro(Lock) | |
156 macro(LogD) | |
157 macro(Log10D) | |
158 macro(Loop) | |
159 macro(Mach) | |
160 macro(MachProj) | |
161 macro(MaxI) | |
162 macro(MemBarAcquire) | |
163 macro(MemBarCPUOrder) | |
164 macro(MemBarRelease) | |
165 macro(MemBarVolatile) | |
166 macro(MergeMem) | |
167 macro(MinI) | |
168 macro(ModD) | |
169 macro(ModF) | |
170 macro(ModI) | |
171 macro(ModL) | |
172 macro(MoveI2F) | |
173 macro(MoveF2I) | |
174 macro(MoveL2D) | |
175 macro(MoveD2L) | |
176 macro(MulD) | |
177 macro(MulF) | |
145 | 178 macro(MulHiL) |
0 | 179 macro(MulI) |
180 macro(MulL) | |
181 macro(Multi) | |
182 macro(NegD) | |
183 macro(NegF) | |
184 macro(NeverBranch) | |
185 macro(Opaque1) | |
186 macro(Opaque2) | |
187 macro(OrI) | |
188 macro(OrL) | |
189 macro(PCTable) | |
190 macro(Parm) | |
191 macro(PartialSubtypeCheck) | |
192 macro(Phi) | |
643
c771b7f43bbf
6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents:
624
diff
changeset
|
193 macro(PopCountI) |
c771b7f43bbf
6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents:
624
diff
changeset
|
194 macro(PopCountL) |
0 | 195 macro(PowD) |
196 macro(PrefetchRead) | |
197 macro(PrefetchWrite) | |
198 macro(Proj) | |
199 macro(RShiftI) | |
200 macro(RShiftL) | |
201 macro(Region) | |
202 macro(Rethrow) | |
203 macro(Return) | |
204 macro(Root) | |
205 macro(RoundDouble) | |
206 macro(RoundFloat) | |
207 macro(SafePoint) | |
63
eac007780a58
6671807: (Escape Analysis) Add new ideal node to represent the state of a scalarized object at a safepoint
kvn
parents:
0
diff
changeset
|
208 macro(SafePointScalarObject) |
0 | 209 macro(SCMemProj) |
210 macro(SinD) | |
211 macro(SqrtD) | |
212 macro(Start) | |
213 macro(StartOSR) | |
214 macro(StoreB) | |
215 macro(StoreC) | |
216 macro(StoreCM) | |
217 macro(StorePConditional) | |
420
a1980da045cc
6462850: generate biased locking code in C2 ideal graph
kvn
parents:
196
diff
changeset
|
218 macro(StoreIConditional) |
0 | 219 macro(StoreLConditional) |
220 macro(StoreD) | |
221 macro(StoreF) | |
222 macro(StoreI) | |
223 macro(StoreL) | |
224 macro(StoreP) | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
225 macro(StoreN) |
0 | 226 macro(StrComp) |
681 | 227 macro(StrEquals) |
228 macro(StrIndexOf) | |
0 | 229 macro(SubD) |
230 macro(SubF) | |
231 macro(SubI) | |
232 macro(SubL) | |
233 macro(TailCall) | |
234 macro(TailJump) | |
235 macro(TanD) | |
236 macro(ThreadLocal) | |
237 macro(Unlock) | |
238 macro(URShiftI) | |
239 macro(URShiftL) | |
240 macro(XorI) | |
241 macro(XorL) | |
242 macro(Vector) | |
243 macro(AddVB) | |
244 macro(AddVC) | |
245 macro(AddVS) | |
246 macro(AddVI) | |
247 macro(AddVL) | |
248 macro(AddVF) | |
249 macro(AddVD) | |
250 macro(SubVB) | |
251 macro(SubVC) | |
252 macro(SubVS) | |
253 macro(SubVI) | |
254 macro(SubVL) | |
255 macro(SubVF) | |
256 macro(SubVD) | |
257 macro(MulVF) | |
258 macro(MulVD) | |
259 macro(DivVF) | |
260 macro(DivVD) | |
261 macro(LShiftVB) | |
262 macro(LShiftVC) | |
263 macro(LShiftVS) | |
264 macro(LShiftVI) | |
265 macro(URShiftVB) | |
266 macro(URShiftVC) | |
267 macro(URShiftVS) | |
268 macro(URShiftVI) | |
269 macro(AndV) | |
270 macro(OrV) | |
271 macro(XorV) | |
272 macro(VectorLoad) | |
273 macro(Load16B) | |
274 macro(Load8B) | |
275 macro(Load4B) | |
276 macro(Load8C) | |
277 macro(Load4C) | |
278 macro(Load2C) | |
279 macro(Load8S) | |
280 macro(Load4S) | |
281 macro(Load2S) | |
282 macro(Load4I) | |
283 macro(Load2I) | |
284 macro(Load2L) | |
285 macro(Load4F) | |
286 macro(Load2F) | |
287 macro(Load2D) | |
288 macro(VectorStore) | |
289 macro(Store16B) | |
290 macro(Store8B) | |
291 macro(Store4B) | |
292 macro(Store8C) | |
293 macro(Store4C) | |
294 macro(Store2C) | |
295 macro(Store4I) | |
296 macro(Store2I) | |
297 macro(Store2L) | |
298 macro(Store4F) | |
299 macro(Store2F) | |
300 macro(Store2D) | |
301 macro(Pack) | |
302 macro(PackB) | |
303 macro(PackS) | |
304 macro(PackC) | |
305 macro(PackI) | |
306 macro(PackL) | |
307 macro(PackF) | |
308 macro(PackD) | |
309 macro(Pack2x1B) | |
310 macro(Pack2x2B) | |
311 macro(Replicate16B) | |
312 macro(Replicate8B) | |
313 macro(Replicate4B) | |
314 macro(Replicate8S) | |
315 macro(Replicate4S) | |
316 macro(Replicate2S) | |
317 macro(Replicate8C) | |
318 macro(Replicate4C) | |
319 macro(Replicate2C) | |
320 macro(Replicate4I) | |
321 macro(Replicate2I) | |
322 macro(Replicate2L) | |
323 macro(Replicate4F) | |
324 macro(Replicate2F) | |
325 macro(Replicate2D) | |
326 macro(Extract) | |
327 macro(ExtractB) | |
328 macro(ExtractS) | |
329 macro(ExtractC) | |
330 macro(ExtractI) | |
331 macro(ExtractL) | |
332 macro(ExtractF) | |
333 macro(ExtractD) |