RFR: 8263236: runtime/os/TestTracePageSizes.java fails on old kernels [v4]
Thomas Stuefe
stuefe at openjdk.java.net
Thu May 6 12:36:53 UTC 2021
On Thu, 6 May 2021 10:46:15 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 incrementally with two additional commits since the last revision:
>
> - No tabs
> - Just ignore on older kernels
Should we just handle AlwaysPretouch directly in os::reserve_memory() instead of having each caller do this? Or would this interfere with concurrent pretouching?
-------------
PR: https://git.openjdk.java.net/jdk/pull/3415
More information about the hotspot-runtime-dev
mailing list