Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | 9d7a8ab3736b |
children | 95f6641e38e0 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_HPP | |
26 #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_HPP | |
27 | |
28 #include "gc_implementation/parallelScavenge/psPromotionLAB.hpp" | |
29 #include "memory/allocation.hpp" | |
30 #include "utilities/taskqueue.hpp" | |
24 | 31 |
25 // | 32 // |
26 // psPromotionManager is used by a single thread to manage object survival | 33 // psPromotionManager is used by a single thread to manage object survival |
27 // during a scavenge. The promotion manager contains thread local data only. | 34 // during a scavenge. The promotion manager contains thread local data only. |
28 // | 35 // |
189 | 196 |
190 template <class T> inline void claim_or_forward_depth(T* p); | 197 template <class T> inline void claim_or_forward_depth(T* p); |
191 | 198 |
192 TASKQUEUE_STATS_ONLY(inline void record_steal(StarTask& p);) | 199 TASKQUEUE_STATS_ONLY(inline void record_steal(StarTask& p);) |
193 }; | 200 }; |
201 | |
202 #endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_HPP |