mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 00:54:38 +02:00
8138888: Remove ExtendedOopClosure::apply_to_weak_ref_discovered_field
Reviewed-by: kbarrett, tschatzl
This commit is contained in:
parent
eb6d311b66
commit
50ded710fd
4 changed files with 25 additions and 11 deletions
|
@ -123,6 +123,12 @@ private:
|
|||
template <bool nv, typename T, class OopClosureType, class Contains>
|
||||
static void oop_oop_iterate_discovery(oop obj, ReferenceType type, OopClosureType* closure, Contains& contains);
|
||||
|
||||
// Used for a special case in G1 where the closure needs to be applied
|
||||
// to the discovered field. Reference discovery is also done if the
|
||||
// closure provides a ReferenceProcessor.
|
||||
template <bool nv, typename T, class OopClosureType, class Contains>
|
||||
static void oop_oop_iterate_discovered_and_discovery(oop obj, ReferenceType type, OopClosureType* closure, Contains& contains);
|
||||
|
||||
// Apply the closure to all fields. No reference discovery is done.
|
||||
template <bool nv, typename T, class OopClosureType, class Contains>
|
||||
static void oop_oop_iterate_fields(oop obj, OopClosureType* closure, Contains& contains);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue