Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/methodDataKlass.cpp @ 1706:9d7a8ab3736b
6962589: remove breadth first scanning code from parallel gc
Summary: Remove the breadth-first copying order from ParallelScavenge and use depth-first by default.
Reviewed-by: jcoomes, ysr, johnc
author | tonyp |
---|---|
date | Thu, 22 Jul 2010 10:27:41 -0400 |
parents | c18cbe5936b8 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1705:2d160770d2e5 | 1706:9d7a8ab3736b |
---|---|
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"); |