mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8038412: Move object_iterate_careful down from Space to ContigousSpace and CFLSpace
Only declare the functions where they are actually needed. Reviewed-by: tschatzl, stefank
This commit is contained in:
parent
e72dd1b433
commit
c62c16f94a
4 changed files with 10 additions and 61 deletions
|
@ -547,17 +547,6 @@ void Space::oop_iterate(ExtendedOopClosure* blk) {
|
|||
object_iterate(&blk2);
|
||||
}
|
||||
|
||||
HeapWord* Space::object_iterate_careful(ObjectClosureCareful* cl) {
|
||||
guarantee(false, "NYI");
|
||||
return bottom();
|
||||
}
|
||||
|
||||
HeapWord* Space::object_iterate_careful_m(MemRegion mr,
|
||||
ObjectClosureCareful* cl) {
|
||||
guarantee(false, "NYI");
|
||||
return bottom();
|
||||
}
|
||||
|
||||
bool Space::obj_is_alive(const HeapWord* p) const {
|
||||
assert (block_is_obj(p), "The address should point to an object");
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue