Skip to content

Conversation

@graalvmbot
Copy link
Collaborator

Example

$ native-image -m jdk.httpserver --gc=epsilon -H:EnableMonitoringFeatures=all Warning: The option '-H:EnableMonitoringFeatures=all' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future. Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue. ======================================================================================================================== GraalVM Native Image: Generating 'jdk.httpserver' (executable)... ======================================================================================================================== [1/8] Initializing... (4.1s @ 0.17GB) Java version: 21+33, vendor version: Oracle GraalVM 21-dev+33.1 Graal compiler: optimization level: 2, target machine: x86-64-v3 C compiler: gcc (linux, x86_64, 12.3.0) Garbage collector: Epsilon GC (max heap size: 80% of RAM) 1 user-specific feature(s): - com.oracle.svm.thirdparty.gson.GsonFeature ------------------------------------------------------------------------------------------------------------------------ 1 experimental option(s) unlocked: - '-H:EnableMonitoringFeatures' (alternative API option(s): --enable-monitoring=all; origin(s): command line) ------------------------------------------------------------------------------------------------------------------------ 

Previously

$ native-image -m jdk.httpserver --gc=epsilon -H:EnableMonitoringFeatures=all Warning: The option '-H:EnableMonitoringFeatures=all' is experimental and must be enabled via -H:+UnlockExperimentalVMOptions in the future. Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue. ======================================================================================================================== GraalVM Native Image: Generating 'jdk.httpserver' (executable)... ======================================================================================================================== [1/8] Initializing... (4.7s @ 0.17GB) Java version: 21+33, vendor version: Oracle GraalVM 21-dev+33.1 Graal compiler: optimization level: 2, target machine: x86-64-v3 C compiler: gcc (linux, x86_64, 12.3.0) Garbage collector: Epsilon GC (max heap size: 80% of RAM) 1 user-specific feature(s): - com.oracle.svm.thirdparty.gson.GsonFeature ------------------------------------------------------------------------------------------------------------------------ 2 Experimental option(s) in use: -H:-UseSerialGC Origin: command line -H:EnableMonitoringFeatures Origin: command line Alternative API option(s): --enable-monitoring=all ------------------------------------------------------------------------------------------------------------------------ 
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 17, 2023
@graalvmbot graalvmbot merged commit 0e99fb9 into master Aug 17, 2023
@graalvmbot graalvmbot deleted the fniephaus/GR-47647/experimental-options-improvements branch August 17, 2023 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

2 participants