16.2 Details of JavaVM extension options

This section explains the details of the JavaVM extension options.

The following Java programs are used as examples in this document:

Java Program example 1

class Example1 {
 public static void main(String[] args) {
   Example1 e1 = new Example1();
   Object obj = new Object();
   e1.method(1, 'Q', obj); // 5th line
 }

 void method(int l1, char l2, Object l3) {
   float l4 = 4.0f;
   boolean l5 = true;
   double l6 = Double.MAX_VALUE; // double type maximum value
   Object[] l7 = new Object[10];

   try {
    exception-occurred // 15th line
   } catch (Exception e) {
    e.printStackTrace();
   }
 }
}

Java Program example 2

class Example2 {
 public static void main(String[] args) {
   Example2 e2 = new Example2();
   e2.method(); // 4th line
 }

 synchronized void method() {
   int l1 = 1;
   float l2 = 2.0f;
   String l3 = "local 3";
   Character l4 = new Character('X');
   Object l5 = new Thread();
   Object[] l6 = new Thread[10];

   thread-dump-is-output // 15th line
 }
}

Java Program example 3

class Example3 {
 public static void main(String[] args) {
   Example3 e3 = new Example3();
   e3.method(); // 4th line
 }

 void method() {
   String l1 = "local 1";
   StringBuffer l2 = new StringBuffer(l1);
   l2.append(" + local 2");
   Boolean l3 = new Boolean(false);
   Character l4 = new Character('X');
   Long l5 = new Long(Long.MIN_VALUE); // long type minimum value
   Object l6 = new Thread();
   Object[] l7 = new Thread[10];

   try {
    exception-occurred // 18th line
   } catch (Exception e) {
    e.printStackTrace();
   }
 }

 public String toString() {
   return "I am an Example3 instance.";
 }
}

Organization of this section
-XX:+Hitachi (List display option)
-XX:[+|-]HitachiThreadDump (Option to output the extended thread dump information)
-XX:[+|-]HitachiThreadDumpToStdout (Option for preventing the standard output of extended thread dump)
-XX:[+|-]HitachiThreadDumpWithHashCode (Hash code output option of the extended thread dump)
-XX:[+|-]HitachiThreadDumpWithCpuTime (CPU usage time output option of the extended thread dump)
-XX:[+|-]HitachiThreadDumpWithBlockCount (Block count output option of the extended thread dump)
-XX:HitachiJavaLog (Option for specifying the prefix of log file name)
-XX:HitachiJavaLogFileSize (Option for specifying the maximum log file size)
-XX:[+|-]HitachiJavaLogNoMoreOutput (Option specified when the log file input/ output error occurs)
-XX:HitachiJavaLogNumberOfFile (Option for specifying the maximum number of log files)
-XX:[+|-]HitachiOutputMilliTime (Detailed time output option)
-XX:[+|-]HitachiVerboseGC (Option for extended verbosegc information output)
-XX:[+|-]HitachiCommaVerboseGC (Option for CSV output)
-XX:HitachiVerboseGCIntervalTime (Option for specifying the output interval of extended verbosegc information)
-XX:[+|-]HitachiVerboseGCPrintCause (Option to output the cause of garbage collection)
-XX:[+|-]HitachiVerboseGCPrintDate (Option to output the date of extended verbosegc information)
-XX:[+|-]HitachiVerboseGCCpuTime (Option to output the CPU usage time of the extended verbosegc information)
-XX:[+|-]HitachiVerboseGCPrintTenuringDistribution (Age distribution output option of Survivor area)
-XX:[+|-]HitachiVerboseGCPrintJVMInternalMemory (Option to output the C heap information)
-XX:[+|-]HitachiVerboseGCPrintThreadCount (Option to output the number of threads)
-XX:[+|-]HitachiVerboseGCPrintDeleteOnExit (Heap size output option used by java.io.File.deleteOnExit())
-XX:[+|-]PrintCodeCacheInfo (Option for the output of the code cache area information)
-XX:CodeCacheInfoPrintRatio (Option for specifying the usage rate of the code cache area)
-XX:[+|-]PrintCodeCacheFullMessage (Option for the output of the code cache area depletion message)
-XX:[+|-]HitachiOutOfMemoryCause (Option to output the causes of exception)
-XX:[+|-]HitachiOutOfMemoryStackTrace (Option for stack trace output)
-XX:HitachiOutOfMemoryStackTraceLineSize (Option for specifying the line size of stack trace)
-XX:[+|-]HitachiOutOfMemorySize (Option to output the memory size)
-XX:[+|-]HitachiOutOfMemoryAbort (Forced termination option)
-XX:[+|-]HitachiOutOfMemoryAbortThreadDump (Option to output the thread dump)
-XX:[+|-]HitachiOutOfMemoryAbortThreadDumpWithJHeapProf(Class-wise statistical information output option)
-XX:[+|-]HitachiOutOfMemoryHandling (OutOfMemory handling option)
-XX:HitachiOutOfMemoryHandlingMaxThrowCount (Option for setting up the maximum occurrence count)
-XX:[+|-]HitachiJavaClassLibTrace (Option to output the stack trace of class library)
-XX:HitachiJavaClassLibTraceLineSize (Option to specify the line size of stack trace for the class library)
-XX:[+|-]HitachiLocalsInThrowable (Option for collecting the local variable information when an exception occurs)
-XX:[+|-]HitachiLocalsInStackTrace (Option to output the local variable when the thread dump is output)
-XX:[+|-]HitachiLocalsSimpleFormat (Option for changing the output format of the local variable information)
-XX:[+|-]HitachiTrueTypeInLocals (Option to output the true type name of the local variable information)
-XX:HitachiCallToString (Option to output the local variable information)
-XX:[+|-]HitachiFullCore (Release system resource option)
-XX:[+|-]HitachiReserveSwapSpace (Reserve swap area option)
-XX:[+|-]HitachiUseExplicitMemory (Explicit Memory Management functionality option)
-XX:HitachiExplicitHeapMaxSize (Option for specifying the maximum size of the Explicit memory block)
-XX:HitachiExplicitMemoryLogLevel (Option for specifying the log output level of the Explicit Memory Management functionality)
-XX:HitachiExplicitMemoryJavaLog (Option for specifying the log file output location of the Explicit Memory Management functionality)
-XX:HitachiExplicitMemoryJavaLogFileSize (Option for specifying the maximum log file size of the Explicit Memory Management functionality)
-XX:HitachiExplicitMemoryJavaLogNumberOfFile (Option for specifying the maximum number of log files of the Explicit Memory Management functionality)
-XX:[+|-]HitachiExplicitMemoryMoveToTenuredFirst(Explicit release function option of Explicit Memory Management function)
-XX:[+|-]HitachiExplicitMemoryAutoReclaim (Automatic release function option of explicit memory management)
-XX:[+|-]HitachiExplicitMemoryCompatibleToV8 (Version compatibility setting option of Explicit Memory Management function)
-XX:[+|-]HitachiAutoExplicitMemory (Automatic allocation function option of Explicit Memory Management function)
-XX:HitachiAutoExplicitMemoryFile (Option for specifying the file path of the automatic allocation function of the Explicit Memory Management function)
-XX:ExplicitMemoryFullGCPolicy (Option for controlling the transfer of objects to the Explicit memory block of the Explicit Memory Management functionality)
-XX:[+|-]ExplicitMemoryUseExcludeClass (Option for the functionality for specifying the classes to be excluded from the Explicit Memory Management functionality)
-XX:ExplicitMemoryExcludeClassListFile (Option for specifying the path of the Explicit Memory Management functionality exclusion setup file)
-XX:ExplicitMemoryNotExcludeClassListFile (Option for specifying the path of the Explicit Memory Management functionality non-exclusion setup file)
-XX:[+|-]HitachiExplicitMemoryAutoRefReclaim (Memory usage reduction option for Explicit heap used in an HTTP session)
-XX:HitachiJITCompileMaxMemorySize (Option for specifying the maximum memory allocated for JIT compilation)
-XX:[+|-]JITCompilerContinuation (Option for the JIT compiler continuation functionality)
-XX:HitachiThreadLimit (Option for specifying the maximum number of threads)