Mercurial > hg > truffle
annotate src/share/vm/opto/classes.hpp @ 452:00b023ae2d78
6722113: CMS: Incorrect overflow handling during precleaning of Reference lists
Summary: When we encounter marking stack overflow during precleaning of Reference lists, we were using the overflow list mechanism, which can cause problems on account of mutating the mark word of the header because of conflicts with mutator accesses and updates of that field. Instead we should use the usual mechanism for overflow handling in concurrent phases, namely dirtying of the card on which the overflowed object lies. Since precleaning effectively does a form of discovered list processing, albeit with discovery enabled, we needed to adjust some code to be correct in the face of interleaved processing and discovery.
Reviewed-by: apetrusenko, jcoomes
author | ysr |
---|---|
date | Thu, 20 Nov 2008 12:27:41 -0800 |
parents | a1980da045cc |
children | 3b5ac9e7e6ea |
rev | line source |
---|---|
0 | 1 /* |
196 | 2 * Copyright 1997-2008 Sun Microsystems, Inc. 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 * | |
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
20 * CA 95054 USA or visit www.sun.com if you need additional information or | |
21 * have any questions. | |
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) | |
47 macro(CProj) | |
48 macro(CallDynamicJava) | |
49 macro(CallJava) | |
50 macro(CallLeaf) | |
51 macro(CallLeafNoFP) | |
52 macro(CallRuntime) | |
53 macro(CallStaticJava) | |
54 macro(CastII) | |
55 macro(CastX2P) | |
56 macro(CastP2X) | |
57 macro(CastPP) | |
58 macro(Catch) | |
59 macro(CatchProj) | |
60 macro(CheckCastPP) | |
61 macro(ClearArray) | |
62 macro(ConstraintCast) | |
63 macro(CMoveD) | |
64 macro(CMoveF) | |
65 macro(CMoveI) | |
66 macro(CMoveL) | |
67 macro(CMoveP) | |
164
c436414a719e
6703890: Compressed Oops: add LoadNKlass node to generate narrow oops (32-bits) compare instructions
kvn
parents:
145
diff
changeset
|
68 macro(CMoveN) |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
69 macro(CmpN) |
0 | 70 macro(CmpD) |
71 macro(CmpD3) | |
72 macro(CmpF) | |
73 macro(CmpF3) | |
74 macro(CmpI) | |
75 macro(CmpL) | |
76 macro(CmpL3) | |
77 macro(CmpLTMask) | |
78 macro(CmpP) | |
79 macro(CmpU) | |
80 macro(CompareAndSwapI) | |
81 macro(CompareAndSwapL) | |
82 macro(CompareAndSwapP) | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
83 macro(CompareAndSwapN) |
0 | 84 macro(Con) |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
85 macro(ConN) |
0 | 86 macro(ConD) |
87 macro(ConF) | |
88 macro(ConI) | |
89 macro(ConL) | |
90 macro(ConP) | |
91 macro(Conv2B) | |
92 macro(ConvD2F) | |
93 macro(ConvD2I) | |
94 macro(ConvD2L) | |
95 macro(ConvF2D) | |
96 macro(ConvF2I) | |
97 macro(ConvF2L) | |
98 macro(ConvI2D) | |
99 macro(ConvI2F) | |
100 macro(ConvI2L) | |
101 macro(ConvL2D) | |
102 macro(ConvL2F) | |
103 macro(ConvL2I) | |
104 macro(CosD) | |
105 macro(CountedLoop) | |
106 macro(CountedLoopEnd) | |
107 macro(CreateEx) | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
108 macro(DecodeN) |
0 | 109 macro(DivD) |
110 macro(DivF) | |
111 macro(DivI) | |
112 macro(DivL) | |
113 macro(DivMod) | |
114 macro(DivModI) | |
115 macro(DivModL) | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
116 macro(EncodeP) |
0 | 117 macro(ExpD) |
118 macro(FastLock) | |
119 macro(FastUnlock) | |
120 macro(Goto) | |
121 macro(Halt) | |
122 macro(If) | |
123 macro(IfFalse) | |
124 macro(IfTrue) | |
125 macro(Initialize) | |
126 macro(JProj) | |
127 macro(Jump) | |
128 macro(JumpProj) | |
129 macro(LShiftI) | |
130 macro(LShiftL) | |
131 macro(LoadB) | |
132 macro(LoadC) | |
133 macro(LoadD) | |
134 macro(LoadD_unaligned) | |
135 macro(LoadF) | |
136 macro(LoadI) | |
137 macro(LoadKlass) | |
164
c436414a719e
6703890: Compressed Oops: add LoadNKlass node to generate narrow oops (32-bits) compare instructions
kvn
parents:
145
diff
changeset
|
138 macro(LoadNKlass) |
0 | 139 macro(LoadL) |
140 macro(LoadL_unaligned) | |
141 macro(LoadPLocked) | |
142 macro(LoadLLocked) | |
143 macro(LoadP) | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
144 macro(LoadN) |
0 | 145 macro(LoadRange) |
146 macro(LoadS) | |
147 macro(Lock) | |
148 macro(LogD) | |
149 macro(Log10D) | |
150 macro(Loop) | |
151 macro(Mach) | |
152 macro(MachProj) | |
153 macro(MaxI) | |
154 macro(MemBarAcquire) | |
155 macro(MemBarCPUOrder) | |
156 macro(MemBarRelease) | |
157 macro(MemBarVolatile) | |
158 macro(MergeMem) | |
159 macro(MinI) | |
160 macro(ModD) | |
161 macro(ModF) | |
162 macro(ModI) | |
163 macro(ModL) | |
164 macro(MoveI2F) | |
165 macro(MoveF2I) | |
166 macro(MoveL2D) | |
167 macro(MoveD2L) | |
168 macro(MulD) | |
169 macro(MulF) | |
145 | 170 macro(MulHiL) |
0 | 171 macro(MulI) |
172 macro(MulL) | |
173 macro(Multi) | |
174 macro(NegD) | |
175 macro(NegF) | |
176 macro(NeverBranch) | |
177 macro(Opaque1) | |
178 macro(Opaque2) | |
179 macro(OrI) | |
180 macro(OrL) | |
181 macro(PCTable) | |
182 macro(Parm) | |
183 macro(PartialSubtypeCheck) | |
184 macro(Phi) | |
185 macro(PowD) | |
186 macro(PrefetchRead) | |
187 macro(PrefetchWrite) | |
188 macro(Proj) | |
189 macro(RShiftI) | |
190 macro(RShiftL) | |
191 macro(Region) | |
192 macro(Rethrow) | |
193 macro(Return) | |
194 macro(Root) | |
195 macro(RoundDouble) | |
196 macro(RoundFloat) | |
197 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
|
198 macro(SafePointScalarObject) |
0 | 199 macro(SCMemProj) |
200 macro(SinD) | |
201 macro(SqrtD) | |
202 macro(Start) | |
203 macro(StartOSR) | |
204 macro(StoreB) | |
205 macro(StoreC) | |
206 macro(StoreCM) | |
207 macro(StorePConditional) | |
420
a1980da045cc
6462850: generate biased locking code in C2 ideal graph
kvn
parents:
196
diff
changeset
|
208 macro(StoreIConditional) |
0 | 209 macro(StoreLConditional) |
210 macro(StoreD) | |
211 macro(StoreF) | |
212 macro(StoreI) | |
213 macro(StoreL) | |
214 macro(StoreP) | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
215 macro(StoreN) |
0 | 216 macro(StrComp) |
217 macro(SubD) | |
218 macro(SubF) | |
219 macro(SubI) | |
220 macro(SubL) | |
221 macro(TailCall) | |
222 macro(TailJump) | |
223 macro(TanD) | |
224 macro(ThreadLocal) | |
225 macro(Unlock) | |
226 macro(URShiftI) | |
227 macro(URShiftL) | |
228 macro(XorI) | |
229 macro(XorL) | |
230 macro(Vector) | |
231 macro(AddVB) | |
232 macro(AddVC) | |
233 macro(AddVS) | |
234 macro(AddVI) | |
235 macro(AddVL) | |
236 macro(AddVF) | |
237 macro(AddVD) | |
238 macro(SubVB) | |
239 macro(SubVC) | |
240 macro(SubVS) | |
241 macro(SubVI) | |
242 macro(SubVL) | |
243 macro(SubVF) | |
244 macro(SubVD) | |
245 macro(MulVF) | |
246 macro(MulVD) | |
247 macro(DivVF) | |
248 macro(DivVD) | |
249 macro(LShiftVB) | |
250 macro(LShiftVC) | |
251 macro(LShiftVS) | |
252 macro(LShiftVI) | |
253 macro(URShiftVB) | |
254 macro(URShiftVC) | |
255 macro(URShiftVS) | |
256 macro(URShiftVI) | |
257 macro(AndV) | |
258 macro(OrV) | |
259 macro(XorV) | |
260 macro(VectorLoad) | |
261 macro(Load16B) | |
262 macro(Load8B) | |
263 macro(Load4B) | |
264 macro(Load8C) | |
265 macro(Load4C) | |
266 macro(Load2C) | |
267 macro(Load8S) | |
268 macro(Load4S) | |
269 macro(Load2S) | |
270 macro(Load4I) | |
271 macro(Load2I) | |
272 macro(Load2L) | |
273 macro(Load4F) | |
274 macro(Load2F) | |
275 macro(Load2D) | |
276 macro(VectorStore) | |
277 macro(Store16B) | |
278 macro(Store8B) | |
279 macro(Store4B) | |
280 macro(Store8C) | |
281 macro(Store4C) | |
282 macro(Store2C) | |
283 macro(Store4I) | |
284 macro(Store2I) | |
285 macro(Store2L) | |
286 macro(Store4F) | |
287 macro(Store2F) | |
288 macro(Store2D) | |
289 macro(Pack) | |
290 macro(PackB) | |
291 macro(PackS) | |
292 macro(PackC) | |
293 macro(PackI) | |
294 macro(PackL) | |
295 macro(PackF) | |
296 macro(PackD) | |
297 macro(Pack2x1B) | |
298 macro(Pack2x2B) | |
299 macro(Replicate16B) | |
300 macro(Replicate8B) | |
301 macro(Replicate4B) | |
302 macro(Replicate8S) | |
303 macro(Replicate4S) | |
304 macro(Replicate2S) | |
305 macro(Replicate8C) | |
306 macro(Replicate4C) | |
307 macro(Replicate2C) | |
308 macro(Replicate4I) | |
309 macro(Replicate2I) | |
310 macro(Replicate2L) | |
311 macro(Replicate4F) | |
312 macro(Replicate2F) | |
313 macro(Replicate2D) | |
314 macro(Extract) | |
315 macro(ExtractB) | |
316 macro(ExtractS) | |
317 macro(ExtractC) | |
318 macro(ExtractI) | |
319 macro(ExtractL) | |
320 macro(ExtractF) | |
321 macro(ExtractD) |