RFR: 8365053: Refresh hotspot precompiled.hpp with headers based on current frequency [v8]

Francesco Andreuzzi duke at openjdk.org
Fri Aug 8 22:17:12 UTC 2025


On Fri, 8 Aug 2025 17:31:41 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> The latest version fails for me. I'm guessing because we exclude shenandoah by default for OracleJDK builds so having those headers in precompiled.hpp messes things up. I think we need to be careful with headers that are part of optional features.

The last commit (be25d3413b432b56e9789eae55920f1862008911) should fix the problem. I made a build with the following configuration:

./configure \
        --with-toolchain-type=clang \
        --disable-jvm-feature-shenandoahgc \
        --disable-jvm-feature-zero \
        --disable-jvm-feature-zgc \
        --disable-jvm-feature-g1gc \
        --disable-jvm-feature-parallelgc \
        --disable-jvm-feature-epsilongc

and then I ran the script on this build to extract the [inclusions count](https://github.com/user-attachments/files/21692915/inclusions_count.txt). This could be included in the README file attached to this PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/26681#issuecomment-3169427612


More information about the hotspot-dev mailing list