On Fri, 8 Aug 2025 15:02:56 GMT, Quan Anh Mai <qa...@openjdk.org> wrote:

> I assume this means that other .d files might include a header multiple 
> times, too.

>From the following two numbers, I deduce `code/codeCache.hpp` is 
>(transitively) included in 1230 files, with each inclusion coming from a 
>unique `.d` file. Am I missing something?


% grep "code/codeCache.hpp" build/clang/hotspot/variant-server/libjvm/objs/*.d 
| grep -v BUILD | sort | wc -l
1230

% grep "code/codeCache.hpp" build/clang/hotspot/variant-server/libjvm/objs/*.d 
| grep -v BUILD | sort | uniq | wc -l
1230


I haven't checked every single file, but I'd expect each include to appear at 
most once in each `.d` file.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26681#discussion_r2263257970

Reply via email to