Mercurial > hg > truffle
annotate src/share/vm/interpreter/bytecodeInterpreterWithChecks.xsl @ 441:da9cb4e97a5f
6770608: G1: Mutator thread can flush barrier and satb queues during safepoint
6660573: G1: BigApps Failure : guarantee(satb_mq_set.completed_buffers_num() == 0,"invariant")
Summary: When exiting a mutator thread is removed from the thread list before it has a chance to flush its SATB and barrier queues. If GC happens at this moment the objects that are refererred from these queues can be moved, which will case a crash. The fix is simply to flush the buffers before removing a thread from the list.
Reviewed-by: jcoomes, tonyp
author | iveresov |
---|---|
date | Fri, 14 Nov 2008 14:23:05 -0800 |
parents | d1605aabd0a1 |
children | c18cbe5936b8 |
rev | line source |
---|---|
0 | 1 <?xml version="1.0"?> |
2 <!-- | |
196 | 3 Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. |
177 | 4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 | |
6 This code is free software; you can redistribute it and/or modify it | |
7 under the terms of the GNU General Public License version 2 only, as | |
8 published by the Free Software Foundation. | |
9 | |
10 This code is distributed in the hope that it will be useful, but WITHOUT | |
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 version 2 for more details (a copy is included in the LICENSE file that | |
14 accompanied this code). | |
15 | |
16 You should have received a copy of the GNU General Public License version | |
17 2 along with this work; if not, write to the Free Software Foundation, | |
18 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
19 | |
20 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
21 CA 95054 USA or visit www.sun.com if you need additional information or | |
22 have any questions. | |
0 | 23 --> |
24 | |
25 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
166
aaa1137c5ef4
6707485: bytecodeInterpreterWithChecks.xsl is malformed
sgoldman
parents:
0
diff
changeset
|
26 <xsl:output method="text" indent="no" omit-xml-declaration="yes"/> |
0 | 27 |
28 <xsl:template match="processcode"> | |
29 <xsl:text> | |
30 #define VM_JVMTI | |
31 #include "bytecodeInterpreter.cpp" | |
32 </xsl:text> | |
33 <xsl:text disable-output-escaping = "yes"> | |
34 | |
35 </xsl:text> | |
36 | |
37 </xsl:template> | |
38 | |
39 </xsl:stylesheet> |