January 2015
Intermediate to advanced
298 pages
6h 27m
English
HotSpot has other options, which may significantly change its behavior. Here we will make use of some of these options, which are used only on the dev versions of OpenJDK.
We will need to compile a dev OpenJDK version, in order to use the dev options.
We will use parameters that are available in the developer version of OpenJDK. In the production builds, they are disabled or set as constant values.
To make use of these parameters, we will run Java as follows:
java - -XX:<optionName>
Here is a list of some usable dev options:
InlineUnsafeOps: This option will, if enabled, inline native memory operations from sun.misc.Unsafe. It may offer some performance improvements in some cases.DieOnSafepointTimeout ...Read now
Unlock full access