Skip to content

Commit

Permalink
Merge branch 'JDK-8305896-v2' into JDK-8305895-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
rkennke committed Aug 22, 2024
2 parents 525a8ef + d5f735f commit 2ead7a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/hotspot/share/gc/serial/defNewGeneration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,6 @@ void DefNewGeneration::remove_forwarding_pointers() {
void do_object(oop obj) override {
if (obj->is_self_forwarded()) {
obj->unset_self_forwarded();
} else if (obj->is_forwarded()) {
obj->forward_safe_init_mark();
}
}
} cl;
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shared/space.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void ContiguousSpace::object_iterate(ObjectClosure* blk) {
while (addr < top()) {
oop obj = cast_to_oop(addr);
blk->do_object(obj);
addr += obj->size();
addr += obj->forward_safe_size();
}
}

Expand Down

0 comments on commit 2ead7a5

Please sign in to comment.