RFR: JDK-8302811: NMT.random_reallocs_vm fails if NMT is off
Johan Sjölen
jsjolen at openjdk.org
Mon Feb 20 08:56:27 UTC 2023
On Sat, 18 Feb 2023 06:26:30 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Trivial patch to fix a test error.
>
> The test checks, among other things, that reallocated-grown buffers get their newly added space zapped by hotspot in debug builds.
>
> However, hotspot can only zap if NMT is enabled. With NMT disabled, it lacks the necessary information to do so.
>
> Note that this bug had been hidden by [JDK-8302810](https://bugs.openjdk.org/browse/JDK-8302810).
LGTM, thanks!
-------------
Marked as reviewed by jsjolen (Committer).
PR: https://git.openjdk.org/jdk/pull/12630
More information about the hotspot-runtime-dev
mailing list