RFR: 8274794: Print all owned locks in hs_err file [v2]
Coleen Phillimore
coleenp at openjdk.java.net
Mon Oct 18 16:06:33 UTC 2021
On Mon, 18 Oct 2021 15:53:42 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> rank_name() uses resource allocation.
>
> Could move it to print_on then, to limit the chance of actual mallocs happening during error reporting (but I leave that up to you).
I could do that but we usually have the ResourceMark used by the callers of the print_on functions. I don't want to be inconsistent.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5958
More information about the hotspot-dev
mailing list