On Mon, 11 Aug 2025 08:10:09 GMT, Magnus Ihse Bursie <i...@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.

Hi @magicus, thanks for the hint. I'll give it a shot and post the results here!

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

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

Reply via email to