diff --git a/docs/src/main/asciidoc/amazon-snapstart.adoc b/docs/src/main/asciidoc/amazon-snapstart.adoc index 79b8122887337..89358253766f3 100644 --- a/docs/src/main/asciidoc/amazon-snapstart.adoc +++ b/docs/src/main/asciidoc/amazon-snapstart.adoc @@ -185,3 +185,10 @@ public class HelloPriming implements Resource { ---- WARNING: Restoration is limited to 2 seconds. + +== TieredCompilation + +It is also recommended to use _tiered compilation_ when using SnapStart. +To achieve this, set the `JAVA_TOOL_OPTIONS` environment property to `-XX:+TieredCompilation -XX:TieredStopAtLevel=1`. + +TIP: `TieredCompilation` can also be interesting for regular Lambda functions. \ No newline at end of file