RFR: 8263236: runtime/os/TestTracePageSizes.java fails on old kernels [v3]

Aleksey Shipilev shade at openjdk.java.net
Thu May 6 09:58:13 UTC 2021


On Thu, 6 May 2021 09:49:37 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> See the bug report for details. On some kernels, the madvise hint is not reflected in `/proc/smaps`. Instead, we can use a secondary evidence and read `AnonHugePages`.
>> 
>> Additional testing:
>>  - [x] Test with kernel 5.4.0 (still passes)
>>  - [x] Test with kernel 4.9.0 (used to fail, now passes)
>
> Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
> 
>  - Merge branch 'master' into JDK-8263236-trace-page-sizes
>  - Merge branch 'master' into JDK-8263236-trace-page-sizes
>  - Merge branch 'master' into JDK-8263236-trace-page-sizes
>  - Make jcheck happy: remove the TAB
>  - 8263236: runtime/os/TestTracePageSizes.java fails on old kernels

I am looking at it too, since I have a machine where this failure reproduces reliably. Looks to me, G1 tests fail, while Serial/Parallel pass with this patch. Maybe there was a G1-specific fix somewhere that breaks this test?

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

PR: https://git.openjdk.java.net/jdk/pull/3415


More information about the hotspot-runtime-dev mailing list