Terry : Sun Hotspot VS JRockit JVM

Sun Hotspot JVM VS JRockit JVM

Switching between SUN JVM 6 and JRockit JDK 6 on Weblogic Server 11g and 12c.

This document provides equivalence between non-standars parameters from one to other JVM.

This is possible as a post-installation option, if required to use a newer JDK for your Java applications. In addition, Oracle has tested and certified the Oracle provided components using Oracle JRockit JDK 6 and Sun JVM JDK 6.

Solution

Sun Java 2 JDK 6.0

Oracle JRockit 6.0

XXNewSize

Xns

Xmn

Xns

XXMaxNewSize

Xns

XPermSize

N/A

XMaxPermSize

N/A

XX:SurvivorRatio=<ratio>

N/A

N/A

XXkeepAreaRatio=<ratio>

Dcom.sun.management.jmxremote=false|true

Xmanagament

Dcom.sun.management.jmxremote.ssl=false|true

Xmanagament:ssl=false|true

Dcom.sun.management.jmxremote.authenticate=false|true

Xmanagament:authenticate=false|true

Dcom.sun.management.jmxremote.port=<port_number>

Xmanagament:port=<port_number>

XX:+ShowMessageBoxOnError=false|true

Djrockit.waitonerror=false|error

XX:+HeapDumpOnOutOfMemoryError=false|true

Djrockit.oomdiagnostics=false|true

XX:+HeapDumpOnOutOfMemoryError=false|true

XXdumpFullState or XXdumpSize:large

N/A

Djrockit.ctrlbreak.enableforce_crash=false|true

N/A

XXdumpSize:normal

N/A

XXdumpSize:small

N/A

XXdumpSize:none

XX:HeapDumPath=<filename>

Djrockit.oomdiagnostics.filename=<filename>

XX:HeapDumPath=<filename>

export JROCKIT_DUMP_PATH=<path to directory>

UserThreads

N/A

Djava.file.encoding

Dfile.enconding

Xrs

Xnohup, but Xrs may work

XX:OnOutOfMemoryError="kill -9 %p"

XXexitOnOutOfMemory

XX:-DisableExplicitGC

XXnoSystemGC

XX:OnError=<cmd_arguments>

N/A

XX:+AggressiveHeap

XXaggressive:memory

verbose:gc

Xverbose:memory;gc => See NOTE

N/A

Xverbose:class|codegen|cpuinfo|exceptions|exceptions=trace|exceptions=debug|load|gcpause|opt

XX:MaxHeapFreeRatio=<heap_percent>

XXgcTrigger=<heap_percent>

XX:MinFreeHeapRatio

N/A

XX:-UseMPSS

N/A

XX:+UseISM

N/A

XX:+UseSpinning

N/A

XX:+UseTLAB

N/A

XX:TLABSize=<size in kb>

XXtlaSize:min=<size>,preferred=<size>

XX:+ResizeTLAB

XXtlaSize:min=<size>,preferred=<size>

N/A

XXnoCodeGC

Xint

Xnoopt

Xrunhprof

N/A, Jrockit R28 possible new feature

Djava.compiler=NONE

XXnoJITInline, for inline optimization only

NOTE

Icon

Jrockit JVM

Xverbose

 memdbg | memory;gc | memory;gencon | memory;singlecon | memory;parrallel | opt | verboserefs | starttime | systemgc | timing | stackoverflow | refobj | referents

Reference

Translation of Non-standars parameters from the SUN JVM to the JRockit JVM (Doc ID 1074735.1)