RFR: 8267155: runtime/os/TestTracePageSizes times out [v3]

Stefan Johansson sjohanss at openjdk.java.net
Tue May 18 11:23:42 UTC 2021


On Tue, 18 May 2021 11:02:47 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> But as we found earlier, this does not work because for many VM structures we are only _reserving_ the memory, while AnonHugePages > 0 only when we actually _commit_ stuff. So AnonHugePages is a lost cause, IMO. The only reliable way to test THP seems to be VmFlags. If VmFlags are not available, that the end. We can only stop testing for THP at that point...

Correct, forgot about that =) Let's just skip testing of THP if vmFlags are missing.

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

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


More information about the hotspot-runtime-dev mailing list