Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp @ 941:8b46c4d82093
4957990: Perm heap bloat in JVM
Summary: Treat ProfileData in MDO's as a source of weak, not strong, roots. Fixes the bug for stop-world collection -- the case of concurrent collection will be fixed separately.
Reviewed-by: jcoomes, jmasa, kvn, never
author | ysr |
---|---|
date | Wed, 02 Sep 2009 00:04:29 -0700 |
parents | ad8c8ca4ab0f |
children | 89e0543e1737 |
comparison
equal
deleted
inserted
replaced
940:8624da129f0b | 941:8b46c4d82093 |
---|---|
91 GrowableArray<size_t>* _region_overflow_stack; | 91 GrowableArray<size_t>* _region_overflow_stack; |
92 #endif | 92 #endif |
93 | 93 |
94 #if 1 // does this happen enough to need a per thread stack? | 94 #if 1 // does this happen enough to need a per thread stack? |
95 GrowableArray<Klass*>* _revisit_klass_stack; | 95 GrowableArray<Klass*>* _revisit_klass_stack; |
96 GrowableArray<DataLayout*>* _revisit_mdo_stack; | |
96 #endif | 97 #endif |
97 static ParMarkBitMap* _mark_bitmap; | 98 static ParMarkBitMap* _mark_bitmap; |
98 | 99 |
99 Action _action; | 100 Action _action; |
100 | 101 |
152 bool should_reset_only(); | 153 bool should_reset_only(); |
153 | 154 |
154 #if 1 | 155 #if 1 |
155 // Probably stays as a growable array | 156 // Probably stays as a growable array |
156 GrowableArray<Klass*>* revisit_klass_stack() { return _revisit_klass_stack; } | 157 GrowableArray<Klass*>* revisit_klass_stack() { return _revisit_klass_stack; } |
158 GrowableArray<DataLayout*>* revisit_mdo_stack() { return _revisit_mdo_stack; } | |
157 #endif | 159 #endif |
158 | 160 |
159 // Save oop for later processing. Must not fail. | 161 // Save oop for later processing. Must not fail. |
160 void save_for_scanning(oop m); | 162 void save_for_scanning(oop m); |
161 // Get a oop for scanning. If returns null, no oop were found. | 163 // Get a oop for scanning. If returns null, no oop were found. |