Mercurial > hg > graal-compiler
annotate src/share/vm/gc_implementation/includeDB_gc_parNew @ 1091:6aa7255741f3
6906727: UseCompressedOops: some card-marking fixes related to object arrays
Summary: Introduced a new write_ref_array(HeapWords* start, size_t count) method that does the requisite MemRegion range calculation so (some of the) clients of the erstwhile write_ref_array(MemRegion mr) do not need to worry. This removed all external uses of array_size(), which was also simplified and made private. Asserts were added to catch other possible issues. Further, less essential, fixes stemming from this investigation are deferred to CR 6904516 (to follow shortly in hs17).
Reviewed-by: kvn, coleenp, jmasa
author | ysr |
---|---|
date | Thu, 03 Dec 2009 15:01:57 -0800 |
parents | 5b39c489c39d |
children | c18cbe5936b8 |
rev | line source |
---|---|
0 | 1 // |
2 // Copyright (c) 2007 Sun Microsystems, Inc. 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 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. | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
22 // |
0 | 23 // |
24 | |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
25 asParNewGeneration.hpp adaptiveSizePolicy.hpp |
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
26 asParNewGeneration.hpp parNewGeneration.hpp |
0 | 27 |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
28 asParNewGeneration.cpp asParNewGeneration.hpp |
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
29 asParNewGeneration.cpp cmsAdaptiveSizePolicy.hpp |
0 | 30 asParNewGeneration.cpp cmsGCAdaptivePolicyCounters.hpp |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
31 asParNewGeneration.cpp defNewGeneration.inline.hpp |
528
37b3ca071522
6793825: Missing include dependancies for GCC without predefined headers
coleenp
parents:
263
diff
changeset
|
32 asParNewGeneration.cpp markOop.inline.hpp |
37b3ca071522
6793825: Missing include dependancies for GCC without predefined headers
coleenp
parents:
263
diff
changeset
|
33 asParNewGeneration.cpp markSweep.inline.hpp |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
34 asParNewGeneration.cpp oop.pcgc.inline.hpp |
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
35 asParNewGeneration.cpp parNewGeneration.hpp |
0 | 36 asParNewGeneration.cpp referencePolicy.hpp |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
37 asParNewGeneration.cpp spaceDecorator.hpp |
0 | 38 |
39 parCardTableModRefBS.cpp allocation.inline.hpp | |
40 parCardTableModRefBS.cpp cardTableModRefBS.hpp | |
41 parCardTableModRefBS.cpp cardTableRS.hpp | |
42 parCardTableModRefBS.cpp java.hpp | |
43 parCardTableModRefBS.cpp mutexLocker.hpp | |
44 parCardTableModRefBS.cpp sharedHeap.hpp | |
528
37b3ca071522
6793825: Missing include dependancies for GCC without predefined headers
coleenp
parents:
263
diff
changeset
|
45 parCardTableModRefBS.cpp space.inline.hpp |
0 | 46 parCardTableModRefBS.cpp universe.hpp |
47 parCardTableModRefBS.cpp virtualspace.hpp | |
48 | |
49 parGCAllocBuffer.cpp arrayOop.hpp | |
50 parGCAllocBuffer.cpp oop.inline.hpp | |
51 parGCAllocBuffer.cpp parGCAllocBuffer.hpp | |
52 parGCAllocBuffer.cpp sharedHeap.hpp | |
53 | |
54 parGCAllocBuffer.hpp allocation.hpp | |
55 parGCAllocBuffer.hpp globalDefinitions.hpp | |
56 parGCAllocBuffer.hpp threadLocalAllocBuffer.hpp | |
57 | |
58 parNewGeneration.cpp adaptiveSizePolicy.hpp | |
59 parNewGeneration.cpp ageTable.hpp | |
60 parNewGeneration.cpp concurrentMarkSweepGeneration.hpp | |
61 parNewGeneration.cpp copy.hpp | |
62 parNewGeneration.cpp defNewGeneration.inline.hpp | |
63 parNewGeneration.cpp genCollectedHeap.hpp | |
64 parNewGeneration.cpp genOopClosures.inline.hpp | |
65 parNewGeneration.cpp generation.hpp | |
66 parNewGeneration.cpp generation.inline.hpp | |
67 parNewGeneration.cpp globalDefinitions.hpp | |
68 parNewGeneration.cpp handles.hpp | |
69 parNewGeneration.cpp handles.inline.hpp | |
70 parNewGeneration.cpp java.hpp | |
71 parNewGeneration.cpp objArrayOop.hpp | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
72 parNewGeneration.cpp oop.inline.hpp |
0 | 73 parNewGeneration.cpp oop.pcgc.inline.hpp |
74 parNewGeneration.cpp parGCAllocBuffer.hpp | |
75 parNewGeneration.cpp parNewGeneration.hpp | |
76 parNewGeneration.cpp parOopClosures.inline.hpp | |
77 parNewGeneration.cpp referencePolicy.hpp | |
78 parNewGeneration.cpp resourceArea.hpp | |
79 parNewGeneration.cpp sharedHeap.hpp | |
80 parNewGeneration.cpp space.hpp | |
263
12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
113
diff
changeset
|
81 parNewGeneration.cpp spaceDecorator.hpp |
534 | 82 parNewGeneration.cpp thread.hpp |
0 | 83 parNewGeneration.cpp workgroup.hpp |
84 | |
85 parNewGeneration.hpp defNewGeneration.hpp | |
86 parNewGeneration.hpp parGCAllocBuffer.hpp | |
87 parNewGeneration.hpp taskqueue.hpp | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
88 |
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
89 parOopClosures.hpp genOopClosures.hpp |
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
90 |
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
91 parOopClosures.inline.hpp parNewGeneration.hpp |
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
92 parOopClosures.inline.hpp parOopClosures.hpp |