On Fri, 6 Dec 2024 04:25:23 GMT, Chen Liang <[email protected]> wrote:

> From the FFM API pov, we might be able to make the VarHandle lazy, that it 
> contains symbolic information and is fully expanded upon first use, 
> effectively the same as the laziness here. Don't know if this works for FFM, 
> but this is how java lang invoke ones work if they have to initialize 
> classes. If such laziness is implemented, we can always revisit the existing 
> uses later. This patch is fine as long as there is no bad side effects.

So some day this patch may be obsolete ? So no reason to make it more complex.
Bad side effects ? I think that is improbable.

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

PR Comment: https://git.openjdk.org/jdk/pull/21748#issuecomment-2522127979

Reply via email to