Add crac module: Spring Boot 4.2 started by CRaC checkpoint/restore vs JDK AOT cache vs native image
One service, seven start-up configurations measured over ten interleaved rounds on Temurin 25, Zulu 25 CRaC and Oracle GraalVM 25; the open-file checkpoint failure and its fix, stale environment values, secrets in the checkpoint, warp and CRIU engines, cold page cache. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5uEyg58znuchZ8C8i
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
de2660e998
commit
c0062ea398
@@ -0,0 +1,30 @@
|
||||
files in the JDK's lib directory that belong to CRaC:
|
||||
criu
|
||||
criuhelper
|
||||
libcriuengine.so
|
||||
libsimengine.so
|
||||
libwarp.so
|
||||
|
||||
== the same flag on the stock Temurin 25 JDK
|
||||
Unrecognized VM option 'CRaCCheckpointTo=<work>/cp-temurin'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
|
||||
engine recorded in the default checkpoint (cp-refresh/engine): warp
|
||||
process capabilities (CapEff): 000001fffeffffff, uid 0
|
||||
|
||||
== -XX:CRaCEngine=warp, checkpoint at start-up then restore
|
||||
checkpoint directory: core.img engine (2 files); size: 129 MB
|
||||
RestoreTracker: beforeCheckpoint
|
||||
[4.243s][info][crac] Checkpoint ...
|
||||
4184.436746: warp: Checkpoint 24528 to <work>/cp-eng-warp
|
||||
4184.499576: warp: error: Cannot reset arguments to (-->)00007ffcab2bd075-00007ffcab2bd166: Operation not permitted
|
||||
4184.499614: warp: error: Cannot reset arguments to 00007ffcab2bd075-00007ffcab2bd166(<--): Operation not permitted
|
||||
4184.500952: warp: Checkpoint successful!
|
||||
restored; GET /ping -> pong; Restored CracDemoApplication in 0.251 seconds (process running for 0.256)
|
||||
|
||||
== -XX:CRaCEngine=criuengine, checkpoint at start-up then restore
|
||||
checkpoint directory: core-24639.img core-24641.img core-24642.img (39 files); size: 112 MB
|
||||
RestoreTracker: beforeCheckpoint
|
||||
[3.535s][info][crac] Checkpoint ...
|
||||
restored; GET /ping -> pong; Restored CracDemoApplication in 0.183 seconds (process running for 0.184)
|
||||
Reference in New Issue
Block a user