equal
deleted
inserted
replaced
152 return size; |
152 return size; |
153 } |
153 } |
154 |
154 |
155 |
155 |
156 #ifndef SERIALGC |
156 #ifndef SERIALGC |
157 void methodDataKlass::oop_copy_contents(PSPromotionManager* pm, oop obj) { |
|
158 assert (obj->is_methodData(), "object must be method data"); |
|
159 methodDataOop m = methodDataOop(obj); |
|
160 // This should never point into the young gen. |
|
161 assert(!PSScavenge::should_scavenge(m->adr_method()), "Sanity"); |
|
162 } |
|
163 |
|
164 void methodDataKlass::oop_push_contents(PSPromotionManager* pm, oop obj) { |
157 void methodDataKlass::oop_push_contents(PSPromotionManager* pm, oop obj) { |
165 assert (obj->is_methodData(), "object must be method data"); |
158 assert (obj->is_methodData(), "object must be method data"); |
166 methodDataOop m = methodDataOop(obj); |
159 methodDataOop m = methodDataOop(obj); |
167 // This should never point into the young gen. |
160 // This should never point into the young gen. |
168 assert(!PSScavenge::should_scavenge(m->adr_method()), "Sanity"); |
161 assert(!PSScavenge::should_scavenge(m->adr_method()), "Sanity"); |