Integrated: 8350485: C2: factor out common code in Node::grow() and Node::out_grow()
Saranya Natarajan
duke at openjdk.org
Wed Mar 19 10:02:16 UTC 2025
On Thu, 6 Mar 2025 09:08:41 GMT, Saranya Natarajan <duke at openjdk.org> wrote:
> Node:grow() and Node::out_grow() are copy-pasted from each other and their core logic could be factored out into a third function or at least cleaned up. Hence,the fix includes a function Node::array_resize() that implements the core logic of Node::grow() and Node::out_grow().
>
> Link to Github action which had no failures : https://github.com/sarannat/jdk/actions/runs/13677508359
This pull request has now been integrated.
Changeset: 8f64ccc0
Author: Saranya Natarajan <saranya.natarajan at oracle.com>
Committer: Roberto Castañeda Lozano <rcastanedalo at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/8f64ccc01b8c692b59e81255c59c333cc23e834d
Stats: 49 lines in 2 files changed: 10 ins; 17 del; 22 mod
8350485: C2: factor out common code in Node::grow() and Node::out_grow()
Reviewed-by: thartmann, rcastanedalo
-------------
PR: https://git.openjdk.org/jdk/pull/23928
More information about the hotspot-compiler-dev
mailing list