Created
June 10, 2020 07:18
-
-
Save apple-corps/9f5329cd2e10d7454172fd8de2a68adf to your computer and use it in GitHub Desktop.
native image running locally
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colin@M00974055-VM:/tmp/quickstart$ native-image -H:+ReportExceptionStackTraces -H:+AddAllCharsets --allow-incomplete-classpath --no-fallback --initialize-at-build-time --enable-http --enable-https --enable-all-security-services --verbose -jar "./target/scala-2.13/quickstart-assembly-0.0.1-SNAPSHOT.jar" quickstartBinaryImage | |
Apply jar:file:///tmp/quickstart/target/scala-2.13/quickstart-assembly-0.0.1-SNAPSHOT.jar!/META-INF/native-image/com/example/quickstart/reflect-config.json | |
StartServer [ | |
/usr/lib/jvm/graalvm-ce-java11-20.0.0/bin/java \ | |
-cp \ | |
/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/svm-llvm.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/graal-llvm.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/llvm-wrapper-shadowed.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/javacpp-shadowed.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/llvm-platform-specific-shadowed.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/svm.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/objectfile.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/pointsto.jar \ | |
-XX:+UnlockExperimentalVMOptions \ | |
-XX:+EnableJVMCI \ | |
-Dtruffle.TrustAllTruffleRuntimeProviders=true \ | |
-Dtruffle.TruffleRuntime=com.oracle.truffle.api.impl.DefaultTruffleRuntime \ | |
-Dgraalvm.ForcePolyglotInvalid=true \ | |
-Dgraalvm.locatorDisabled=true \ | |
-Dsubstratevm.IgnoreGraalVersionCheck=true \ | |
-Djava.lang.invoke.stringConcat=BC_SB \ | |
--add-exports \ | |
jdk.internal.vm.ci/jdk.vm.ci.runtime=ALL-UNNAMED \ | |
--add-exports \ | |
jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED \ | |
--add-exports \ | |
jdk.internal.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED \ | |
--add-exports \ | |
jdk.internal.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED \ | |
--add-exports \ | |
jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED \ | |
--add-exports \ | |
jdk.internal.vm.ci/jdk.vm.ci.hotspot=ALL-UNNAMED \ | |
--add-exports \ | |
jdk.internal.vm.ci/jdk.vm.ci.services=ALL-UNNAMED \ | |
--add-exports \ | |
jdk.internal.vm.ci/jdk.vm.ci.common=ALL-UNNAMED \ | |
--add-exports \ | |
jdk.internal.vm.ci/jdk.vm.ci.code.site=ALL-UNNAMED \ | |
--add-exports \ | |
jdk.internal.vm.ci/jdk.vm.ci.code.stack=ALL-UNNAMED \ | |
--add-opens \ | |
jdk.internal.vm.compiler/org.graalvm.compiler.debug=ALL-UNNAMED \ | |
--add-opens \ | |
jdk.internal.vm.compiler/org.graalvm.compiler.nodes=ALL-UNNAMED \ | |
--add-opens \ | |
jdk.unsupported/sun.reflect=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/jdk.internal.module=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/jdk.internal.ref=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/jdk.internal.reflect=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/java.io=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/java.lang=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/java.lang.reflect=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/java.lang.invoke=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/java.lang.ref=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/java.net=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/java.nio=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/java.nio.file=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/java.security=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/javax.crypto=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/java.util=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/java.util.concurrent.atomic=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/sun.security.x509=ALL-UNNAMED \ | |
--add-opens \ | |
java.base/jdk.internal.logger=ALL-UNNAMED \ | |
--add-opens \ | |
org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED \ | |
--add-opens \ | |
org.graalvm.sdk/org.graalvm.polyglot=ALL-UNNAMED \ | |
--add-opens \ | |
org.graalvm.truffle/com.oracle.truffle.polyglot=ALL-UNNAMED \ | |
--add-opens \ | |
org.graalvm.truffle/com.oracle.truffle.api.impl=ALL-UNNAMED \ | |
-XX:+UseJVMCINativeLibrary \ | |
-Xss10m \ | |
-Duser.country=US \ | |
-Duser.language=en \ | |
-Djava.awt.headless=true \ | |
-Dorg.graalvm.version=20.0.0 \ | |
-Dorg.graalvm.config=CE \ | |
-Dcom.oracle.graalvm.isaot=true \ | |
-Djava.system.class.loader=com.oracle.svm.hosted.NativeImageSystemClassLoader \ | |
-Xshare:off \ | |
--module-path \ | |
/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/truffle/truffle-api.jar \ | |
-javaagent:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/svm.jar \ | |
-Djdk.internal.lambda.disableEagerInitialization=true \ | |
-Djdk.internal.lambda.eagerlyInitialize=false \ | |
-Djava.lang.invoke.InnerClassLambdaMetafactory.initializeLambdas=false \ | |
-Xmx6577086464 \ | |
-Xms1g \ | |
-Dgraal.LogFile=%e \ | |
com.oracle.svm.hosted.server.NativeImageBuildServer \ | |
-port=0 \ | |
-logFile=/home/colin/.native-image/machine-id-7f00aa272b454c6090376648314c685f/session-id-7688/server-id-c1670823043c502ac225b3402ce51028e5de47fa020b64618c85ec44bb1268a3f3c0fff4a12fb99a0433130924787c18a46a203bffaa090d69d4a9cb4fa43cbb/server.log | |
] | |
Build on Server(pid: 36927, port: 39383)* | |
SendBuildRequest [ | |
-task=com.oracle.svm.hosted.NativeImageGeneratorRunner | |
-imagecp | |
/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/svm-llvm.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/graal-llvm.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/llvm-wrapper-shadowed.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/javacpp-shadowed.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/llvm-platform-specific-shadowed.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/svm.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/objectfile.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/pointsto.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/library-support.jar:/tmp/quickstart/target/scala-2.13/quickstart-assembly-0.0.1-SNAPSHOT.jar | |
-H:Path=/tmp/quickstart | |
-H:+ReportExceptionStackTraces | |
-H:+AddAllCharsets | |
-H:+AllowIncompleteClasspath | |
-H:FallbackThreshold=0 | |
-H:ClassInitialization=:build_time | |
-H:EnableURLProtocols=http | |
-H:EnableURLProtocols=https | |
-H:+EnableAllSecurityServices | |
-H:Class=com.example.quickstart.Main | |
-H:ReflectionConfigurationResources=META-INF/native-image/com/example/quickstart/reflect-config.json | |
-H:CLibraryPath=/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/clibraries/linux-amd64 | |
-H:Name=quickstartBinaryImage | |
] | |
[quickstartBinaryImage:36927] classlist: 14,976.28 ms, 1.20 GB | |
[quickstartBinaryImage:36927] (cap): 1,995.86 ms, 1.20 GB | |
[quickstartBinaryImage:36927] setup: 6,503.06 ms, 1.20 GB | |
[quickstartBinaryImage:36927] (typeflow): 59,350.39 ms, 5.32 GB | |
[quickstartBinaryImage:36927] (objects): 54,388.61 ms, 5.32 GB | |
[quickstartBinaryImage:36927] (features): 5,066.51 ms, 5.32 GB | |
[quickstartBinaryImage:36927] analysis: 125,592.78 ms, 5.32 GB | |
[quickstartBinaryImage:36927] (clinit): 3,640.66 ms, 5.32 GB | |
[quickstartBinaryImage:36927] universe: 8,804.19 ms, 5.32 GB | |
[quickstartBinaryImage:36927] (parse): 12,747.16 ms, 5.32 GB | |
[quickstartBinaryImage:36927] (inline): 32,512.94 ms, 5.64 GB | |
[quickstartBinaryImage:36927] (compile): 77,161.31 ms, 5.64 GB | |
[quickstartBinaryImage:36927] compile: 129,981.18 ms, 5.64 GB | |
[quickstartBinaryImage:36927] image: 11,999.38 ms, 5.64 GB | |
[quickstartBinaryImage:36927] write: 1,786.78 ms, 5.64 GB | |
[quickstartBinaryImage:36927] [total]: 300,571.98 ms, 5.64 GB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment