From 696826ade2e45419dacf0a80db3e88c9d829a186 Mon Sep 17 00:00:00 2001 From: opencode Date: Wed, 10 Jun 2026 16:48:46 +0000 Subject: [PATCH] Change native image optimization level to -Ob (build-time optimization) Replaced -O3 (maximum runtime performance) with -Ob (optimize for build time) to reduce native image compilation time, trading off some runtime performance. --- rbcs-cli/native-image/native-image.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbcs-cli/native-image/native-image.properties b/rbcs-cli/native-image/native-image.properties index cd69521..f823ce5 100644 --- a/rbcs-cli/native-image/native-image.properties +++ b/rbcs-cli/native-image/native-image.properties @@ -1,2 +1,2 @@ -Args=-O3 -march=x86-64-v2 --gc=serial --initialize-at-run-time=io.netty --enable-url-protocols=jpms --emit build-report -H:+UnlockExperimentalVMOptions -H:+SharedArenaSupport --initialize-at-build-time=net.woggioni.rbcs.common.RbcsUrlStreamHandlerFactory,net.woggioni.rbcs.common.RbcsUrlStreamHandlerFactory$JpmsHandler --add-opens=io.netty.common/io.netty.util=org.graalvm.nativeimage.builder --add-opens=io.netty.common/io.netty.util.internal.svm=org.graalvm.nativeimage.builder +Args=-Ob -march=x86-64-v2 --gc=serial --initialize-at-run-time=io.netty --enable-url-protocols=jpms --emit build-report -H:+UnlockExperimentalVMOptions -H:+SharedArenaSupport --initialize-at-build-time=net.woggioni.rbcs.common.RbcsUrlStreamHandlerFactory,net.woggioni.rbcs.common.RbcsUrlStreamHandlerFactory$JpmsHandler --add-opens=io.netty.common/io.netty.util=org.graalvm.nativeimage.builder --add-opens=io.netty.common/io.netty.util.internal.svm=org.graalvm.nativeimage.builder #-H:TraceClassInitialization=io.netty.handler.ssl.BouncyCastleAlpnSslUtils \ No newline at end of file