Skip to content

Commit

Permalink
8343321: Bad verify in LockStack::oops_do()
Browse files Browse the repository at this point in the history
Reviewed-by: stefank, rkennke, coleenp
  • Loading branch information
jsikstro committed Nov 11, 2024
1 parent cbe8448 commit b1a9491
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hotspot/share/runtime/lockStack.inline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ inline bool LockStack::contains(oop o) const {
}

inline void LockStack::oops_do(OopClosure* cl) {
verify("pre-oops-do");
// We don't perform pre oops_do verify here because this function
// is used by the GC to fix the oops.

int end = to_index(_top);
for (int i = 0; i < end; i++) {
cl->do_oop(&_base[i]);
Expand Down

1 comment on commit b1a9491

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.