314 oop forward_to_atomic(oop p);
315 #endif // INCLUDE_ALL_GCS
316
317 oop forwardee() const;
318
319 // Age of object during scavenge
320 uint age() const;
321 void incr_age();
322
323
324 // mark-sweep support
325 void follow_body(int begin, int end);
326
327 // Fast access to barrier set
328 static BarrierSet* bs() { return _bs; }
329 static void set_bs(BarrierSet* bs) { _bs = bs; }
330
331 // Garbage Collection support
332
333 // Mark Sweep
334 void ms_follow_contents();
335 // Adjust all pointers in this object to point at it's forwarded location and
336 // return the size of this oop. This is used by the MarkSweep collector.
337 int ms_adjust_pointers();
338 #if INCLUDE_ALL_GCS
339 // Parallel Compact
340 void pc_follow_contents(ParCompactionManager* pc);
341 void pc_update_contents();
342 // Parallel Scavenge
343 void ps_push_contents(PSPromotionManager* pm);
344 #endif
345
346
347 // iterators, returns size of object
348 #define OOP_ITERATE_DECL(OopClosureType, nv_suffix) \
349 int oop_iterate(OopClosureType* blk); \
350 int oop_iterate(OopClosureType* blk, MemRegion mr); // Only in mr.
351
352 ALL_OOP_OOP_ITERATE_CLOSURES_1(OOP_ITERATE_DECL)
353 ALL_OOP_OOP_ITERATE_CLOSURES_2(OOP_ITERATE_DECL)
354
|
314 oop forward_to_atomic(oop p);
315 #endif // INCLUDE_ALL_GCS
316
317 oop forwardee() const;
318
319 // Age of object during scavenge
320 uint age() const;
321 void incr_age();
322
323
324 // mark-sweep support
325 void follow_body(int begin, int end);
326
327 // Fast access to barrier set
328 static BarrierSet* bs() { return _bs; }
329 static void set_bs(BarrierSet* bs) { _bs = bs; }
330
331 // Garbage Collection support
332
333 // Mark Sweep
334 // Adjust all pointers in this object to point at it's forwarded location and
335 // return the size of this oop. This is used by the MarkSweep collector.
336 int ms_adjust_pointers();
337 #if INCLUDE_ALL_GCS
338 // Parallel Compact
339 void pc_follow_contents(ParCompactionManager* pc);
340 void pc_update_contents();
341 // Parallel Scavenge
342 void ps_push_contents(PSPromotionManager* pm);
343 #endif
344
345
346 // iterators, returns size of object
347 #define OOP_ITERATE_DECL(OopClosureType, nv_suffix) \
348 int oop_iterate(OopClosureType* blk); \
349 int oop_iterate(OopClosureType* blk, MemRegion mr); // Only in mr.
350
351 ALL_OOP_OOP_ITERATE_CLOSURES_1(OOP_ITERATE_DECL)
352 ALL_OOP_OOP_ITERATE_CLOSURES_2(OOP_ITERATE_DECL)
353
|