RFR: 8373591: C2: Fix the memory around some intrinsics nodes [v3]

Quan Anh Mai qamai at openjdk.org
Tue Dec 16 06:23:14 UTC 2025


On Mon, 15 Dec 2025 15:23:23 GMT, Roland Westrelin <roland at openjdk.org> wrote:

>> It is because if a node consumes more memory than it produces, we need to compute its anti-dependencies. And since we do not compute anti-dependencies of these nodes, it is safer to make them kill all the memory they consume. What do you think?
>
> Could this be fixed by appending a `MemBarCPUOrderNode` on the slice of src?

That's a really great idea! I have implemented it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28789#discussion_r2621940305


More information about the shenandoah-dev mailing list