[master] RFR: Load Klass from header, C1/x86 implementation [v2]

Roman Kennke rkennke at openjdk.java.net
Wed Oct 27 09:37:24 UTC 2021


On Wed, 27 Oct 2021 09:04:57 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> Not sure, tbh. The current implementation is quite brittle, and we are lucky that we have apparently never hit (emit) a load with offset 8 (or 4 on x86_32) which happens to be klass_offset_in_bytes().
>
> Well, yeah. I was appalled when I saw that when translating into AArch64 code. I thought "Are you serious?"

Yeah. I think I should probably bring much of this PR upstream.

-------------

PR: https://git.openjdk.java.net/lilliput/pull/20


More information about the lilliput-dev mailing list