On Mon, 11 Aug 2025 07:59:02 GMT, Kim Barrett <kbarr...@openjdk.org> wrote:

> But still need to figure out which files to (conditionally) exclude.

Maybe first make a baseline build with no optional features, and analyze the 
result with this tool. And then enable each individual feature, re-build and 
re-analyze, and see how it differs. If a file then makes it to the PCH list, it 
is useful when enabling that feature, and it is potentially only correct to 
include with that feature enabled, so it could be added with an include guard.

That will require a bit more manual work (unless this process too can be 
automated), but it will probably give the best results.

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

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

Reply via email to