RFR: 8366455: Move VarHandles.GuardMethodGenerator to execute on build
Chen Liang
liach at openjdk.org
Fri Aug 29 20:42:42 UTC 2025
On Fri, 29 Aug 2025 20:07:52 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
> Looking again, I'm now guessing that this was kept as a static generation because it was expected to rarely change and someone thought it wasn't worth the build time overhead of dynamically generating the class in every build. Could that be the case?
I think the reason we did not have a dynamic generator because area maintainers were not familiar with a custom Java-driven generator - the generator we had for VarHandle implementation classes was a make-based spp generator. I was only enlightened when I saw the core-libs addition of character generators recently.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27009#issuecomment-3238221125
More information about the core-libs-dev
mailing list