RFR: 8348668: Prevent first resource cleanup in confined arena from escaping
Jorn Vernee
jvernee at openjdk.org
Wed Jan 29 11:25:33 UTC 2025
On Tue, 28 Jan 2025 03:31:58 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Why do you think it should? We never assign the newly allocated resource cleanup to `fst`.
>
> So was the culprit `cleanup.next = fst;`?
Yes, in combination with the while loop which runs all the cleanups, which adds a phi node that merges the instance with `null`, at which point EA gives up.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23321#discussion_r1931999047
More information about the core-libs-dev
mailing list