On Mon, 2 Sep 2024 04:09:19 GMT, David Holmes <dhol...@openjdk.org> wrote:
> > This does make me wonder: What if the new method for checking if the VM was > > statically linked was inlined? Then the problem comes back yet again as the > > object files need to be recompiled once more. This is possible if Link Time > > Optimization is switched on, and I don't like the implication that LTO > > might be removed as a result just to make this work > > Wouldn't such link-time "inlining" only appear in the object code stored > within the library, not in the original object file? Ah, you're right, good catch. I got mixed up with the implementation details of different compilers there, sorry ------------- PR Comment: https://git.openjdk.org/jdk/pull/20666#issuecomment-2323778397