comparison src/share/vm/memory/genCollectedHeap.cpp @ 457:27a80744a83b

6778647: snap(), snap_policy() should be renamed setup(), setup_policy() Summary: Renamed Reference{Policy,Pocessor} methods from snap{,_policy}() to setup{,_policy}() Reviewed-by: apetrusenko
author ysr
date Mon, 01 Dec 2008 23:25:24 -0800
parents c96030fff130
children e9be0e04635a 2b4230d1e589
comparison
equal deleted inserted replaced
455:434912c745cf 457:27a80744a83b
523 // atomic wrt other collectors in this configuration, we 523 // atomic wrt other collectors in this configuration, we
524 // are guaranteed to have empty discovered ref lists. 524 // are guaranteed to have empty discovered ref lists.
525 if (rp->discovery_is_atomic()) { 525 if (rp->discovery_is_atomic()) {
526 rp->verify_no_references_recorded(); 526 rp->verify_no_references_recorded();
527 rp->enable_discovery(); 527 rp->enable_discovery();
528 rp->snap_policy(clear_all_soft_refs); 528 rp->setup_policy(clear_all_soft_refs);
529 } else { 529 } else {
530 // collect() below will enable discovery as appropriate 530 // collect() below will enable discovery as appropriate
531 } 531 }
532 _gens[i]->collect(full, clear_all_soft_refs, size, is_tlab); 532 _gens[i]->collect(full, clear_all_soft_refs, size, is_tlab);
533 if (!rp->enqueuing_is_done()) { 533 if (!rp->enqueuing_is_done()) {