Mercurial > hg > truffle
annotate src/share/vm/opto/classes.hpp @ 9126:bc26f978b0ce
HotSpotResolvedObjectType: implement hasFinalizeSubclass() correctly
don't use the (wrong) cached value, but ask the runtime on each request.
Fixes regression on xml.* benchmarks @ specjvm2008. The problem was:
After the constructor of Object was deoptimized due to an assumption violation,
it was recompiled again after some time. However, on recompilation, the value
of hasFinalizeSubclass for the class was not updated and it was compiled again
with a, now wrong, assumption, which then triggers deoptimization again.
This was repeated until it hit the recompilation limit (defined by
PerMethodRecompilationCutoff), and therefore only executed by the interpreter
from now on, causing the performance regression.
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Mon, 15 Apr 2013 19:54:58 +0200 |
parents | b30b3c2a0cf2 |
children | c9ccd7b85f20 |
rev | line source |
---|---|
0 | 1 /* |
6179
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
2 * Copyright (c) 1997, 2012, 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) |
6795
7eca5de9e0b6
7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents:
6614
diff
changeset
|
86 macro(GetAndAddI) |
7eca5de9e0b6
7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents:
6614
diff
changeset
|
87 macro(GetAndAddL) |
7eca5de9e0b6
7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents:
6614
diff
changeset
|
88 macro(GetAndSetI) |
7eca5de9e0b6
7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents:
6614
diff
changeset
|
89 macro(GetAndSetL) |
7eca5de9e0b6
7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents:
6614
diff
changeset
|
90 macro(GetAndSetP) |
7eca5de9e0b6
7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents:
6614
diff
changeset
|
91 macro(GetAndSetN) |
0 | 92 macro(Con) |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
93 macro(ConN) |
6848
8e47bac5643a
7054512: Compress class pointers after perm gen removal
roland
parents:
6823
diff
changeset
|
94 macro(ConNKlass) |
0 | 95 macro(ConD) |
96 macro(ConF) | |
97 macro(ConI) | |
98 macro(ConL) | |
99 macro(ConP) | |
100 macro(Conv2B) | |
101 macro(ConvD2F) | |
102 macro(ConvD2I) | |
103 macro(ConvD2L) | |
104 macro(ConvF2D) | |
105 macro(ConvF2I) | |
106 macro(ConvF2L) | |
107 macro(ConvI2D) | |
108 macro(ConvI2F) | |
109 macro(ConvI2L) | |
110 macro(ConvL2D) | |
111 macro(ConvL2F) | |
112 macro(ConvL2I) | |
113 macro(CosD) | |
114 macro(CountedLoop) | |
115 macro(CountedLoopEnd) | |
775
93c14e5562c4
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents:
681
diff
changeset
|
116 macro(CountLeadingZerosI) |
93c14e5562c4
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents:
681
diff
changeset
|
117 macro(CountLeadingZerosL) |
93c14e5562c4
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents:
681
diff
changeset
|
118 macro(CountTrailingZerosI) |
93c14e5562c4
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents:
681
diff
changeset
|
119 macro(CountTrailingZerosL) |
0 | 120 macro(CreateEx) |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
121 macro(DecodeN) |
6848
8e47bac5643a
7054512: Compress class pointers after perm gen removal
roland
parents:
6823
diff
changeset
|
122 macro(DecodeNKlass) |
0 | 123 macro(DivD) |
124 macro(DivF) | |
125 macro(DivI) | |
126 macro(DivL) | |
127 macro(DivMod) | |
128 macro(DivModI) | |
129 macro(DivModL) | |
7637
b30b3c2a0cf2
6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
kvn
parents:
6849
diff
changeset
|
130 macro(EncodeISOArray) |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
131 macro(EncodeP) |
6848
8e47bac5643a
7054512: Compress class pointers after perm gen removal
roland
parents:
6823
diff
changeset
|
132 macro(EncodePKlass) |
0 | 133 macro(ExpD) |
134 macro(FastLock) | |
135 macro(FastUnlock) | |
136 macro(Goto) | |
137 macro(Halt) | |
138 macro(If) | |
139 macro(IfFalse) | |
140 macro(IfTrue) | |
141 macro(Initialize) | |
142 macro(JProj) | |
143 macro(Jump) | |
144 macro(JumpProj) | |
145 macro(LShiftI) | |
146 macro(LShiftL) | |
147 macro(LoadB) | |
624 | 148 macro(LoadUB) |
558
3b5ac9e7e6ea
6796746: rename LoadC (char) opcode class to LoadUS (unsigned short)
twisti
parents:
420
diff
changeset
|
149 macro(LoadUS) |
0 | 150 macro(LoadD) |
151 macro(LoadD_unaligned) | |
152 macro(LoadF) | |
153 macro(LoadI) | |
154 macro(LoadKlass) | |
164
c436414a719e
6703890: Compressed Oops: add LoadNKlass node to generate narrow oops (32-bits) compare instructions
kvn
parents:
145
diff
changeset
|
155 macro(LoadNKlass) |
0 | 156 macro(LoadL) |
157 macro(LoadL_unaligned) | |
158 macro(LoadPLocked) | |
159 macro(LoadP) | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
160 macro(LoadN) |
0 | 161 macro(LoadRange) |
162 macro(LoadS) | |
163 macro(Lock) | |
164 macro(LogD) | |
165 macro(Log10D) | |
166 macro(Loop) | |
3345 | 167 macro(LoopLimit) |
0 | 168 macro(Mach) |
169 macro(MachProj) | |
170 macro(MaxI) | |
171 macro(MemBarAcquire) | |
3849
f1c12354c3f7
7074017: Introduce MemBarAcquireLock/MemBarReleaseLock nodes for monitor enter/exit code paths
roland
parents:
3345
diff
changeset
|
172 macro(MemBarAcquireLock) |
0 | 173 macro(MemBarCPUOrder) |
174 macro(MemBarRelease) | |
3849
f1c12354c3f7
7074017: Introduce MemBarAcquireLock/MemBarReleaseLock nodes for monitor enter/exit code paths
roland
parents:
3345
diff
changeset
|
175 macro(MemBarReleaseLock) |
0 | 176 macro(MemBarVolatile) |
4763
1dc233a8c7fe
7121140: Allocation paths require explicit memory synchronization operations for RMO systems
roland
parents:
3854
diff
changeset
|
177 macro(MemBarStoreStore) |
0 | 178 macro(MergeMem) |
179 macro(MinI) | |
180 macro(ModD) | |
181 macro(ModF) | |
182 macro(ModI) | |
183 macro(ModL) | |
184 macro(MoveI2F) | |
185 macro(MoveF2I) | |
186 macro(MoveL2D) | |
187 macro(MoveD2L) | |
188 macro(MulD) | |
189 macro(MulF) | |
145 | 190 macro(MulHiL) |
0 | 191 macro(MulI) |
192 macro(MulL) | |
193 macro(Multi) | |
194 macro(NegD) | |
195 macro(NegF) | |
196 macro(NeverBranch) | |
197 macro(Opaque1) | |
198 macro(Opaque2) | |
199 macro(OrI) | |
200 macro(OrL) | |
201 macro(PCTable) | |
202 macro(Parm) | |
203 macro(PartialSubtypeCheck) | |
204 macro(Phi) | |
643
c771b7f43bbf
6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents:
624
diff
changeset
|
205 macro(PopCountI) |
c771b7f43bbf
6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents:
624
diff
changeset
|
206 macro(PopCountL) |
0 | 207 macro(PowD) |
3854 | 208 macro(PrefetchAllocation) |
0 | 209 macro(PrefetchRead) |
210 macro(PrefetchWrite) | |
211 macro(Proj) | |
212 macro(RShiftI) | |
213 macro(RShiftL) | |
214 macro(Region) | |
215 macro(Rethrow) | |
216 macro(Return) | |
217 macro(Root) | |
218 macro(RoundDouble) | |
219 macro(RoundFloat) | |
220 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
|
221 macro(SafePointScalarObject) |
0 | 222 macro(SCMemProj) |
223 macro(SinD) | |
224 macro(SqrtD) | |
225 macro(Start) | |
226 macro(StartOSR) | |
227 macro(StoreB) | |
228 macro(StoreC) | |
229 macro(StoreCM) | |
230 macro(StorePConditional) | |
420
a1980da045cc
6462850: generate biased locking code in C2 ideal graph
kvn
parents:
196
diff
changeset
|
231 macro(StoreIConditional) |
0 | 232 macro(StoreLConditional) |
233 macro(StoreD) | |
234 macro(StoreF) | |
235 macro(StoreI) | |
236 macro(StoreL) | |
237 macro(StoreP) | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
63
diff
changeset
|
238 macro(StoreN) |
6848
8e47bac5643a
7054512: Compress class pointers after perm gen removal
roland
parents:
6823
diff
changeset
|
239 macro(StoreNKlass) |
0 | 240 macro(StrComp) |
681 | 241 macro(StrEquals) |
242 macro(StrIndexOf) | |
0 | 243 macro(SubD) |
244 macro(SubF) | |
245 macro(SubI) | |
246 macro(SubL) | |
247 macro(TailCall) | |
248 macro(TailJump) | |
249 macro(TanD) | |
250 macro(ThreadLocal) | |
251 macro(Unlock) | |
252 macro(URShiftI) | |
253 macro(URShiftL) | |
254 macro(XorI) | |
255 macro(XorL) | |
256 macro(Vector) | |
257 macro(AddVB) | |
258 macro(AddVS) | |
259 macro(AddVI) | |
260 macro(AddVL) | |
261 macro(AddVF) | |
262 macro(AddVD) | |
263 macro(SubVB) | |
264 macro(SubVS) | |
265 macro(SubVI) | |
266 macro(SubVL) | |
267 macro(SubVF) | |
268 macro(SubVD) | |
6614
006050192a5a
6340864: Implement vectorization optimizations in hotspot-server
kvn
parents:
6179
diff
changeset
|
269 macro(MulVS) |
006050192a5a
6340864: Implement vectorization optimizations in hotspot-server
kvn
parents:
6179
diff
changeset
|
270 macro(MulVI) |
0 | 271 macro(MulVF) |
272 macro(MulVD) | |
273 macro(DivVF) | |
274 macro(DivVD) | |
6823 | 275 macro(LShiftCntV) |
276 macro(RShiftCntV) | |
0 | 277 macro(LShiftVB) |
278 macro(LShiftVS) | |
279 macro(LShiftVI) | |
6614
006050192a5a
6340864: Implement vectorization optimizations in hotspot-server
kvn
parents:
6179
diff
changeset
|
280 macro(LShiftVL) |
6179
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
281 macro(RShiftVB) |
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
282 macro(RShiftVS) |
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
283 macro(RShiftVI) |
6614
006050192a5a
6340864: Implement vectorization optimizations in hotspot-server
kvn
parents:
6179
diff
changeset
|
284 macro(RShiftVL) |
006050192a5a
6340864: Implement vectorization optimizations in hotspot-server
kvn
parents:
6179
diff
changeset
|
285 macro(URShiftVB) |
006050192a5a
6340864: Implement vectorization optimizations in hotspot-server
kvn
parents:
6179
diff
changeset
|
286 macro(URShiftVS) |
006050192a5a
6340864: Implement vectorization optimizations in hotspot-server
kvn
parents:
6179
diff
changeset
|
287 macro(URShiftVI) |
006050192a5a
6340864: Implement vectorization optimizations in hotspot-server
kvn
parents:
6179
diff
changeset
|
288 macro(URShiftVL) |
0 | 289 macro(AndV) |
290 macro(OrV) | |
291 macro(XorV) | |
6179
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
292 macro(LoadVector) |
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
293 macro(StoreVector) |
0 | 294 macro(Pack) |
295 macro(PackB) | |
296 macro(PackS) | |
297 macro(PackI) | |
298 macro(PackL) | |
299 macro(PackF) | |
300 macro(PackD) | |
6179
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
301 macro(Pack2L) |
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
302 macro(Pack2D) |
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
303 macro(ReplicateB) |
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
304 macro(ReplicateS) |
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
305 macro(ReplicateI) |
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
306 macro(ReplicateL) |
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
307 macro(ReplicateF) |
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
308 macro(ReplicateD) |
0 | 309 macro(Extract) |
310 macro(ExtractB) | |
6179
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
311 macro(ExtractUB) |
8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
kvn
parents:
6143
diff
changeset
|
312 macro(ExtractC) |
0 | 313 macro(ExtractS) |
314 macro(ExtractI) | |
315 macro(ExtractL) | |
316 macro(ExtractF) | |
317 macro(ExtractD) |