[master] RFR: 8303813: [Lilliput] (AArch64) Use tbz instead of tst and br in load_klass()
Thomas Stuefe
stuefe at openjdk.org
Thu Mar 9 16:32:29 UTC 2023
On Wed, 8 Mar 2023 21:47:47 GMT, Paul Hohensee <phh at openjdk.org> wrote:
>> Yes, and it is (and hopefully, always will be - or else that code would need to be changed anyway). exact_log2() has an assert that checks exactly that.
>
> Missed the latter. Lgtm.
one could even make monitor value and friends `const_expr` and use STATIC_ASSERT here. That way, you get a compile error if that assumption fails without paying at runtime.
-------------
PR: https://git.openjdk.org/lilliput/pull/78
More information about the lilliput-dev
mailing list