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
20 lines
1.4 KiB
Plaintext
20 lines
1.4 KiB
Plaintext
== 1. A file opened in a constructor and never closed (profile 'leaky'), checkpoint at start-up
|
|
java exit code: 1
|
|
WARN 11231 --- [crac-demo] [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to take CRaC checkpoint on refresh
|
|
ERROR 11231 --- [crac-demo] [ main] o.s.boot.SpringApplication : Application run failed
|
|
org.springframework.context.ApplicationContextException: Failed to take CRaC checkpoint on refresh
|
|
Caused by: org.crac.CheckpointException
|
|
Suppressed: jdk.internal.crac.mirror.impl.CheckpointOpenFileException: <work>/audit.log
|
|
checkpoint directory exists: no
|
|
|
|
== 2. The same mistake, checkpoint requested later with jcmd JDK.checkpoint
|
|
11275:
|
|
An exception during a checkpoint operation:
|
|
jdk.internal.crac.mirror.CheckpointException
|
|
Suppressed: jdk.internal.crac.mirror.impl.CheckpointOpenFileException: <work>/audit.log
|
|
at java.base/jdk.internal.crac.JDKFileResource.lambda$beforeCheckpoint$0(JDKFileResource.java:134)
|
|
at java.base/jdk.internal.crac.mirror.Core.checkpointRestore1(Core.java:195)
|
|
at java.base/jdk.internal.crac.mirror.Core.checkpointRestore(Core.java:291)
|
|
at java.base/jdk.internal.crac.mirror.Core.checkpointRestoreInternal(Core.java:327)
|
|
application still running and answering: pong
|