RFR: 8292647: javac/lambda/T8031967.java fails with StackOverflowError when use -XX:TieredStopAtLevel=3 on aarch64 and LoongArch
Andrew Haley
aph at openjdk.org
Mon Aug 22 08:41:27 UTC 2022
On Mon, 22 Aug 2022 03:21:46 GMT, SUN Guoyun <duke at openjdk.org> wrote:
> For safety, I set to `-Xss10m`. Maybe it's more reasonable to change it to `-Xss2m`?
I don't think so. If we were making automobiles and our model consumed 40% more fuel than our competitor's, our response would not be to solve the problem by fitting a larger fuel tank. The stack layout of AArch64 is, as close as we can make it, identical to that of x86-64. So, this difference in memory use is not expected and should be investigated.
-------------
PR: https://git.openjdk.org/jdk/pull/9934
More information about the compiler-dev
mailing list