Mercurial > hg > graal-compiler
comparison src/share/vm/oops/instanceKlassKlass.cpp @ 1059:389049f3f393
6858164: invokedynamic code needs some cleanup (post-6655638)
Summary: Fix several crashers, remove needless paths for boxed-style bootstrap method call, refactor & simplify APIs for rewriter constantPoolOop, remove sun.dyn.CallSiteImpl
Reviewed-by: kvn
author | jrose |
---|---|
date | Fri, 30 Oct 2009 16:22:59 -0700 |
parents | 83c29a26f67c |
children | 4e6abf09f540 |
comparison
equal
deleted
inserted
replaced
1058:73a726751507 | 1059:389049f3f393 |
---|---|
315 oop* sg_addr = ik->adr_signers(); | 315 oop* sg_addr = ik->adr_signers(); |
316 if (PSScavenge::should_scavenge(sg_addr)) { | 316 if (PSScavenge::should_scavenge(sg_addr)) { |
317 pm->claim_or_forward_breadth(sg_addr); | 317 pm->claim_or_forward_breadth(sg_addr); |
318 } | 318 } |
319 | 319 |
320 oop* bsm_addr = ik->adr_bootstrap_method(); | |
321 if (PSScavenge::should_scavenge(bsm_addr)) { | |
322 pm->claim_or_forward_breadth(bsm_addr); | |
323 } | |
324 | |
320 klassKlass::oop_copy_contents(pm, obj); | 325 klassKlass::oop_copy_contents(pm, obj); |
321 } | 326 } |
322 | 327 |
323 void instanceKlassKlass::oop_push_contents(PSPromotionManager* pm, oop obj) { | 328 void instanceKlassKlass::oop_push_contents(PSPromotionManager* pm, oop obj) { |
324 assert(pm->depth_first(), "invariant"); | 329 assert(pm->depth_first(), "invariant"); |
341 } | 346 } |
342 | 347 |
343 oop* sg_addr = ik->adr_signers(); | 348 oop* sg_addr = ik->adr_signers(); |
344 if (PSScavenge::should_scavenge(sg_addr)) { | 349 if (PSScavenge::should_scavenge(sg_addr)) { |
345 pm->claim_or_forward_depth(sg_addr); | 350 pm->claim_or_forward_depth(sg_addr); |
351 } | |
352 | |
353 oop* bsm_addr = ik->adr_bootstrap_method(); | |
354 if (PSScavenge::should_scavenge(bsm_addr)) { | |
355 pm->claim_or_forward_depth(bsm_addr); | |
346 } | 356 } |
347 | 357 |
348 klassKlass::oop_copy_contents(pm, obj); | 358 klassKlass::oop_copy_contents(pm, obj); |
349 } | 359 } |
350 | 360 |