[lworld] RFR: 8306568: [lworld] Oop verification failure in InlineKlass::returned_inline_klass
David Simms
dsimms at openjdk.org
Fri Apr 21 08:30:17 UTC 2023
On Fri, 21 Apr 2023 07:18:25 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> Oop verification intermittently fails with ZGC when checking the oop return value of a method from `ThreadSafepointState::handle_polling_page_exception` -> `InlineKlass::returned_inline_klass` at returns. The problem is that header verification in `oopDesc::is_oop` fails because the mark word is set. Given that this code is executed outside of a safepoint, it's not safe to assume that the mark word is zero. I changed the verification code accordingly.
>
> Thanks,
> Tobias
LGTM
-------------
Marked as reviewed by dsimms (Committer).
PR Review: https://git.openjdk.org/valhalla/pull/840#pullrequestreview-1395327823
More information about the valhalla-dev
mailing list