annotate src/share/vm/gc_implementation/includeDB_gc_serial @ 1387:0bfd3fb24150

6858496: Clear all SoftReferences before an out-of-memory due to GC overhead limit. Summary: Ensure a full GC that clears SoftReferences before throwing an out-of-memory Reviewed-by: ysr, jcoomes
author jmasa
date Tue, 13 Apr 2010 13:52:10 -0700
parents e018e6884bd8
children c18cbe5936b8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 //
1387
0bfd3fb24150 6858496: Clear all SoftReferences before an out-of-memory due to GC overhead limit.
jmasa
parents: 1145
diff changeset
2 // Copyright 2007-2010 Sun Microsystems, Inc. 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 //
a61af66fc99e Initial load
duke
parents:
diff changeset
19 // Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
a61af66fc99e Initial load
duke
parents:
diff changeset
20 // CA 95054 USA or visit www.sun.com if you need additional information or
a61af66fc99e Initial load
duke
parents:
diff changeset
21 // have any questions.
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