On Mon, 26 Oct 2026 22:23:12 GMT, Benjamin Peterson <[email protected]> 
wrote:

> Add `-fpch-instantiate-templates` to the clang precompiled header generation 
> command.
> 
> Testing with `make hotspot`, I observe a 40% reduction in build CPU time for 
> a release build. On a 56 core machine, this reduces the wall time of the same 
> command by 25% (45.94s -> 34.5s).
> 
> 
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

macOS builds configure as `clang`, so that's some coverage.

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

PR Comment: https://git.openjdk.org/jdk/pull/33576#issuecomment-6431705633

Reply via email to