Specifies a summary of directories, JAR documents, and ZIP archives to append to the tip from the default bootstrap course path.
Autotunes RTM locking according to the abort ratio. This ratio is specified by the -XX:RTMAbortRatio possibility. If the amount of aborted transactions exceeds the abort ratio, then the strategy containing the lock is deoptimized and recompiled with all locks as standard locks. This selection is disabled by default. The -XX:+UseRTMLocking choice have to be enabled.
-XX:SharedArchiveConfigFile=shared_config_file The choice is used to specify more shared data added towards the archive file. In JDK nine, it supports strings and symbols. The string knowledge and image info needs to be produced from the jcmd Device attaching to the working JVM course of action. See jcmd.
If you configure (or resize) the OS kernel parameters /proc/sys/kernel/shmmax or /proc/sys/vm/nr_hugepages, Java processes may perhaps allocate substantial webpages for areas in addition to the Java heap. These methods can allocate huge webpages for the subsequent places:
Sets The proportion of heap you’re prepared to squander. The Java HotSpot VM doesn’t initiate the combined rubbish selection cycle in the event the reclaimable proportion is below the heap squander share. The default is 5 per cent.
Boolean choices are utilized to both enable a characteristic that’s disabled by default or disable a element that’s enabled by default. These types of possibilities don’t require a parameter. Boolean -XX choices are enabled utilizing the as well as sign (-XX:+OptionName) and disabled using the minus indicator (-XX:-OptionName).
Append the letter k this or K to point kilobytes, m or M to point megabytes, click or g or G to indicate gigabytes. The default value is selected at operate time dependant on the process configuration.
File names within an argument file are relative to The existing Listing, never to the location with the argument file.
Consider unique values for these parameters until finally they’re as lower as possible nonetheless continue to keep acceptable efficiency.
Sets the ratio concerning eden House dimension and survivor space size. By default, this option is about to 8. The following illustration exhibits the way to set the eden/survivor Area ratio to four:
For the flags that don’t possess the range specified, the values aren’t shown during the print out. For example,:
Append the letter k or K to indicate kilobytes, m or M to indicate megabytes, g or G to point gigabytes. The subsequent examples display how to established the size of allocated memory to 6 MB using numerous models:
Disables qualifications compilation. By default, the JVM compiles the strategy to be a track record task, working the method in interpreter manner until eventually the history compilation is concluded.
This feature is such as the JFR.commence diagnostic command that commences a recording through runtime. You could established the subsequent parameters when starting off a JFR recording: