RFR: 8333769: Pretouching tests dont test pretouching [v3]

Sonia Zaldana Calles szaldana at openjdk.org
Tue Jun 18 14:01:12 UTC 2024


On Tue, 18 Jun 2024 09:59:04 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> I recall there's some issue for debug-build due to `ZapUnusedHeapArea` so that tests would still pass even if pretouching logic is broken/disabled in VM.
> 
> Have you checked whether test case fails if you purposely introduce a bug in pretouch logic in VM?

Hi @albertnetymk, yes I broke `os::pretouch_memory` and confirmed the tests fail.

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

PR Comment: https://git.openjdk.org/jdk/pull/19699#issuecomment-2176175942


More information about the hotspot-gc-dev mailing list