[lworld] RFR: 8306568: [lworld] Oop verification failure in InlineKlass::returned_inline_klass
Tobias Hartmann
thartmann at openjdk.org
Fri Apr 21 10:56:04 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
Thanks for the review!
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/840#issuecomment-1517645973
More information about the valhalla-dev
mailing list