14.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:[+|-]HitachiThreadDump (Option to output the extended thread dump information)
-
-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:[+|-]HitachiVerboseGCPrintCause (Option to output the cause of GC)
-
-XX:[+|-]HitachiVerboseGCPrintDate (Option to output the date of 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:[+|-]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:[+|-]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:HitachiCallToString (Option to output the local variable information)
-
-XX:[+|-]HitachiUseExplicitMemory (Explicit Memory Management functionality option)
-
-XX:HitachiExplicitHeapMaxSize (Option for specifying the maximum size of the Explicit memory block)
-
-XX:[+|-]JITCompilerContinuation (Option for the JIT compiler continuation functionality)
-
-XX:[+|-]UseCompressedOops (Java option used for the compressed object pointer functionality)
-
-XX:HitachiThreadLimit (Option for specifying the maximum number of threads)