annotate make/templates/bsd-header @ 1359:23b1b27ac76c

6909756: G1: guarantee(G1CollectedHeap::heap()->mark_in_progress(),"Precondition.") Summary: Make sure that two marking cycles do not overlap, i.e., a new one can only start after the concurrent marking thread finishes all its work. In the fix I piggy-back a couple of minor extra fixes: some general code reformatting for consistency (only around the code I modified), the removal of a field (G1CollectorPolicy::_should_initiate_conc_mark) which doesn't seem to be used at all (it's only set but never read), as well as moving the "is GC locker active" test earlier into the G1 pause / Full GC and using a more appropriate method for it. Reviewed-by: johnc, jmasa, jcoomes, ysr
author tonyp
date Tue, 06 Apr 2010 10:59:45 -0400
parents a61af66fc99e
children c18cbe5936b8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 Copyright %YEARS% Sun Microsystems, Inc. All Rights Reserved.
a61af66fc99e Initial load
duke
parents:
diff changeset
2
a61af66fc99e Initial load
duke
parents:
diff changeset
3 Redistribution and use in source and binary forms, with or without
a61af66fc99e Initial load
duke
parents:
diff changeset
4 modification, are permitted provided that the following conditions
a61af66fc99e Initial load
duke
parents:
diff changeset
5 are met:
a61af66fc99e Initial load
duke
parents:
diff changeset
6
a61af66fc99e Initial load
duke
parents:
diff changeset
7 - Redistributions of source code must retain the above copyright
a61af66fc99e Initial load
duke
parents:
diff changeset
8 notice, this list of conditions and the following disclaimer.
a61af66fc99e Initial load
duke
parents:
diff changeset
9
a61af66fc99e Initial load
duke
parents:
diff changeset
10 - Redistributions in binary form must reproduce the above copyright
a61af66fc99e Initial load
duke
parents:
diff changeset
11 notice, this list of conditions and the following disclaimer in the
a61af66fc99e Initial load
duke
parents:
diff changeset
12 documentation and/or other materials provided with the distribution.
a61af66fc99e Initial load
duke
parents:
diff changeset
13
a61af66fc99e Initial load
duke
parents:
diff changeset
14 - Neither the name of Sun Microsystems nor the names of its
a61af66fc99e Initial load
duke
parents:
diff changeset
15 contributors may be used to endorse or promote products derived
a61af66fc99e Initial load
duke
parents:
diff changeset
16 from this software without specific prior written permission.
a61af66fc99e Initial load
duke
parents:
diff changeset
17
a61af66fc99e Initial load
duke
parents:
diff changeset
18 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
a61af66fc99e Initial load
duke
parents:
diff changeset
19 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
a61af66fc99e Initial load
duke
parents:
diff changeset
20 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
a61af66fc99e Initial load
duke
parents:
diff changeset
21 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
a61af66fc99e Initial load
duke
parents:
diff changeset
22 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
a61af66fc99e Initial load
duke
parents:
diff changeset
23 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
a61af66fc99e Initial load
duke
parents:
diff changeset
24 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
a61af66fc99e Initial load
duke
parents:
diff changeset
25 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
a61af66fc99e Initial load
duke
parents:
diff changeset
26 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
a61af66fc99e Initial load
duke
parents:
diff changeset
27 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
a61af66fc99e Initial load
duke
parents:
diff changeset
28 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.