src/share/vm/Xusage.txt

Thu, 07 Apr 2011 09:53:20 -0700

author
johnc
date
Thu, 07 Apr 2011 09:53:20 -0700
changeset 2781
e1162778c1c8
parent 0
f90c822e73f8
permissions
-rw-r--r--

7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
Summary: A referent object that is only weakly reachable at the start of concurrent marking but is re-attached to the strongly reachable object graph during marking may not be marked as live. This can cause the reference object to be processed prematurely and leave dangling pointers to the referent object. Implement a read barrier for the java.lang.ref.Reference::referent field by intrinsifying the Reference.get() method, and intercepting accesses though JNI, reflection, and Unsafe, so that when a non-null referent object is read it is also logged in an SATB buffer.
Reviewed-by: kvn, iveresov, never, tonyp, dholmes

aoqi@0 1 -Xmixed mixed mode execution (default)
aoqi@0 2 -Xint interpreted mode execution only
aoqi@0 3 -Xbootclasspath:<directories and zip/jar files separated by ;>
aoqi@0 4 set search path for bootstrap classes and resources
aoqi@0 5 -Xbootclasspath/a:<directories and zip/jar files separated by ;>
aoqi@0 6 append to end of bootstrap class path
aoqi@0 7 -Xbootclasspath/p:<directories and zip/jar files separated by ;>
aoqi@0 8 prepend in front of bootstrap class path
aoqi@0 9 -Xnoclassgc disable class garbage collection
aoqi@0 10 -Xincgc enable incremental garbage collection
aoqi@0 11 -Xloggc:<file> log GC status to a file with time stamps
aoqi@0 12 -Xbatch disable background compilation
aoqi@0 13 -Xms<size> set initial Java heap size
aoqi@0 14 -Xmx<size> set maximum Java heap size
aoqi@0 15 -Xss<size> set java thread stack size
aoqi@0 16 -Xprof output cpu profiling data
aoqi@0 17 -Xfuture enable strictest checks, anticipating future default
aoqi@0 18 -Xrs reduce use of OS signals by Java/VM (see documentation)
aoqi@0 19 -Xcheck:jni perform additional checks for JNI functions
aoqi@0 20 -Xshare:off do not attempt to use shared class data
aoqi@0 21 -Xshare:auto use shared class data if possible (default)
aoqi@0 22 -Xshare:on require using shared class data, otherwise fail.
aoqi@0 23
aoqi@0 24 The -X options are non-standard and subject to change without notice.

mercurial