Mercurial > hg > graal-compiler
annotate src/share/vm/precompiled.hpp @ 2149:7e37af9d69ef
7011379: G1: overly long concurrent marking cycles
Summary: This changeset introduces filtering of SATB buffers at the point when they are about to be enqueued. If this filtering clears enough entries on each buffer, the buffer can then be re-used and not enqueued. This cuts down the number of SATB buffers that need to be processed by the concurrent marking threads.
Reviewed-by: johnc, ysr
author | tonyp |
---|---|
date | Wed, 19 Jan 2011 09:35:17 -0500 |
parents | c760f78e0a53 |
children | 3582bf76420e |
rev | line source |
---|---|
1972 | 1 /* |
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. | |
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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | |
20 * or visit www.oracle.com if you need additional information or have any | |
21 * questions. | |
22 * | |
23 */ | |
24 | |
1983
c760f78e0a53
7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents:
1980
diff
changeset
|
25 // Precompiled headers are turned off for Sun Studion, |
c760f78e0a53
7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents:
1980
diff
changeset
|
26 // or if the user passes USE_PRECOMPILED_HEADER=0 to the makefiles. |
c760f78e0a53
7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents:
1980
diff
changeset
|
27 #ifndef DONT_USE_PRECOMPILED_HEADER |
c760f78e0a53
7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents:
1980
diff
changeset
|
28 |
1972 | 29 # include "asm/assembler.hpp" |
30 # include "asm/assembler.inline.hpp" | |
31 # include "asm/codeBuffer.hpp" | |
32 # include "asm/register.hpp" | |
33 # include "ci/ciArray.hpp" | |
34 # include "ci/ciArrayKlass.hpp" | |
35 # include "ci/ciClassList.hpp" | |
36 # include "ci/ciConstant.hpp" | |
37 # include "ci/ciConstantPoolCache.hpp" | |
38 # include "ci/ciEnv.hpp" | |
39 # include "ci/ciExceptionHandler.hpp" | |
40 # include "ci/ciField.hpp" | |
41 # include "ci/ciFlags.hpp" | |
42 # include "ci/ciInstance.hpp" | |
43 # include "ci/ciInstanceKlass.hpp" | |
44 # include "ci/ciInstanceKlassKlass.hpp" | |
45 # include "ci/ciKlass.hpp" | |
46 # include "ci/ciKlassKlass.hpp" | |
47 # include "ci/ciMethod.hpp" | |
48 # include "ci/ciNullObject.hpp" | |
49 # include "ci/ciObjArrayKlass.hpp" | |
50 # include "ci/ciObject.hpp" | |
51 # include "ci/ciObjectFactory.hpp" | |
52 # include "ci/ciSignature.hpp" | |
53 # include "ci/ciStreams.hpp" | |
54 # include "ci/ciSymbol.hpp" | |
55 # include "ci/ciType.hpp" | |
56 # include "ci/ciTypeArrayKlass.hpp" | |
57 # include "ci/ciUtilities.hpp" | |
58 # include "ci/compilerInterface.hpp" | |
59 # include "classfile/classFileParser.hpp" | |
60 # include "classfile/classFileStream.hpp" | |
61 # include "classfile/classLoader.hpp" | |
62 # include "classfile/javaClasses.hpp" | |
63 # include "classfile/symbolTable.hpp" | |
64 # include "classfile/systemDictionary.hpp" | |
65 # include "classfile/vmSymbols.hpp" | |
66 # include "code/codeBlob.hpp" | |
67 # include "code/codeCache.hpp" | |
68 # include "code/compressedStream.hpp" | |
69 # include "code/debugInfo.hpp" | |
70 # include "code/debugInfoRec.hpp" | |
71 # include "code/dependencies.hpp" | |
72 # include "code/exceptionHandlerTable.hpp" | |
73 # include "code/jvmticmlr.h" | |
74 # include "code/location.hpp" | |
75 # include "code/nmethod.hpp" | |
76 # include "code/oopRecorder.hpp" | |
77 # include "code/pcDesc.hpp" | |
78 # include "code/relocInfo.hpp" | |
79 # include "code/stubs.hpp" | |
80 # include "code/vmreg.hpp" | |
81 # include "compiler/disassembler.hpp" | |
82 # include "compiler/methodLiveness.hpp" | |
83 # include "compiler/oopMap.hpp" | |
84 # include "gc_implementation/shared/adaptiveSizePolicy.hpp" | |
85 # include "gc_implementation/shared/ageTable.hpp" | |
86 # include "gc_implementation/shared/allocationStats.hpp" | |
87 # include "gc_implementation/shared/cSpaceCounters.hpp" | |
88 # include "gc_implementation/shared/collectorCounters.hpp" | |
89 # include "gc_implementation/shared/gSpaceCounters.hpp" | |
90 # include "gc_implementation/shared/gcStats.hpp" | |
91 # include "gc_implementation/shared/gcUtil.hpp" | |
92 # include "gc_implementation/shared/generationCounters.hpp" | |
93 # include "gc_implementation/shared/immutableSpace.hpp" | |
94 # include "gc_implementation/shared/markSweep.hpp" | |
95 # include "gc_implementation/shared/markSweep.inline.hpp" | |
96 # include "gc_implementation/shared/mutableSpace.hpp" | |
97 # include "gc_implementation/shared/spaceCounters.hpp" | |
98 # include "gc_implementation/shared/spaceDecorator.hpp" | |
99 # include "gc_interface/collectedHeap.hpp" | |
100 # include "gc_interface/collectedHeap.inline.hpp" | |
101 # include "gc_interface/gcCause.hpp" | |
102 # include "interpreter/abstractInterpreter.hpp" | |
103 # include "interpreter/bytecode.hpp" | |
104 # include "interpreter/bytecodeHistogram.hpp" | |
105 # include "interpreter/bytecodeInterpreter.hpp" | |
106 # include "interpreter/bytecodeInterpreter.inline.hpp" | |
107 # include "interpreter/bytecodeTracer.hpp" | |
108 # include "interpreter/bytecodes.hpp" | |
109 # include "interpreter/cppInterpreter.hpp" | |
110 # include "interpreter/interpreter.hpp" | |
111 # include "interpreter/invocationCounter.hpp" | |
112 # include "interpreter/linkResolver.hpp" | |
113 # include "interpreter/templateInterpreter.hpp" | |
114 # include "interpreter/templateTable.hpp" | |
115 # include "jvmtifiles/jvmti.h" | |
116 # include "memory/allocation.hpp" | |
117 # include "memory/allocation.inline.hpp" | |
118 # include "memory/barrierSet.hpp" | |
119 # include "memory/barrierSet.inline.hpp" | |
120 # include "memory/blockOffsetTable.hpp" | |
121 # include "memory/blockOffsetTable.inline.hpp" | |
122 # include "memory/cardTableModRefBS.hpp" | |
123 # include "memory/collectorPolicy.hpp" | |
124 # include "memory/compactingPermGenGen.hpp" | |
125 # include "memory/defNewGeneration.hpp" | |
126 # include "memory/gcLocker.hpp" | |
127 # include "memory/genCollectedHeap.hpp" | |
128 # include "memory/genOopClosures.hpp" | |
129 # include "memory/genRemSet.hpp" | |
130 # include "memory/generation.hpp" | |
131 # include "memory/generation.inline.hpp" | |
132 # include "memory/heap.hpp" | |
133 # include "memory/iterator.hpp" | |
134 # include "memory/memRegion.hpp" | |
135 # include "memory/modRefBarrierSet.hpp" | |
136 # include "memory/oopFactory.hpp" | |
137 # include "memory/permGen.hpp" | |
138 # include "memory/referencePolicy.hpp" | |
139 # include "memory/referenceProcessor.hpp" | |
140 # include "memory/resourceArea.hpp" | |
141 # include "memory/sharedHeap.hpp" | |
142 # include "memory/space.hpp" | |
143 # include "memory/space.inline.hpp" | |
144 # include "memory/specialized_oop_closures.hpp" | |
145 # include "memory/threadLocalAllocBuffer.hpp" | |
146 # include "memory/threadLocalAllocBuffer.inline.hpp" | |
147 # include "memory/universe.hpp" | |
148 # include "memory/universe.inline.hpp" | |
149 # include "memory/watermark.hpp" | |
150 # include "oops/arrayKlass.hpp" | |
151 # include "oops/arrayOop.hpp" | |
152 # include "oops/constMethodOop.hpp" | |
153 # include "oops/constantPoolOop.hpp" | |
154 # include "oops/cpCacheOop.hpp" | |
155 # include "oops/instanceKlass.hpp" | |
156 # include "oops/instanceOop.hpp" | |
157 # include "oops/instanceRefKlass.hpp" | |
158 # include "oops/klass.hpp" | |
159 # include "oops/klassOop.hpp" | |
160 # include "oops/klassPS.hpp" | |
161 # include "oops/klassVtable.hpp" | |
162 # include "oops/markOop.hpp" | |
163 # include "oops/markOop.inline.hpp" | |
164 # include "oops/methodDataOop.hpp" | |
165 # include "oops/methodOop.hpp" | |
166 # include "oops/objArrayKlass.hpp" | |
167 # include "oops/objArrayOop.hpp" | |
168 # include "oops/oop.hpp" | |
169 # include "oops/oop.inline.hpp" | |
170 # include "oops/oop.inline2.hpp" | |
171 # include "oops/oopsHierarchy.hpp" | |
172 # include "oops/symbolOop.hpp" | |
173 # include "oops/typeArrayKlass.hpp" | |
174 # include "oops/typeArrayOop.hpp" | |
175 # include "prims/jni.h" | |
176 # include "prims/jvm.h" | |
177 # include "prims/jvmtiExport.hpp" | |
178 # include "prims/methodHandles.hpp" | |
179 # include "runtime/arguments.hpp" | |
180 # include "runtime/atomic.hpp" | |
181 # include "runtime/deoptimization.hpp" | |
182 # include "runtime/extendedPC.hpp" | |
183 # include "runtime/fieldDescriptor.hpp" | |
184 # include "runtime/fieldType.hpp" | |
185 # include "runtime/frame.hpp" | |
186 # include "runtime/frame.inline.hpp" | |
187 # include "runtime/globals.hpp" | |
188 # include "runtime/globals_extension.hpp" | |
189 # include "runtime/handles.hpp" | |
190 # include "runtime/handles.inline.hpp" | |
191 # include "runtime/icache.hpp" | |
192 # include "runtime/init.hpp" | |
193 # include "runtime/interfaceSupport.hpp" | |
194 # include "runtime/java.hpp" | |
195 # include "runtime/javaCalls.hpp" | |
196 # include "runtime/javaFrameAnchor.hpp" | |
197 # include "runtime/jniHandles.hpp" | |
198 # include "runtime/monitorChunk.hpp" | |
199 # include "runtime/mutex.hpp" | |
200 # include "runtime/mutexLocker.hpp" | |
201 # include "runtime/objectMonitor.hpp" | |
202 # include "runtime/orderAccess.hpp" | |
203 # include "runtime/os.hpp" | |
204 # include "runtime/osThread.hpp" | |
205 # include "runtime/perfData.hpp" | |
206 # include "runtime/perfMemory.hpp" | |
207 # include "runtime/prefetch.hpp" | |
208 # include "runtime/reflection.hpp" | |
209 # include "runtime/reflectionCompat.hpp" | |
210 # include "runtime/reflectionUtils.hpp" | |
211 # include "runtime/registerMap.hpp" | |
212 # include "runtime/safepoint.hpp" | |
213 # include "runtime/sharedRuntime.hpp" | |
214 # include "runtime/signature.hpp" | |
215 # include "runtime/stackValue.hpp" | |
216 # include "runtime/stackValueCollection.hpp" | |
217 # include "runtime/stubCodeGenerator.hpp" | |
218 # include "runtime/stubRoutines.hpp" | |
219 # include "runtime/synchronizer.hpp" | |
220 # include "runtime/thread.hpp" | |
221 # include "runtime/threadLocalStorage.hpp" | |
222 # include "runtime/timer.hpp" | |
223 # include "runtime/unhandledOops.hpp" | |
224 # include "runtime/vframe.hpp" | |
225 # include "runtime/virtualspace.hpp" | |
226 # include "runtime/vmThread.hpp" | |
227 # include "runtime/vm_operations.hpp" | |
228 # include "runtime/vm_version.hpp" | |
229 # include "services/lowMemoryDetector.hpp" | |
230 # include "services/memoryPool.hpp" | |
231 # include "services/memoryService.hpp" | |
232 # include "services/memoryUsage.hpp" | |
233 # include "utilities/accessFlags.hpp" | |
234 # include "utilities/array.hpp" | |
235 # include "utilities/bitMap.hpp" | |
236 # include "utilities/bitMap.inline.hpp" | |
237 # include "utilities/constantTag.hpp" | |
238 # include "utilities/copy.hpp" | |
239 # include "utilities/debug.hpp" | |
240 # include "utilities/exceptions.hpp" | |
241 # include "utilities/globalDefinitions.hpp" | |
242 # include "utilities/growableArray.hpp" | |
243 # include "utilities/hashtable.hpp" | |
244 # include "utilities/histogram.hpp" | |
245 # include "utilities/macros.hpp" | |
246 # include "utilities/numberSeq.hpp" | |
247 # include "utilities/ostream.hpp" | |
248 # include "utilities/preserveException.hpp" | |
249 # include "utilities/sizes.hpp" | |
250 # include "utilities/taskqueue.hpp" | |
251 # include "utilities/top.hpp" | |
252 # include "utilities/utf8.hpp" | |
253 # include "utilities/workgroup.hpp" | |
254 # include "utilities/yieldingWorkgroup.hpp" | |
255 #ifdef COMPILER2 | |
256 # include "libadt/dict.hpp" | |
257 # include "libadt/port.hpp" | |
258 # include "libadt/set.hpp" | |
259 # include "libadt/vectset.hpp" | |
260 # include "opto/addnode.hpp" | |
261 # include "opto/adlcVMDeps.hpp" | |
262 # include "opto/block.hpp" | |
263 # include "opto/c2_globals.hpp" | |
264 # include "opto/callnode.hpp" | |
265 # include "opto/cfgnode.hpp" | |
266 # include "opto/compile.hpp" | |
267 # include "opto/connode.hpp" | |
268 # include "opto/idealGraphPrinter.hpp" | |
269 # include "opto/loopnode.hpp" | |
270 # include "opto/machnode.hpp" | |
271 # include "opto/matcher.hpp" | |
272 # include "opto/memnode.hpp" | |
273 # include "opto/mulnode.hpp" | |
274 # include "opto/multnode.hpp" | |
275 # include "opto/node.hpp" | |
276 # include "opto/opcodes.hpp" | |
277 # include "opto/optoreg.hpp" | |
278 # include "opto/phase.hpp" | |
279 # include "opto/phaseX.hpp" | |
280 # include "opto/regalloc.hpp" | |
281 # include "opto/regmask.hpp" | |
282 # include "opto/runtime.hpp" | |
283 # include "opto/subnode.hpp" | |
284 # include "opto/type.hpp" | |
285 # include "opto/vectornode.hpp" | |
286 #endif // COMPILER2 | |
287 #ifdef COMPILER1 | |
288 # include "c1/c1_Compilation.hpp" | |
289 # include "c1/c1_Defs.hpp" | |
290 # include "c1/c1_FrameMap.hpp" | |
291 # include "c1/c1_LIR.hpp" | |
292 # include "c1/c1_MacroAssembler.hpp" | |
293 # include "c1/c1_ValueType.hpp" | |
294 # include "c1/c1_globals.hpp" | |
295 #endif // COMPILER1 | |
296 #ifndef SERIALGC | |
297 # include "gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp" | |
298 # include "gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp" | |
299 # include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp" | |
300 # include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp" | |
301 # include "gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp" | |
302 # include "gc_implementation/concurrentMarkSweep/freeChunk.hpp" | |
303 # include "gc_implementation/concurrentMarkSweep/freeList.hpp" | |
304 # include "gc_implementation/concurrentMarkSweep/promotionInfo.hpp" | |
305 # include "gc_implementation/g1/dirtyCardQueue.hpp" | |
306 # include "gc_implementation/g1/g1BlockOffsetTable.hpp" | |
307 # include "gc_implementation/g1/g1BlockOffsetTable.inline.hpp" | |
308 # include "gc_implementation/g1/g1OopClosures.hpp" | |
309 # include "gc_implementation/g1/g1_globals.hpp" | |
310 # include "gc_implementation/g1/g1_specialized_oop_closures.hpp" | |
311 # include "gc_implementation/g1/ptrQueue.hpp" | |
312 # include "gc_implementation/g1/satbQueue.hpp" | |
313 # include "gc_implementation/parNew/parGCAllocBuffer.hpp" | |
314 # include "gc_implementation/parNew/parOopClosures.hpp" | |
315 # include "gc_implementation/parallelScavenge/objectStartArray.hpp" | |
316 # include "gc_implementation/parallelScavenge/parMarkBitMap.hpp" | |
317 # include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp" | |
318 # include "gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp" | |
319 # include "gc_implementation/parallelScavenge/psCompactionManager.hpp" | |
320 # include "gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp" | |
321 # include "gc_implementation/parallelScavenge/psGenerationCounters.hpp" | |
322 # include "gc_implementation/parallelScavenge/psOldGen.hpp" | |
323 # include "gc_implementation/parallelScavenge/psParallelCompact.hpp" | |
324 # include "gc_implementation/parallelScavenge/psPermGen.hpp" | |
325 # include "gc_implementation/parallelScavenge/psVirtualspace.hpp" | |
326 # include "gc_implementation/parallelScavenge/psYoungGen.hpp" | |
327 # include "gc_implementation/shared/gcAdaptivePolicyCounters.hpp" | |
328 # include "gc_implementation/shared/gcPolicyCounters.hpp" | |
329 #endif // SERIALGC | |
1983
c760f78e0a53
7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents:
1980
diff
changeset
|
330 |
c760f78e0a53
7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents:
1980
diff
changeset
|
331 #endif // !DONT_USE_PRECOMPILED_HEADER |