Lambda failed with Java compiled into machine code

0

hi, We have a few lambda(s) deployed with native Java (compiled Java code down to machine code with Graalvm). It has been working with no issue in the last 4 months.

Since yesterday, intermittently, the lambda fails to execute with the following error message: The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].

I think there is a compatibility issue here and would like some advise of how to resolve it.

thanks in advance, KC

KC
已提问 3 个月前337 查看次数
1 回答
-1

If this is happening with Graalvm Java 17, try Graalvm Java 21. Also, try switching the Java versions in the Lambda to match this.

profile pictureAWS
已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则