RFR: 8366455: Move VarHandles.GuardMethodGenerator to execute on build

Chen Liang liach at openjdk.org
Fri Sep 5 16:03:12 UTC 2025


On Tue, 2 Sep 2025 15:24:07 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> @PaulSandoz Do you know if there was/is a particular reason for not generating the VarHandle guards as part of the build?
>
>> @PaulSandoz Do you know if there was/is a particular reason for not generating the VarHandle guards as part of the build?
> 
> At the time there were other priorities and we did not know what the frequency of updates might be, but we left gen code in place just in case (and did use it occasionally). I think this PR is good, addressing tech debt.

Can @PaulSandoz or @JornVernee re-review this patch?

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

PR Comment: https://git.openjdk.org/jdk/pull/27009#issuecomment-3258882442


More information about the core-libs-dev mailing list