mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
Reviewed-by: pliden, ehelin
This commit is contained in:
parent
72c1fe89b2
commit
dada9bc32c
39 changed files with 362 additions and 454 deletions
|
@ -67,7 +67,6 @@ class InstanceRefKlass: public InstanceKlass {
|
|||
// GC specific object visitors
|
||||
//
|
||||
// Mark Sweep
|
||||
void oop_ms_follow_contents(oop obj);
|
||||
int oop_ms_adjust_pointers(oop obj);
|
||||
#if INCLUDE_ALL_GCS
|
||||
// Parallel Scavenge
|
||||
|
@ -88,19 +87,19 @@ class InstanceRefKlass: public InstanceKlass {
|
|||
private:
|
||||
// Iterate over all oop fields and metadata.
|
||||
template <bool nv, class OopClosureType>
|
||||
inline int oop_oop_iterate(oop obj, OopClosureType* closure);
|
||||
inline void oop_oop_iterate(oop obj, OopClosureType* closure);
|
||||
|
||||
// Reverse iteration
|
||||
#if INCLUDE_ALL_GCS
|
||||
// Iterate over all oop fields and metadata.
|
||||
template <bool nv, class OopClosureType>
|
||||
inline int oop_oop_iterate_reverse(oop obj, OopClosureType* closure);
|
||||
inline void oop_oop_iterate_reverse(oop obj, OopClosureType* closure);
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
// Bounded range iteration
|
||||
// Iterate over all oop fields and metadata.
|
||||
template <bool nv, class OopClosureType>
|
||||
inline int oop_oop_iterate_bounded(oop obj, OopClosureType* closure, MemRegion mr);
|
||||
inline void oop_oop_iterate_bounded(oop obj, OopClosureType* closure, MemRegion mr);
|
||||
|
||||
// Reference processing part of the iterators.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue