RFR: 8310264: In PhaseChaitin::Split defs and phis are leaked [v3]
Johan Sjölen
jsjolen at openjdk.org
Tue Jun 20 10:23:29 UTC 2023
> 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
Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:
Move these defs
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14530/files
- new: https://git.openjdk.org/jdk/pull/14530/files/820b0841..e6ab09ed
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14530&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14530&range=01-02
Stats: 9 lines in 1 file changed: 4 ins; 5 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/14530.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14530/head:pull/14530
PR: https://git.openjdk.org/jdk/pull/14530
More information about the hotspot-compiler-dev
mailing list