@@ -2895,6 +2895,12 @@ when they're used.
2895
2895
396] ( https://openjdk.org/jeps/396 ) and made obsolete in JDK 17
2896
2896
by [ JEP 403] ( https://openjdk.org/jeps/403 ) .
2897
2897
2898
+ ## Removed Java Options
2899
+
2900
+ These ` java ` options have been removed in JDK @@VERSION_SPECIFICATION@@ and using them results in an error of:
2901
+
2902
+ > ` Unrecognized VM option ` * option-name*
2903
+
2898
2904
` -XX:RTMAbortRatio= ` * abort\_ ratio*
2899
2905
: Specifies the RTM abort ratio is specified as a percentage (%) of all
2900
2906
executed RTM transactions. If a number of aborted transactions becomes
@@ -2954,58 +2960,10 @@ when they're used.
2954
2960
processors, which forces them to read from main memory instead of their
2955
2961
cache.
2956
2962
2957
- ## Removed Java Options
2958
-
2959
- These ` java ` options have been removed in JDK @@VERSION_SPECIFICATION@@ and using them results in an error of:
2960
-
2961
- > ` Unrecognized VM option ` * option-name*
2962
-
2963
- ` -XX:InitialRAMFraction= ` * ratio*
2964
- : Sets the initial amount of memory that the JVM may use for the Java heap
2965
- before applying ergonomics heuristics as a ratio of the maximum amount
2966
- determined as described in the ` -XX:MaxRAM ` option. The default value is
2967
- 64.
2968
-
2969
- Use the option `-XX:InitialRAMPercentage` instead.
2970
-
2971
- ` -XX:MaxRAMFraction= ` * ratio*
2972
- : Sets the maximum amount of memory that the JVM may use for the Java heap
2973
- before applying ergonomics heuristics as a fraction of the maximum amount
2974
- determined as described in the ` -XX:MaxRAM ` option. The default value is 4.
2975
-
2976
- Specifying this option disables automatic use of compressed oops if
2977
- the combined result of this and other options influencing the maximum amount
2978
- of memory is larger than the range of memory addressable by compressed oops.
2979
- See `-XX:UseCompressedOops` for further information about compressed oops.
2980
-
2981
- Use the option `-XX:MaxRAMPercentage` instead.
2982
-
2983
- ` -XX:MinRAMFraction= ` * ratio*
2984
- : Sets the maximum amount of memory that the JVM may use for the Java heap
2985
- before applying ergonomics heuristics as a fraction of the maximum amount
2986
- determined as described in the ` -XX:MaxRAM ` option for small heaps. A small
2987
- heap is a heap of approximately 125 MB. The default value is 2.
2988
-
2989
- Use the option `-XX:MinRAMPercentage` instead.
2990
-
2991
- ` -XX:+ScavengeBeforeFullGC `
2992
- : Enables GC of the young generation before each full GC. This option is
2993
- enabled by default. It is recommended that you * don't* disable it, because
2994
- scavenging the young generation before a full GC can reduce the number of
2995
- objects reachable from the old generation space into the young generation
2996
- space. To disable GC of the young generation before each full GC, specify
2997
- the option ` -XX:-ScavengeBeforeFullGC ` .
2998
-
2999
- ` -Xfuture `
3000
- : Enables strict class-file format checks that enforce close conformance to
3001
- the class-file format specification. Developers should use this flag when
3002
- developing new code. Stricter checks may become the default in future
3003
- releases.
3004
-
3005
- Use the option `-Xverify:all` instead.
3006
-
3007
2963
For the lists and descriptions of options removed in previous releases see the * Removed Java Options* section in:
3008
2964
2965
+ - [ The ` java ` Command, Release 24] ( https://docs.oracle.com/en/java/javase/24/docs/specs/man/java.html )
2966
+
3009
2967
- [ The ` java ` Command, Release 23] ( https://docs.oracle.com/en/java/javase/23/docs/specs/man/java.html )
3010
2968
3011
2969
- [ The ` java ` Command, Release 22] ( https://docs.oracle.com/en/java/javase/22/docs/specs/man/java.html )
0 commit comments