RFR: 8373697: AArch64: Remove deoptimization stub code for nmethods with small stack frames

Andrew Haley aph at openjdk.org
Thu Feb 26 11:13:44 UTC 2026


On Thu, 26 Feb 2026 10:52:41 GMT, Ruben <duke at openjdk.org> wrote:

> Would it be acceptable to dynamically allocate memory upon deoptimization event? I am unsure because that can result in out-of-memory, and so make a particular deoptimization event impossible to process - while it is an unlikely corner case, the constraint does not currently exist as far as I know.

That's a good point, and it's worth thinking carefully about.

My concern, in case it is not clear, is that the complexity of this PR (49 files) is not justified by the magnitude of the problem.

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

PR Comment: https://git.openjdk.org/jdk/pull/28857#issuecomment-3965918037


More information about the hotspot-dev mailing list