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

Thomas Stuefe stuefe at openjdk.org
Thu Feb 23 06:47:09 UTC 2023


On Mon, 20 Feb 2023 08:53:41 GMT, Johan Sjölen <jsjolen 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!

Thanks @jdksjolen and @jerboaa !

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

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


More information about the hotspot-runtime-dev mailing list