Mercurial > hg > graal-jvmci-8
annotate src/share/vm/gc_implementation/includeDB_gc_shared @ 534:5cfd8d19e546
6786503: Overflow list performance can be improved
Summary: Avoid overflow list walk in CMS & ParNew when it is unnecessary. Fix a couple of correctness issues, including a C-heap leak, in ParNew at the intersection of promotion failure, work queue overflow and object array chunking. Add stress testing option and related assertion checking.
Reviewed-by: jmasa
author | ysr |
---|---|
date | Mon, 26 Jan 2009 12:47:21 -0800 |
parents | 818efdefcc99 |
children | 0fbdb4381b99 |
rev | line source |
---|---|
0 | 1 // |
196 | 2 // Copyright 2001-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. | |
12
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
22 // |
0 | 23 // |
24 | |
25 // NOTE: DO NOT CHANGE THIS COPYRIGHT TO NEW STYLE - IT WILL BREAK makeDeps! | |
26 | |
342
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
27 concurrentGCThread.cpp concurrentGCThread.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
28 concurrentGCThread.cpp init.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
29 concurrentGCThread.cpp instanceRefKlass.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
30 concurrentGCThread.cpp interfaceSupport.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
31 concurrentGCThread.cpp java.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
32 concurrentGCThread.cpp javaCalls.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
33 concurrentGCThread.cpp oop.inline.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
34 concurrentGCThread.cpp systemDictionary.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
35 |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
36 concurrentGCThread.hpp thread.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
37 |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
38 coTracker.hpp globalDefinitions.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
39 coTracker.hpp numberSeq.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
40 |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
41 coTracker.cpp coTracker.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
42 coTracker.cpp os.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
43 |
12
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
44 allocationStats.cpp allocationStats.hpp |
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
45 allocationStats.cpp ostream.hpp |
0 | 46 |
12
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
47 allocationStats.hpp allocation.hpp |
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
48 allocationStats.hpp gcUtil.hpp |
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
49 allocationStats.hpp globalDefinitions.hpp |
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
50 |
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
51 gcAdaptivePolicyCounters.hpp adaptiveSizePolicy.hpp |
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
52 gcAdaptivePolicyCounters.hpp gcPolicyCounters.hpp |
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
53 |
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
54 gcAdaptivePolicyCounters.cpp resourceArea.hpp |
0 | 55 gcAdaptivePolicyCounters.cpp gcAdaptivePolicyCounters.hpp |
56 | |
342
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
57 gcOverheadReporter.cpp allocation.inline.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
58 gcOverheadReporter.cpp concurrentGCThread.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
59 gcOverheadReporter.cpp coTracker.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
60 gcOverheadReporter.cpp gcOverheadReporter.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
61 gcOverheadReporter.cpp ostream.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
62 gcOverheadReporter.cpp thread_<os_family>.inline.hpp |
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
63 |
0 | 64 gSpaceCounters.cpp generation.hpp |
65 gSpaceCounters.cpp resourceArea.hpp | |
66 gSpaceCounters.cpp gSpaceCounters.hpp | |
67 | |
68 gSpaceCounters.hpp generation.hpp | |
69 gSpaceCounters.hpp perfData.hpp | |
70 gSpaceCounters.hpp generationCounters.hpp | |
71 | |
72 immutableSpace.cpp immutableSpace.hpp | |
73 immutableSpace.cpp oop.inline.hpp | |
74 immutableSpace.cpp universe.hpp | |
75 | |
76 isGCActiveMark.hpp parallelScavengeHeap.hpp | |
77 | |
12
6432c3bb6240
6668743: CMS: Consolidate block statistics reporting code
ysr
parents:
0
diff
changeset
|
78 markSweep.inline.hpp psParallelCompact.hpp |
0 | 79 |
80 mutableNUMASpace.cpp mutableNUMASpace.hpp | |
165
437d03ea40b1
6703888: Compressed Oops: use the 32-bits gap after klass in a object
kvn
parents:
12
diff
changeset
|
81 mutableNUMASpace.cpp oop.inline.hpp |
0 | 82 mutableNUMASpace.cpp sharedHeap.hpp |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
165
diff
changeset
|
83 mutableNUMASpace.cpp spaceDecorator.hpp |
0 | 84 mutableNUMASpace.cpp thread_<os_family>.inline.hpp |
85 | |
86 mutableNUMASpace.hpp mutableSpace.hpp | |
87 mutableNUMASpace.hpp gcUtil.hpp | |
88 | |
89 mutableSpace.cpp mutableSpace.hpp | |
90 mutableSpace.cpp oop.inline.hpp | |
91 mutableSpace.cpp safepoint.hpp | |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
165
diff
changeset
|
92 mutableSpace.cpp spaceDecorator.hpp |
0 | 93 mutableSpace.cpp thread.hpp |
94 | |
95 spaceCounters.cpp resourceArea.hpp | |
96 spaceCounters.cpp spaceCounters.hpp | |
97 | |
98 spaceCounters.hpp immutableSpace.hpp | |
99 spaceCounters.hpp mutableSpace.hpp | |
100 spaceCounters.hpp perfData.hpp | |
101 spaceCounters.hpp generationCounters.hpp | |
342
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
12
diff
changeset
|
102 |
526 | 103 vmGCOperations.cpp g1CollectedHeap.inline.hpp |