[lworld] Integrated: 8281325: [lworld] Unused code emitted for unpacking arguments leads to code buffer overflow
Tobias Hartmann
thartmann at openjdk.java.net
Mon Feb 7 15:50:42 UTC 2022
On Mon, 7 Feb 2022 15:17:05 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> An unrelated change to javac that came in with the mainline merge triggered this:
> When emitting code to scalarize a buffered inline type argument in the method entries, there is sometimes an overlap with registers/stack slots occupied by another argument that needs to be resolved before we can make progress. We should not emit any code in such a case and proceed with the next argument (we will revisit this argument later, once the conflict has been resolved).
>
> Some of that code will be refactored by [JDK-8278390](https://bugs.openjdk.java.net/browse/JDK-8278390) anyway.
>
> Thanks,
> Tobias
This pull request has now been integrated.
Changeset: 2f2fa459
Author: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.java.net/valhalla/commit/2f2fa459af4215085b8bf78be7fc11619a250b59
Stats: 64 lines in 3 files changed: 31 ins; 20 del; 13 mod
8281325: [lworld] Unused code emitted for unpacking arguments leads to code buffer overflow
-------------
PR: https://git.openjdk.java.net/valhalla/pull/633
More information about the valhalla-dev
mailing list