We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed12ba4 commit 59375c6Copy full SHA for 59375c6
checkpoint.cmd.sh
@@ -10,10 +10,13 @@ export CRAC_CRIU_OPTS="--compress -o -"
10
11
# Ensure small PID, for privileged-less criu to be able to restore PID by bumping.
12
# But not too small, to avoid clashes with other occasional processes on restore.
13
+# Experimentally -XX:CPUFeatures=0x21801fdbbd7,0x3e6 would work but to be on the safe
14
+# side in this example we'll go with generic
15
exec /aws-lambda-rie /jdk/bin/java \
16
-Xshare:off \
17
-XX:-UsePerfData \
18
-XX:CRaCMinPid=128 \
19
+ -XX:CPUFeatures=generic \
20
-XX:CRaCCheckpointTo=/cr \
21
-cp /function:/function/lib/* \
22
-Dcom.amazonaws.services.lambda.runtime.api.client.runtimeapi.NativeClient.JNI=$AWS_NATIVE_CLIENT \
0 commit comments