Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp @ 6725:da91efe96a93
6964458: Reimplement class meta-data storage to use native memory
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author | coleenp |
---|---|
date | Sat, 01 Sep 2012 13:25:18 -0400 |
parents | d2a62e0f25eb |
children | 22b8d3d181d9 |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
135 template <class T> static inline bool should_scavenge(T* p, bool check_to_space); | 135 template <class T> static inline bool should_scavenge(T* p, bool check_to_space); |
136 | 136 |
137 template <class T, bool promote_immediately> | 137 template <class T, bool promote_immediately> |
138 inline static void copy_and_push_safe_barrier(PSPromotionManager* pm, T* p); | 138 inline static void copy_and_push_safe_barrier(PSPromotionManager* pm, T* p); |
139 | 139 |
140 static void copy_and_push_safe_barrier_from_klass(PSPromotionManager* pm, oop* p); | |
141 | |
140 // Is an object in the young generation | 142 // Is an object in the young generation |
141 // This assumes that the HeapWord argument is in the heap, | 143 // This assumes that the HeapWord argument is in the heap, |
142 // so it only checks one side of the complete predicate. | 144 // so it only checks one side of the complete predicate. |
143 inline static bool is_obj_in_young(HeapWord* o) { | 145 inline static bool is_obj_in_young(HeapWord* o) { |
144 const bool result = (o >= _young_generation_boundary); | 146 const bool result = (o >= _young_generation_boundary); |