RFR: 8263236: runtime/os/TestTracePageSizes.java fails on old kernels [v4]
Stefan Johansson
sjohanss at openjdk.java.net
Thu May 6 12:44:59 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
In theory this would be good, but as you say it would make parallel/concurrent pre-touch harder. Or at least we would have to extend a lot of APIs to pass down the needed work gang.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3415
More information about the hotspot-runtime-dev
mailing list