Integrated: JDK-8302811: NMT.random_reallocs_vm fails if NMT is off

Thomas Stuefe stuefe at openjdk.org
Thu Feb 23 06:47:10 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).

This pull request has now been integrated.

Changeset: 23e9d9d3
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/23e9d9d3ee0b2e30876cea47be131ccc86844873
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8302811: NMT.random_reallocs_vm fails if NMT is off

Reviewed-by: jsjolen, sgehwolf

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

PR: https://git.openjdk.org/jdk/pull/12630


More information about the hotspot-runtime-dev mailing list