annotate src/share/vm/gc_implementation/includeDB_gc_serial @ 1721:413ad0331a0c

6977924: Changes for 6975078 produce build error with certain gcc versions Summary: The changes introduced for 6975078 assign badHeapOopVal to the _allocation field in the ResourceObj class. In 32 bit linux builds with certain versions of gcc this assignment will be flagged as an error while compiling allocation.cpp. In 32 bit builds the constant value badHeapOopVal (which is cast to an intptr_t) is negative. The _allocation field is typed as an unsigned intptr_t and gcc catches this as an error. Reviewed-by: jcoomes, ysr, phh
author johnc
date Wed, 18 Aug 2010 10:59:06 -0700
parents c18cbe5936b8
children 894b1d7c7e01
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 //
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1387
diff changeset
2 // Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a61af66fc99e Initial load
duke
parents:
diff changeset
4 //
a61af66fc99e Initial load
duke
parents:
diff changeset
5 // This code is free software; you can redistribute it and/or modify it
a61af66fc99e Initial load
duke
parents:
diff changeset
6 // under the terms of the GNU General Public License version 2 only, as
a61af66fc99e Initial load
duke
parents:
diff changeset
7 // published by the Free Software Foundation.
a61af66fc99e Initial load
duke
parents:
diff changeset
8 //
a61af66fc99e Initial load
duke
parents:
diff changeset
9 // This code is distributed in the hope that it will be useful, but WITHOUT
a61af66fc99e Initial load
duke
parents:
diff changeset
10 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a61af66fc99e Initial load
duke
parents:
diff changeset
11 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a61af66fc99e Initial load
duke
parents:
diff changeset
12 // version 2 for more details (a copy is included in the LICENSE file that
a61af66fc99e Initial load
duke
parents:
diff changeset
13 // accompanied this code).
a61af66fc99e Initial load
duke
parents:
diff changeset
14 //
a61af66fc99e Initial load
duke
parents:
diff changeset
15 // You should have received a copy of the GNU General Public License version
a61af66fc99e Initial load
duke
parents:
diff changeset
16 // 2 along with this work; if not, write to the Free Software Foundation,
a61af66fc99e Initial load
duke
parents:
diff changeset
17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a61af66fc99e Initial load
duke
parents:
diff changeset
18 //
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1387
diff changeset
19 // Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1387
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: 1387
diff changeset
21 // questions.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
22 //
a61af66fc99e Initial load
duke
parents:
diff changeset
23 //
a61af66fc99e Initial load
duke
parents:
diff changeset
24
a61af66fc99e Initial load
duke
parents:
diff changeset
25 adaptiveSizePolicy.hpp collectedHeap.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
26 adaptiveSizePolicy.hpp gcCause.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
27 adaptiveSizePolicy.hpp gcUtil.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
28 adaptiveSizePolicy.hpp allocation.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
29 adaptiveSizePolicy.hpp universe.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
30
a61af66fc99e Initial load
duke
parents:
diff changeset
31 adaptiveSizePolicy.cpp adaptiveSizePolicy.hpp
1387
0bfd3fb24150 6858496: Clear all SoftReferences before an out-of-memory due to GC overhead limit.
jmasa
parents: 1145
diff changeset
32 adaptiveSizePolicy.cpp collectorPolicy.hpp
0
a61af66fc99e Initial load
duke
parents:
diff changeset
33 adaptiveSizePolicy.cpp gcCause.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
34 adaptiveSizePolicy.cpp ostream.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
35 adaptiveSizePolicy.cpp timer.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
36
a61af66fc99e Initial load
duke
parents:
diff changeset
37 ageTable.cpp ageTable.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
38 ageTable.cpp collectorPolicy.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
39 ageTable.cpp copy.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
40 ageTable.cpp gcPolicyCounters.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
41 ageTable.cpp resourceArea.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
42 ageTable.cpp sharedHeap.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
43
a61af66fc99e Initial load
duke
parents:
diff changeset
44 ageTable.hpp markOop.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
45 ageTable.hpp oop.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
46 ageTable.hpp perfData.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
47
a61af66fc99e Initial load
duke
parents:
diff changeset
48 collectorCounters.cpp collectorCounters.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
49 collectorCounters.cpp resourceArea.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
50
a61af66fc99e Initial load
duke
parents:
diff changeset
51 collectorCounters.hpp perfData.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
52
a61af66fc99e Initial load
duke
parents:
diff changeset
53 cSpaceCounters.cpp resourceArea.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
54 cSpaceCounters.cpp cSpaceCounters.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
55
a61af66fc99e Initial load
duke
parents:
diff changeset
56 cSpaceCounters.hpp space.inline.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
57 cSpaceCounters.hpp perfData.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
58 cSpaceCounters.hpp generationCounters.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
59
a61af66fc99e Initial load
duke
parents:
diff changeset
60 gcPolicyCounters.cpp resourceArea.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
61 gcPolicyCounters.cpp gcPolicyCounters.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
62
a61af66fc99e Initial load
duke
parents:
diff changeset
63 gcPolicyCounters.hpp perfData.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
64
a61af66fc99e Initial load
duke
parents:
diff changeset
65 gcStats.cpp gcStats.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
66 gcStats.cpp gcUtil.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
67
a61af66fc99e Initial load
duke
parents:
diff changeset
68 gcStats.hpp gcUtil.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
69
a61af66fc99e Initial load
duke
parents:
diff changeset
70 gcUtil.cpp gcUtil.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
71
a61af66fc99e Initial load
duke
parents:
diff changeset
72 gcUtil.hpp allocation.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
73 gcUtil.hpp debug.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
74 gcUtil.hpp globalDefinitions.hpp
1145
e018e6884bd8 6631166: CMS: better heuristics when combatting fragmentation
ysr
parents: 0
diff changeset
75 gcUtil.hpp ostream.hpp
0
a61af66fc99e Initial load
duke
parents:
diff changeset
76 gcUtil.hpp timer.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
77
a61af66fc99e Initial load
duke
parents:
diff changeset
78 generationCounters.cpp generationCounters.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
79 generationCounters.cpp resourceArea.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
80
a61af66fc99e Initial load
duke
parents:
diff changeset
81 generationCounters.hpp perfData.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
82 generationCounters.hpp virtualspace.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
83
a61af66fc99e Initial load
duke
parents:
diff changeset
84 immutableSpace.hpp iterator.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
85
a61af66fc99e Initial load
duke
parents:
diff changeset
86 liveRange.hpp copy.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
87 liveRange.hpp memRegion.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
88
a61af66fc99e Initial load
duke
parents:
diff changeset
89 markSweep.cpp collectedHeap.inline.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
90 markSweep.cpp markSweep.inline.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
91 markSweep.cpp oop.inline.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
92
a61af66fc99e Initial load
duke
parents:
diff changeset
93 markSweep.hpp growableArray.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
94 markSweep.hpp markOop.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
95 markSweep.hpp oop.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
96 markSweep.hpp timer.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
97 markSweep.hpp universe.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
98
a61af66fc99e Initial load
duke
parents:
diff changeset
99 markSweep.inline.hpp collectedHeap.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
100 markSweep.inline.hpp markSweep.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
101
a61af66fc99e Initial load
duke
parents:
diff changeset
102 mutableSpace.hpp immutableSpace.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
103 mutableSpace.hpp memRegion.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
104 mutableSpace.hpp copy.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
105
a61af66fc99e Initial load
duke
parents:
diff changeset
106 vmGCOperations.cpp vmGCOperations.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
107 vmGCOperations.cpp dtrace.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
108 vmGCOperations.cpp classLoader.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
109 vmGCOperations.cpp gcLocker.inline.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
110 vmGCOperations.cpp genCollectedHeap.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
111 vmGCOperations.cpp handles.inline.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
112 vmGCOperations.cpp init.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
113 vmGCOperations.cpp instanceKlass.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
114 vmGCOperations.cpp instanceRefKlass.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
115 vmGCOperations.cpp interfaceSupport.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
116 vmGCOperations.cpp javaClasses.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
117 vmGCOperations.cpp jvmtiExport.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
118 vmGCOperations.cpp oopFactory.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
119 vmGCOperations.cpp preserveException.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
120
a61af66fc99e Initial load
duke
parents:
diff changeset
121 vmGCOperations.hpp vm_operations.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
122 vmGCOperations.hpp heapInspection.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
123 vmGCOperations.hpp handles.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
124 vmGCOperations.hpp jniHandles.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
125 vmGCOperations.hpp synchronizer.hpp