RFR: Add `--library-path-resolver` option for custom library path resolving
Maurizio Cimadamore
mcimadamore at openjdk.org
Fri Nov 14 22:16:03 UTC 2025
On Fri, 14 Nov 2025 18:39:41 GMT, devjeonghwan <duke at openjdk.org> wrote:
> I see.. You are waiting for the Java updates to handle performance issues (maybe like `constant-folding`?).
Yes, for instance bindings to be performant (when referenced through some singleton constant -- like `GL.glClear`), we need to be able to reliably constant fold through method handles that stored inside _instance_ fields of the header class. This means we need (a) some way to lazily initialize "constant" instance fields (and that's LazyConstant) and (b) some way for these fields to be "trusted". We're close to getting there, but not 100% there yet...
>
> I'll close this PR for now. If I find a better way that fits your design, I'll come back.
>
> Thanks for the review.
Thanks -- we'll keep thinking on our side as well, in case something comes up.
-------------
PR Comment: https://git.openjdk.org/jextract/pull/295#issuecomment-3534853812
More information about the jextract-dev
mailing list