Integrated: 8310264: In PhaseChaitin::Split defs and phis are leaked

Johan Sjölen jsjolen at openjdk.org
Wed Jun 28 21:24:05 UTC 2023


On Sat, 17 Jun 2023 16:08:53 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

> Hi,
> 
> `defs` and `phis` are leaked as they are resource allocated but not protected by a `ResourceMark`. The intention might have been for these to also live in the `split_arena`.. This change is the most conservative one, however, and does fix the memory leak.
> 
> Please consider, thanks.
> 
> Johan

This pull request has now been integrated.

Changeset: 02b17d79
Author:    Johan Sjölen <jsjolen at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/02b17d793bfcea611c654049c9ab680b70fb5685
Stats:     22 lines in 1 file changed: 6 ins; 4 del; 12 mod

8310264: In PhaseChaitin::Split defs and phis are leaked

Reviewed-by: thartmann, chagedorn, kvn

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

PR: https://git.openjdk.org/jdk/pull/14530


More information about the hotspot-compiler-dev mailing list