Does it make sense to tweak compilation for training?

María Arias de Reyna Dominguez mariasde at redhat.com
Mon Dec 15 09:35:23 UTC 2025


Hi!

While searching for good documentation to link to when explaining Leyden, I
found this (rather old) page:
https://www.ibm.com/docs/en/sdk-java-technology/8?topic=options-xjit-xnojit
with compilation options I didn't know existed.

And I was wondering: does it make sense to force some things during
training run to make sure we get the best training? I'm thinking for
example on forcing a high level of compilation on some methods, so we
arrive to production with more things optimized. Or excluding some "testing
framework" methods from compilation.

Or is it better not to touch anything and let Java run normally because
this may become too unpredictable?

Or... should I play with this and see what happens because we don't really
know? :)

Kind regards,
María Arias de Reyna Domínguez
Senior Software Engineer
She / Her / Hers
ariasdereyna at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/leyden-dev/attachments/20251215/093c0e2c/attachment.htm>


More information about the leyden-dev mailing list