RFR: 8329665: fatal error: memory leak: allocating without ResourceMark [v2]

Patricio Chilano Mateo pchilanomate at openjdk.org
Tue Apr 16 14:10:05 UTC 2024


On Mon, 15 Apr 2024 18:43:35 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> In theory yes, although I doubt it is an actual issue because allocating in the resource area for this _bit_mask field is a rare case, and the memory allocated will be a few bytes. But I guess we can keep the eager cleanup just in case since it doesn't hurt.
>
> All right, your call. FWIW, this opportunistic cleanup is ugly, and I am happy to see it go.

Agree.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18632#discussion_r1567429383


More information about the hotspot-dev mailing list