You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/resources/messages.xml
+7-9Lines changed: 7 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -24,16 +24,14 @@
24
24
<LongDescription>Detected handler state that is potentially not resilient to VM snapshot and restore operations in Lambda function {0}.</LongDescription>
25
25
<Details>
26
26
<![CDATA[
27
-
<p>Our analysis shows that AWS Lambda handler class initialization creates state that might have adverse effects
28
-
on the output of the function when it uses SnapStart. Lambda functions that use SnapStart are
29
-
snapshotted at their initialized state and all execution environments created afterwards share the same initial
30
-
state. This means that if the Lambda function relies on state that is not resilient to snapshot and restore
31
-
operations, it might manifest an unexpected behavior by using SnapStart.</p>
27
+
<p>Our analysis shows that AWS Lambda handler class initialization creates state that may not remain unique for the function
28
+
when it uses SnapStart. Lambda functions that use SnapStart are snapshotted at their initialized state and all execution
29
+
environments created afterwards share the same initial state. This means that if the Lambda function relies on state that
30
+
is not resilient to snapshot and restore operations, it might manifest an unexpected behavior by using SnapStart.</p>
32
31
33
-
<p>Note that there are countless ways of initializing a Lambda function handler such that it’s not compatible
34
-
with SnapStart. This tool helps you as much as possible but please use your own judgement to and refer
35
-
to <a href="https://github.com/aws/aws-lambda-snapstart-java-rules/README.md">the documentation</a> for
36
-
understanding how to avoid making your Lambda function SnapStart incompatible.</p>
32
+
<p>This tool helps provide an insight on possible cases where your code may not be fully compatible with
33
+
snapstart enabled. Please verify that your code maintains uniqueness with SnapStart. For best practices, follow the
34
+
guidelines outlined in the SnapStart <a href="https://github.com/aws/aws-lambda-snapstart-java-rules/wiki">documentation</a>.</p>
0 commit comments