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

Paul Sandoz psandoz at openjdk.org
Tue Sep 2 15:26:45 UTC 2025


On Mon, 1 Sep 2025 16:57:35 GMT, Jorn Vernee <jvernee 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?

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.

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

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


More information about the core-libs-dev mailing list