RFR: 8367249: [REDO] MemBaseline accesses VMT without using lock [v4]
Johan Sjölen
jsjolen at openjdk.org
Wed Sep 17 07:45:53 UTC 2025
On Tue, 16 Sep 2025 16:23:39 GMT, Afshin Zafari <azafari at openjdk.org> wrote:
> > there seems to be no more issues.
>
> The `VMT::find_reserved_region(address p)` (and the other methods that traversing the tree) also should be used within the NMT lock as well. Should we do them here in this PR or a separate one?
I think that it's only the `find_reserved_region` left. It seems that this *never* took the lock, presumably because we are already killing the VM when this is called. I don't know whether or not this should take the lock, as I suspect the reasoning is a bit subtle. It's best to do this one in a separate PR, because of that.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27170#issuecomment-3301709595
More information about the hotspot-dev
mailing list