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
author |
johnc |
date |
Thu, 07 Apr 2011 09:53:20 -0700 |
parents |
a61af66fc99e |
children |
|
rev |
line source |
0
|
1 README:
|
|
2 This file should be located at the top of the hotspot Mercurial repository.
|
|
3
|
|
4 See http://openjdk.java.net/ for more information about the OpenJDK.
|
|
5
|
|
6 See ../README-builds.html for complete details on build machine requirements.
|
|
7
|
|
8 Simple Build Instructions:
|
|
9
|
|
10 cd make && gnumake
|
|
11
|
|
12 The files that will be imported into the jdk build will be in the "build"
|
|
13 directory.
|
|
14
|