Integrated: 8304930: Enable Link Time Optimization as an option for Visual C++
Julian Waters
jwaters at openjdk.org
Fri Apr 14 17:21:44 UTC 2023
On Sun, 2 Apr 2023 07:00:51 GMT, Julian Waters <jwaters at openjdk.org> wrote:
> Currently, Link Time Optimization is only available for Java Virtual Machines compiled with gcc. Since the Java VM is the most performance critical part of the Java Platform for obvious reasons, it follows that optimized executables produced for Windows (as Visual C++ is currently the only compiler available for Windows as [JDK-8288293](https://bugs.openjdk.org/browse/JDK-8288293) is still under heavy development) would grant a significant performance boost for Java on Windows as a whole. Flags used for link time optimizations are set to make compiling with it enabled as fast as possible, to avoid the pitfall of very long compile times
>
> Depends on [JDK-8304893](https://bugs.openjdk.org/browse/JDK-8304893) being integrated first, to prove that link time optimization is viable as an option
This pull request has now been integrated.
Changeset: 5a788657
Author: Julian Waters <jwaters at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/5a7886575eb7cbf444375cfed3755ef97bf55a4e
Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
8304930: Enable Link Time Optimization as an option for Visual C++
Reviewed-by: erikj
-------------
PR: https://git.openjdk.org/jdk/pull/13280
More information about the build-dev
mailing list