RFR: 8310728: Enable Zc:inline flag in Visual Studio build

Daniel Jeliński djelinski at openjdk.org
Mon Jun 26 12:46:07 UTC 2023


Enabling `Zc:inline` flag improves C++11 standard compliance, reduces the size of obj files produced by the build by 200+MB, and might also improve build speed.

2 files failed to compile with the flag added; see JBS for details if you're interested. This PR fixes the compilation issues.

Tier1-4 builds and Tier1-2 tests passed.

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

Commit messages:
 - Build with Zc:inline

Changes: https://git.openjdk.org/jdk/pull/14651/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14651&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310728
  Stats: 5 lines in 3 files changed: 1 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/14651.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14651/head:pull/14651

PR: https://git.openjdk.org/jdk/pull/14651



More information about the build-dev mailing list