On Mon, 20 Jan 2025 16:32:11 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

> Is it possible to modify the set of JVM Features to not include 
> `link-time-opt` when building gtest? I don't recall the exact flow of this, 
> so it might not be possible. But if it is, I think it is a better solution.

Wouldn't that mean LTO would be silently disabled for the JVM itself when gtest 
is being compiled? That would prevent anyone from using LTO on the JVM proper 
if they decided to throw in the gtest suite to test the LTO enabled JVM. I may 
have misunderstood what you meant, however

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

PR Comment: https://git.openjdk.org/jdk/pull/23173#issuecomment-2602979206

Reply via email to