comparison src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp @ 20265:5255b195f828

8038404: Move object_iterate_mem from Space to CMS since it is only ever used by CMS Reviewed-by: brutisso, tschatzl, stefank
author mgerdin
date Wed, 12 Mar 2014 15:22:45 +0100
parents 30c99d8e0f02
children 6c523f5d5440
comparison
equal deleted inserted replaced
20264:30c99d8e0f02 20265:5255b195f828
360 // valid. For example, an object may reference another object 360 // valid. For example, an object may reference another object
361 // that has already been sweep up (collected). This method uses 361 // that has already been sweep up (collected). This method uses
362 // obj_is_alive() to determine whether it is safe to iterate of 362 // obj_is_alive() to determine whether it is safe to iterate of
363 // an object. 363 // an object.
364 void safe_object_iterate(ObjectClosure* blk); 364 void safe_object_iterate(ObjectClosure* blk);
365
366 // Iterate over all objects that intersect with mr, calling "cl->do_object"
367 // on each. There is an exception to this: if this closure has already
368 // been invoked on an object, it may skip such objects in some cases. This is
369 // Most likely to happen in an "upwards" (ascending address) iteration of
370 // MemRegions.
365 void object_iterate_mem(MemRegion mr, UpwardsObjectClosure* cl); 371 void object_iterate_mem(MemRegion mr, UpwardsObjectClosure* cl);
366 372
367 // Requires that "mr" be entirely within the space. 373 // Requires that "mr" be entirely within the space.
368 // Apply "cl->do_object" to all objects that intersect with "mr". 374 // Apply "cl->do_object" to all objects that intersect with "mr".
369 // If the iteration encounters an unparseable portion of the region, 375 // If the iteration encounters an unparseable portion of the region,