RFR: 8378675: PPC64: increase instruction cache line size [v2]
David Briemann
dbriemann at openjdk.org
Thu Feb 26 07:34:26 UTC 2026
On Wed, 25 Feb 2026 17:04:52 GMT, Richard Reingruber <rrich at openjdk.org> wrote:
>> David Briemann has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - add comments that explain getconf behavior
>> - update copyright headers
>
> src/hotspot/os/linux/os_linux.cpp line 5387:
>
>> 5385: int os::get_dcache_line_size() {
>> 5386: // Uses getconf to retrieve LEVEL1_DCACHE_LINESIZE.
>> 5387: int size = sysconf(_SC_LEVEL1_DCACHE_LINESIZE);
>
> On ppc it seems to call `getauxval()` (seen in glibc sources and gdb). How did you find out that `getconf` is used?
Good catch. It is actually the other way around.. so getconf uses sysconf and other calls. I will write a better comment.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29918#discussion_r2857397540
More information about the hotspot-dev
mailing list