1 parent 80f0a94 commit 9cf7503Copy full SHA for 9cf7503
1 file changed
client/build-jlink.sh
@@ -300,6 +300,8 @@ generate_startup_archives() {
300
# Uses a single AotTraining class that exercises all handlers in one JVM invocation,
301
# replacing 20 separate JVM launches (~19s -> ~1s).
302
log "Recording AOT training data..."
303
+ # Set environment variables required by MainJvmScope so handlers can initialize.
304
+ CLAUDE_PROJECT_DIR="${PROJECT_DIR%/*}" CLAUDE_PLUGIN_ROOT="${PROJECT_DIR%/*}/plugin" \
305
"$java_bin" \
306
-XX:AOTMode=record \
307
-XX:AOTConfiguration="$aot_config" \
0 commit comments