RFR: 8280289: Enhance debug pp() command with NMT info [v3]

Zhengyu Gu zgu at openjdk.java.net
Mon Jan 24 15:11:13 UTC 2022


On Mon, 24 Jan 2022 13:59:09 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

>> Can the printing be done inside do_allocation_site() instead? That way we are holding the ThreadCritical that will prevent concurrent NMT record/remove operations.
>
> Yes, we can. But I think dealing with malloc'd memory is more problematic, if call triggers concurrent execution.
> 
> I am going to withdraw this for now and take another look how debuggers behave.
> 
> Thanks

gdb also resumes all threads upon function call.

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

PR: https://git.openjdk.java.net/jdk/pull/7160


More information about the hotspot-dev mailing list