mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6689653: JMapPerm fails with UseConcMarkSweepIncGC and compressed oops off
Added safe_object_iterate() for use by JMapPerm. Reviewed-by: tonyp
This commit is contained in:
parent
34c4172bfe
commit
3474623106
16 changed files with 100 additions and 2 deletions
|
@ -705,6 +705,12 @@ void ContiguousSpace::object_iterate(ObjectClosure* blk) {
|
|||
object_iterate_from(bm, blk);
|
||||
}
|
||||
|
||||
// For a continguous space object_iterate() and safe_object_iterate()
|
||||
// are the same.
|
||||
void ContiguousSpace::safe_object_iterate(ObjectClosure* blk) {
|
||||
object_iterate(blk);
|
||||
}
|
||||
|
||||
void ContiguousSpace::object_iterate_from(WaterMark mark, ObjectClosure* blk) {
|
||||
assert(mark.space() == this, "Mark does not match space");
|
||||
HeapWord* p = mark.point();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue