mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8189748: More precise closures for WeakProcessor::weak_oops_do calls
Reviewed-by: pliden, sjohanss
This commit is contained in:
parent
817d6bc039
commit
d129d1cdf2
14 changed files with 90 additions and 75 deletions
|
@ -37,10 +37,7 @@ public:
|
|||
// Visit all oop*s and apply the keep_alive closure if the referenced
|
||||
// object is considered alive by the is_alive closure, otherwise do some
|
||||
// container specific cleanup of element holding the oop.
|
||||
//
|
||||
// The complete closure is used as a post-processing step,
|
||||
// called after all container have been processed.
|
||||
static void weak_oops_do(BoolObjectClosure* is_alive, OopClosure* keep_alive, VoidClosure* complete = NULL);
|
||||
static void weak_oops_do(BoolObjectClosure* is_alive, OopClosure* keep_alive);
|
||||
|
||||
// Visit all oop*s and apply the given closure.
|
||||
static void oops_do(OopClosure* closure);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue