RFR: 8265682: G1: Mutex::_name dangling in HeapRegionRemSet references after JDK-8264146

Stefan Johansson sjohanss at openjdk.java.net
Mon Apr 26 07:57:28 UTC 2021


On Thu, 22 Apr 2021 19:25:50 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change makes the Mutex constructor stdup the name passed in for the few cases that the name is constructed on the stack.  Most names are shorter than 64 characters so it's still a savings.
> Tested with tier1.

Looks good.

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

Marked as reviewed by sjohanss (Reviewer).

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


More information about the hotspot-runtime-dev mailing list