author | jwilhelm |
Mon, 04 May 2015 17:10:50 +0200 | |
changeset 30579 | 5208524ce05c |
parent 30173 | 13cf7580b000 |
child 30583 | 74ff3d21d616 |
permissions | -rw-r--r-- |
1374 | 1 |
/* |
30173
13cf7580b000
8077413: Avoid use of Universe::heap() inside collectors
pliden
parents:
26572
diff
changeset
|
2 |
* Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved. |
1374 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
5 |
* This code is free software; you can redistribute it and/or modify it |
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. |
|
8 |
* |
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
* accompanied this code). |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License version |
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
* |
|
5547
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
5402
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
5402
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
5402
diff
changeset
|
21 |
* questions. |
1374 | 22 |
* |
23 |
*/ |
|
24 |
||
7397 | 25 |
#include "precompiled.hpp" |
30173
13cf7580b000
8077413: Avoid use of Universe::heap() inside collectors
pliden
parents:
26572
diff
changeset
|
26 |
#include "gc_implementation/g1/g1CollectedHeap.hpp" |
7397 | 27 |
#include "gc_implementation/g1/g1BlockOffsetTable.inline.hpp" |
25361
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
28 |
#include "gc_implementation/g1/heapRegion.hpp" |
7397 | 29 |
#include "memory/space.hpp" |
30 |
#include "oops/oop.inline.hpp" |
|
31 |
#include "runtime/java.hpp" |
|
13195 | 32 |
#include "services/memTracker.hpp" |
1374 | 33 |
|
26313
9baebbfc62dd
8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp
brutisso
parents:
26160
diff
changeset
|
34 |
|
24424
2658d7834c6e
8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents:
23858
diff
changeset
|
35 |
|
1374 | 36 |
////////////////////////////////////////////////////////////////////// |
37 |
// G1BlockOffsetSharedArray |
|
38 |
////////////////////////////////////////////////////////////////////// |
|
39 |
||
26160 | 40 |
G1BlockOffsetSharedArray::G1BlockOffsetSharedArray(MemRegion heap, G1RegionToSpaceMapper* storage) : |
41 |
_reserved(), _end(NULL), _listener(), _offset_array(NULL) { |
|
42 |
||
43 |
_reserved = heap; |
|
44 |
_end = NULL; |
|
13195 | 45 |
|
26160 | 46 |
MemRegion bot_reserved = storage->reserved(); |
13195 | 47 |
|
26160 | 48 |
_offset_array = (u_char*)bot_reserved.start(); |
49 |
_end = _reserved.end(); |
|
50 |
||
51 |
storage->set_mapping_changed_listener(&_listener); |
|
52 |
||
1374 | 53 |
if (TraceBlockOffsetTable) { |
54 |
gclog_or_tty->print_cr("G1BlockOffsetSharedArray::G1BlockOffsetSharedArray: "); |
|
55 |
gclog_or_tty->print_cr(" " |
|
26313
9baebbfc62dd
8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp
brutisso
parents:
26160
diff
changeset
|
56 |
" rs.base(): " PTR_FORMAT |
9baebbfc62dd
8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp
brutisso
parents:
26160
diff
changeset
|
57 |
" rs.size(): " SIZE_FORMAT |
9baebbfc62dd
8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp
brutisso
parents:
26160
diff
changeset
|
58 |
" rs end(): " PTR_FORMAT, |
9baebbfc62dd
8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp
brutisso
parents:
26160
diff
changeset
|
59 |
p2i(bot_reserved.start()), bot_reserved.byte_size(), p2i(bot_reserved.end())); |
1374 | 60 |
} |
61 |
} |
|
62 |
||
63 |
bool G1BlockOffsetSharedArray::is_card_boundary(HeapWord* p) const { |
|
64 |
assert(p >= _reserved.start(), "just checking"); |
|
65 |
size_t delta = pointer_delta(p, _reserved.start()); |
|
66 |
return (delta & right_n_bits(LogN_words)) == (size_t)NoBits; |
|
67 |
} |
|
68 |
||
69 |
////////////////////////////////////////////////////////////////////// |
|
70 |
// G1BlockOffsetArray |
|
71 |
////////////////////////////////////////////////////////////////////// |
|
72 |
||
73 |
G1BlockOffsetArray::G1BlockOffsetArray(G1BlockOffsetSharedArray* array, |
|
26322 | 74 |
MemRegion mr) : |
1374 | 75 |
G1BlockOffsetTable(mr.start(), mr.end()), |
76 |
_unallocated_block(_bottom), |
|
26322 | 77 |
_array(array), _gsp(NULL) { |
1374 | 78 |
assert(_bottom <= _end, "arguments out of order"); |
79 |
} |
|
80 |
||
25361
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
81 |
void G1BlockOffsetArray::set_space(G1OffsetTableContigSpace* sp) { |
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
82 |
_gsp = sp; |
1374 | 83 |
} |
84 |
||
85 |
// The arguments follow the normal convention of denoting |
|
86 |
// a right-open interval: [start, end) |
|
87 |
void |
|
88 |
G1BlockOffsetArray:: set_remainder_to_point_to_start(HeapWord* start, HeapWord* end) { |
|
89 |
||
90 |
if (start >= end) { |
|
91 |
// The start address is equal to the end address (or to |
|
92 |
// the right of the end address) so there are not cards |
|
93 |
// that need to be updated.. |
|
94 |
return; |
|
95 |
} |
|
96 |
||
97 |
// Write the backskip value for each region. |
|
98 |
// |
|
99 |
// offset |
|
100 |
// card 2nd 3rd |
|
101 |
// | +- 1st | | |
|
102 |
// v v v v |
|
103 |
// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+- |
|
104 |
// |x|0|0|0|0|0|0|0|1|1|1|1|1|1| ... |1|1|1|1|2|2|2|2|2|2| ... |
|
105 |
// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+- |
|
106 |
// 11 19 75 |
|
107 |
// 12 |
|
108 |
// |
|
109 |
// offset card is the card that points to the start of an object |
|
110 |
// x - offset value of offset card |
|
111 |
// 1st - start of first logarithmic region |
|
112 |
// 0 corresponds to logarithmic value N_words + 0 and 2**(3 * 0) = 1 |
|
113 |
// 2nd - start of second logarithmic region |
|
114 |
// 1 corresponds to logarithmic value N_words + 1 and 2**(3 * 1) = 8 |
|
115 |
// 3rd - start of third logarithmic region |
|
116 |
// 2 corresponds to logarithmic value N_words + 2 and 2**(3 * 2) = 64 |
|
117 |
// |
|
118 |
// integer below the block offset entry is an example of |
|
119 |
// the index of the entry |
|
120 |
// |
|
121 |
// Given an address, |
|
122 |
// Find the index for the address |
|
123 |
// Find the block offset table entry |
|
124 |
// Convert the entry to a back slide |
|
125 |
// (e.g., with today's, offset = 0x81 => |
|
126 |
// back slip = 2**(3*(0x81 - N_words)) = 2**3) = 8 |
|
127 |
// Move back N (e.g., 8) entries and repeat with the |
|
128 |
// value of the new entry |
|
129 |
// |
|
130 |
size_t start_card = _array->index_for(start); |
|
131 |
size_t end_card = _array->index_for(end-1); |
|
132 |
assert(start ==_array->address_for_index(start_card), "Precondition"); |
|
133 |
assert(end ==_array->address_for_index(end_card)+N_words, "Precondition"); |
|
134 |
set_remainder_to_point_to_start_incl(start_card, end_card); // closed interval |
|
135 |
} |
|
136 |
||
137 |
// Unlike the normal convention in this code, the argument here denotes |
|
138 |
// a closed, inclusive interval: [start_card, end_card], cf set_remainder_to_point_to_start() |
|
139 |
// above. |
|
140 |
void |
|
141 |
G1BlockOffsetArray::set_remainder_to_point_to_start_incl(size_t start_card, size_t end_card) { |
|
142 |
if (start_card > end_card) { |
|
143 |
return; |
|
144 |
} |
|
145 |
assert(start_card > _array->index_for(_bottom), "Cannot be first card"); |
|
146 |
assert(_array->offset_array(start_card-1) <= N_words, |
|
6983
a8c50cedbce9
6991377: G1: race between concurrent refinement and humongous object allocation
tonyp
parents:
5547
diff
changeset
|
147 |
"Offset card has an unexpected value"); |
1374 | 148 |
size_t start_card_for_region = start_card; |
149 |
u_char offset = max_jubyte; |
|
150 |
for (int i = 0; i < BlockOffsetArray::N_powers; i++) { |
|
151 |
// -1 so that the the card with the actual offset is counted. Another -1 |
|
152 |
// so that the reach ends in this region and not at the start |
|
153 |
// of the next. |
|
154 |
size_t reach = start_card - 1 + (BlockOffsetArray::power_to_cards_back(i+1) - 1); |
|
155 |
offset = N_words + i; |
|
156 |
if (reach >= end_card) { |
|
157 |
_array->set_offset_array(start_card_for_region, end_card, offset); |
|
158 |
start_card_for_region = reach + 1; |
|
159 |
break; |
|
160 |
} |
|
161 |
_array->set_offset_array(start_card_for_region, reach, offset); |
|
162 |
start_card_for_region = reach + 1; |
|
163 |
} |
|
164 |
assert(start_card_for_region > end_card, "Sanity check"); |
|
165 |
DEBUG_ONLY(check_all_cards(start_card, end_card);) |
|
166 |
} |
|
167 |
||
168 |
// The card-interval [start_card, end_card] is a closed interval; this |
|
169 |
// is an expensive check -- use with care and only under protection of |
|
170 |
// suitable flag. |
|
171 |
void G1BlockOffsetArray::check_all_cards(size_t start_card, size_t end_card) const { |
|
172 |
||
173 |
if (end_card < start_card) { |
|
174 |
return; |
|
175 |
} |
|
176 |
guarantee(_array->offset_array(start_card) == N_words, "Wrong value in second card"); |
|
177 |
for (size_t c = start_card + 1; c <= end_card; c++ /* yeah! */) { |
|
178 |
u_char entry = _array->offset_array(c); |
|
179 |
if (c - start_card > BlockOffsetArray::power_to_cards_back(1)) { |
|
14584
bd4290e6d0a5
7194633: G1: Assertion and guarantee failures in block offset table
johnc
parents:
13728
diff
changeset
|
180 |
guarantee(entry > N_words, |
bd4290e6d0a5
7194633: G1: Assertion and guarantee failures in block offset table
johnc
parents:
13728
diff
changeset
|
181 |
err_msg("Should be in logarithmic region - " |
23858
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
182 |
"entry: %u, " |
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
183 |
"_array->offset_array(c): %u, " |
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
184 |
"N_words: %u", |
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
185 |
(uint)entry, (uint)_array->offset_array(c), (uint)N_words)); |
1374 | 186 |
} |
187 |
size_t backskip = BlockOffsetArray::entry_to_cards_back(entry); |
|
188 |
size_t landing_card = c - backskip; |
|
189 |
guarantee(landing_card >= (start_card - 1), "Inv"); |
|
190 |
if (landing_card >= start_card) { |
|
14584
bd4290e6d0a5
7194633: G1: Assertion and guarantee failures in block offset table
johnc
parents:
13728
diff
changeset
|
191 |
guarantee(_array->offset_array(landing_card) <= entry, |
23858
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
192 |
err_msg("Monotonicity - landing_card offset: %u, " |
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
193 |
"entry: %u", |
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
194 |
(uint)_array->offset_array(landing_card), (uint)entry)); |
1374 | 195 |
} else { |
196 |
guarantee(landing_card == start_card - 1, "Tautology"); |
|
14584
bd4290e6d0a5
7194633: G1: Assertion and guarantee failures in block offset table
johnc
parents:
13728
diff
changeset
|
197 |
// Note that N_words is the maximum offset value |
bd4290e6d0a5
7194633: G1: Assertion and guarantee failures in block offset table
johnc
parents:
13728
diff
changeset
|
198 |
guarantee(_array->offset_array(landing_card) <= N_words, |
23858
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
199 |
err_msg("landing card offset: %u, " |
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
200 |
"N_words: %u", |
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
201 |
(uint)_array->offset_array(landing_card), (uint)N_words)); |
1374 | 202 |
} |
203 |
} |
|
204 |
} |
|
205 |
||
206 |
HeapWord* G1BlockOffsetArray::block_start_unsafe(const void* addr) { |
|
207 |
assert(_bottom <= addr && addr < _end, |
|
208 |
"addr must be covered by this Array"); |
|
209 |
// Must read this exactly once because it can be modified by parallel |
|
210 |
// allocation. |
|
211 |
HeapWord* ub = _unallocated_block; |
|
212 |
if (BlockOffsetArrayUseUnallocatedBlock && addr >= ub) { |
|
213 |
assert(ub < _end, "tautology (see above)"); |
|
214 |
return ub; |
|
215 |
} |
|
216 |
// Otherwise, find the block start using the table. |
|
217 |
HeapWord* q = block_at_or_preceding(addr, false, 0); |
|
218 |
return forward_to_block_containing_addr(q, addr); |
|
219 |
} |
|
220 |
||
221 |
// This duplicates a little code from the above: unavoidable. |
|
222 |
HeapWord* |
|
223 |
G1BlockOffsetArray::block_start_unsafe_const(const void* addr) const { |
|
224 |
assert(_bottom <= addr && addr < _end, |
|
225 |
"addr must be covered by this Array"); |
|
226 |
// Must read this exactly once because it can be modified by parallel |
|
227 |
// allocation. |
|
228 |
HeapWord* ub = _unallocated_block; |
|
229 |
if (BlockOffsetArrayUseUnallocatedBlock && addr >= ub) { |
|
230 |
assert(ub < _end, "tautology (see above)"); |
|
231 |
return ub; |
|
232 |
} |
|
233 |
// Otherwise, find the block start using the table. |
|
234 |
HeapWord* q = block_at_or_preceding(addr, false, 0); |
|
25361
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
235 |
HeapWord* n = q + block_size(q); |
1374 | 236 |
return forward_to_block_containing_addr_const(q, n, addr); |
237 |
} |
|
238 |
||
239 |
||
240 |
HeapWord* |
|
241 |
G1BlockOffsetArray::forward_to_block_containing_addr_slow(HeapWord* q, |
|
242 |
HeapWord* n, |
|
243 |
const void* addr) { |
|
244 |
// We're not in the normal case. We need to handle an important subcase |
|
245 |
// here: LAB allocation. An allocation previously recorded in the |
|
246 |
// offset table was actually a lab allocation, and was divided into |
|
247 |
// several objects subsequently. Fix this situation as we answer the |
|
248 |
// query, by updating entries as we cross them. |
|
1384
163a4d4fa951
6702387: G1: assertion failure: assert(p == current_top || oop(p)->is_oop(),"p is not a block start")
iveresov
parents:
1374
diff
changeset
|
249 |
|
163a4d4fa951
6702387: G1: assertion failure: assert(p == current_top || oop(p)->is_oop(),"p is not a block start")
iveresov
parents:
1374
diff
changeset
|
250 |
// If the fist object's end q is at the card boundary. Start refining |
163a4d4fa951
6702387: G1: assertion failure: assert(p == current_top || oop(p)->is_oop(),"p is not a block start")
iveresov
parents:
1374
diff
changeset
|
251 |
// with the corresponding card (the value of the entry will be basically |
163a4d4fa951
6702387: G1: assertion failure: assert(p == current_top || oop(p)->is_oop(),"p is not a block start")
iveresov
parents:
1374
diff
changeset
|
252 |
// set to 0). If the object crosses the boundary -- start from the next card. |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13195
diff
changeset
|
253 |
size_t n_index = _array->index_for(n); |
1384
163a4d4fa951
6702387: G1: assertion failure: assert(p == current_top || oop(p)->is_oop(),"p is not a block start")
iveresov
parents:
1374
diff
changeset
|
254 |
size_t next_index = _array->index_for(n) + !_array->is_card_boundary(n); |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13195
diff
changeset
|
255 |
// Calculate a consistent next boundary. If "n" is not at the boundary |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13195
diff
changeset
|
256 |
// already, step to the boundary. |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13195
diff
changeset
|
257 |
HeapWord* next_boundary = _array->address_for_index(n_index) + |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13195
diff
changeset
|
258 |
(n_index == next_index ? 0 : N_words); |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13195
diff
changeset
|
259 |
assert(next_boundary <= _array->_end, |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13195
diff
changeset
|
260 |
err_msg("next_boundary is beyond the end of the covered region " |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13195
diff
changeset
|
261 |
" next_boundary " PTR_FORMAT " _array->_end " PTR_FORMAT, |
26313
9baebbfc62dd
8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp
brutisso
parents:
26160
diff
changeset
|
262 |
p2i(next_boundary), p2i(_array->_end))); |
25361
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
263 |
if (addr >= gsp()->top()) return gsp()->top(); |
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
264 |
while (next_boundary < addr) { |
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
265 |
while (n <= next_boundary) { |
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
266 |
q = n; |
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
267 |
oop obj = oop(q); |
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
268 |
if (obj->klass_or_null() == NULL) return q; |
25492
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
269 |
n += block_size(q); |
1374 | 270 |
} |
25361
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
271 |
assert(q <= next_boundary && n > next_boundary, "Consequence of loop"); |
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
272 |
// [q, n) is the block that crosses the boundary. |
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
273 |
alloc_block_work2(&next_boundary, &next_index, q, n); |
1374 | 274 |
} |
275 |
return forward_to_block_containing_addr_const(q, n, addr); |
|
276 |
} |
|
277 |
||
278 |
// Note that the committed size of the covered space may have changed, |
|
279 |
// so the table size might also wish to change. |
|
280 |
void G1BlockOffsetArray::resize(size_t new_word_size) { |
|
281 |
HeapWord* new_end = _bottom + new_word_size; |
|
282 |
_end = new_end; // update _end |
|
283 |
} |
|
284 |
||
285 |
// |
|
286 |
// threshold_ |
|
287 |
// | _index_ |
|
288 |
// v v |
|
289 |
// +-------+-------+-------+-------+-------+ |
|
290 |
// | i-1 | i | i+1 | i+2 | i+3 | |
|
291 |
// +-------+-------+-------+-------+-------+ |
|
292 |
// ( ^ ] |
|
293 |
// block-start |
|
294 |
// |
|
295 |
void G1BlockOffsetArray::alloc_block_work2(HeapWord** threshold_, size_t* index_, |
|
296 |
HeapWord* blk_start, HeapWord* blk_end) { |
|
297 |
// For efficiency, do copy-in/copy-out. |
|
298 |
HeapWord* threshold = *threshold_; |
|
299 |
size_t index = *index_; |
|
300 |
||
301 |
assert(blk_start != NULL && blk_end > blk_start, |
|
302 |
"phantom block"); |
|
303 |
assert(blk_end > threshold, "should be past threshold"); |
|
5402
c51fd0c1d005
6888953: some calls to function-like macros are missing semicolons
jcoomes
parents:
3262
diff
changeset
|
304 |
assert(blk_start <= threshold, "blk_start should be at or before threshold"); |
1374 | 305 |
assert(pointer_delta(threshold, blk_start) <= N_words, |
306 |
"offset should be <= BlockOffsetSharedArray::N"); |
|
30173
13cf7580b000
8077413: Avoid use of Universe::heap() inside collectors
pliden
parents:
26572
diff
changeset
|
307 |
assert(G1CollectedHeap::heap()->is_in_reserved(blk_start), |
1374 | 308 |
"reference must be into the heap"); |
30173
13cf7580b000
8077413: Avoid use of Universe::heap() inside collectors
pliden
parents:
26572
diff
changeset
|
309 |
assert(G1CollectedHeap::heap()->is_in_reserved(blk_end-1), |
1374 | 310 |
"limit must be within the heap"); |
311 |
assert(threshold == _array->_reserved.start() + index*N_words, |
|
312 |
"index must agree with threshold"); |
|
313 |
||
314 |
DEBUG_ONLY(size_t orig_index = index;) |
|
315 |
||
316 |
// Mark the card that holds the offset into the block. Note |
|
317 |
// that _next_offset_index and _next_offset_threshold are not |
|
318 |
// updated until the end of this method. |
|
319 |
_array->set_offset_array(index, threshold, blk_start); |
|
320 |
||
321 |
// We need to now mark the subsequent cards that this blk spans. |
|
322 |
||
323 |
// Index of card on which blk ends. |
|
324 |
size_t end_index = _array->index_for(blk_end - 1); |
|
325 |
||
326 |
// Are there more cards left to be updated? |
|
327 |
if (index + 1 <= end_index) { |
|
328 |
HeapWord* rem_st = _array->address_for_index(index + 1); |
|
329 |
// Calculate rem_end this way because end_index |
|
330 |
// may be the last valid index in the covered region. |
|
331 |
HeapWord* rem_end = _array->address_for_index(end_index) + N_words; |
|
332 |
set_remainder_to_point_to_start(rem_st, rem_end); |
|
333 |
} |
|
334 |
||
335 |
index = end_index + 1; |
|
336 |
// Calculate threshold_ this way because end_index |
|
337 |
// may be the last valid index in the covered region. |
|
338 |
threshold = _array->address_for_index(end_index) + N_words; |
|
339 |
assert(threshold >= blk_end, "Incorrect offset threshold"); |
|
340 |
||
341 |
// index_ and threshold_ updated here. |
|
342 |
*threshold_ = threshold; |
|
343 |
*index_ = index; |
|
344 |
||
345 |
#ifdef ASSERT |
|
346 |
// The offset can be 0 if the block starts on a boundary. That |
|
347 |
// is checked by an assertion above. |
|
348 |
size_t start_index = _array->index_for(blk_start); |
|
14584
bd4290e6d0a5
7194633: G1: Assertion and guarantee failures in block offset table
johnc
parents:
13728
diff
changeset
|
349 |
HeapWord* boundary = _array->address_for_index(start_index); |
1374 | 350 |
assert((_array->offset_array(orig_index) == 0 && |
351 |
blk_start == boundary) || |
|
352 |
(_array->offset_array(orig_index) > 0 && |
|
353 |
_array->offset_array(orig_index) <= N_words), |
|
14584
bd4290e6d0a5
7194633: G1: Assertion and guarantee failures in block offset table
johnc
parents:
13728
diff
changeset
|
354 |
err_msg("offset array should have been set - " |
23858
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
355 |
"orig_index offset: %u, " |
14584
bd4290e6d0a5
7194633: G1: Assertion and guarantee failures in block offset table
johnc
parents:
13728
diff
changeset
|
356 |
"blk_start: " PTR_FORMAT ", " |
bd4290e6d0a5
7194633: G1: Assertion and guarantee failures in block offset table
johnc
parents:
13728
diff
changeset
|
357 |
"boundary: " PTR_FORMAT, |
23858
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
358 |
(uint)_array->offset_array(orig_index), |
26313
9baebbfc62dd
8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp
brutisso
parents:
26160
diff
changeset
|
359 |
p2i(blk_start), p2i(boundary))); |
1374 | 360 |
for (size_t j = orig_index + 1; j <= end_index; j++) { |
361 |
assert(_array->offset_array(j) > 0 && |
|
362 |
_array->offset_array(j) <= |
|
363 |
(u_char) (N_words+BlockOffsetArray::N_powers-1), |
|
14584
bd4290e6d0a5
7194633: G1: Assertion and guarantee failures in block offset table
johnc
parents:
13728
diff
changeset
|
364 |
err_msg("offset array should have been set - " |
23858
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
365 |
"%u not > 0 OR %u not <= %u", |
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
366 |
(uint) _array->offset_array(j), |
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
367 |
(uint) _array->offset_array(j), |
dae377f5a7c7
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
stefank
parents:
22551
diff
changeset
|
368 |
(uint) (N_words+BlockOffsetArray::N_powers-1))); |
1374 | 369 |
} |
370 |
#endif |
|
371 |
} |
|
372 |
||
26571
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
373 |
void G1BlockOffsetArray::verify() const { |
26572
d5e6cac59ba1
8057910: G1: BOT verification should not pass top
brutisso
parents:
26571
diff
changeset
|
374 |
assert(gsp()->bottom() < gsp()->top(), "Only non-empty regions should be verified."); |
26571
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
375 |
size_t start_card = _array->index_for(gsp()->bottom()); |
26572
d5e6cac59ba1
8057910: G1: BOT verification should not pass top
brutisso
parents:
26571
diff
changeset
|
376 |
size_t end_card = _array->index_for(gsp()->top() - 1); |
26571
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
377 |
|
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
378 |
for (size_t current_card = start_card; current_card < end_card; current_card++) { |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
379 |
u_char entry = _array->offset_array(current_card); |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
380 |
if (entry < N_words) { |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
381 |
// The entry should point to an object before the current card. Verify that |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
382 |
// it is possible to walk from that object in to the current card by just |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
383 |
// iterating over the objects following it. |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
384 |
HeapWord* card_address = _array->address_for_index(current_card); |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
385 |
HeapWord* obj_end = card_address - entry; |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
386 |
while (obj_end < card_address) { |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
387 |
HeapWord* obj = obj_end; |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
388 |
size_t obj_size = block_size(obj); |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
389 |
obj_end = obj + obj_size; |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
390 |
guarantee(obj_end > obj && obj_end <= gsp()->top(), |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
391 |
err_msg("Invalid object end. obj: " PTR_FORMAT " obj_size: " SIZE_FORMAT " obj_end: " PTR_FORMAT " top: " PTR_FORMAT, |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
392 |
p2i(obj), obj_size, p2i(obj_end), p2i(gsp()->top()))); |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
393 |
} |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
394 |
} else { |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
395 |
// Because we refine the BOT based on which cards are dirty there is not much we can verify here. |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
396 |
// We need to make sure that we are going backwards and that we don't pass the start of the |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
397 |
// corresponding heap region. But that is about all we can verify. |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
398 |
size_t backskip = BlockOffsetArray::entry_to_cards_back(entry); |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
399 |
guarantee(backskip >= 1, "Must be going back at least one card."); |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
400 |
|
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
401 |
size_t max_backskip = current_card - start_card; |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
402 |
guarantee(backskip <= max_backskip, |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
403 |
err_msg("Going backwards beyond the start_card. start_card: " SIZE_FORMAT " current_card: " SIZE_FORMAT " backskip: " SIZE_FORMAT, |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
404 |
start_card, current_card, backskip)); |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
405 |
|
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
406 |
HeapWord* backskip_address = _array->address_for_index(current_card - backskip); |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
407 |
guarantee(backskip_address >= gsp()->bottom(), |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
408 |
err_msg("Going backwards beyond bottom of the region: bottom: " PTR_FORMAT ", backskip_address: " PTR_FORMAT, |
5fe42815e865
8025564: gc/memory/UniThread/Linear1 times out during heap verification
brutisso
parents:
26322
diff
changeset
|
409 |
p2i(gsp()->bottom()), p2i(backskip_address))); |
7904
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
410 |
} |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
411 |
} |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
412 |
} |
6983
a8c50cedbce9
6991377: G1: race between concurrent refinement and humongous object allocation
tonyp
parents:
5547
diff
changeset
|
413 |
|
7904
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
414 |
#ifndef PRODUCT |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
415 |
void |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
416 |
G1BlockOffsetArray::print_on(outputStream* out) { |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
417 |
size_t from_index = _array->index_for(_bottom); |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
418 |
size_t to_index = _array->index_for(_end); |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
419 |
out->print_cr(">> BOT for area ["PTR_FORMAT","PTR_FORMAT") " |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
420 |
"cards ["SIZE_FORMAT","SIZE_FORMAT")", |
26313
9baebbfc62dd
8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp
brutisso
parents:
26160
diff
changeset
|
421 |
p2i(_bottom), p2i(_end), from_index, to_index); |
7904
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
422 |
for (size_t i = from_index; i < to_index; ++i) { |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
423 |
out->print_cr(" entry "SIZE_FORMAT_W(8)" | "PTR_FORMAT" : %3u", |
26313
9baebbfc62dd
8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp
brutisso
parents:
26160
diff
changeset
|
424 |
i, p2i(_array->address_for_index(i)), |
7904
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
425 |
(uint) _array->offset_array(i)); |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
426 |
} |
6983
a8c50cedbce9
6991377: G1: race between concurrent refinement and humongous object allocation
tonyp
parents:
5547
diff
changeset
|
427 |
} |
7904
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
428 |
#endif // !PRODUCT |
6983
a8c50cedbce9
6991377: G1: race between concurrent refinement and humongous object allocation
tonyp
parents:
5547
diff
changeset
|
429 |
|
1374 | 430 |
////////////////////////////////////////////////////////////////////// |
431 |
// G1BlockOffsetArrayContigSpace |
|
432 |
////////////////////////////////////////////////////////////////////// |
|
433 |
||
434 |
HeapWord* |
|
435 |
G1BlockOffsetArrayContigSpace::block_start_unsafe(const void* addr) { |
|
436 |
assert(_bottom <= addr && addr < _end, |
|
437 |
"addr must be covered by this Array"); |
|
438 |
HeapWord* q = block_at_or_preceding(addr, true, _next_offset_index-1); |
|
439 |
return forward_to_block_containing_addr(q, addr); |
|
440 |
} |
|
441 |
||
442 |
HeapWord* |
|
443 |
G1BlockOffsetArrayContigSpace:: |
|
444 |
block_start_unsafe_const(const void* addr) const { |
|
445 |
assert(_bottom <= addr && addr < _end, |
|
446 |
"addr must be covered by this Array"); |
|
447 |
HeapWord* q = block_at_or_preceding(addr, true, _next_offset_index-1); |
|
25361
5146d1e12a2f
8047820: G1 Block offset table does not need to support generic Space classes
mgerdin
parents:
24424
diff
changeset
|
448 |
HeapWord* n = q + block_size(q); |
1374 | 449 |
return forward_to_block_containing_addr_const(q, n, addr); |
450 |
} |
|
451 |
||
452 |
G1BlockOffsetArrayContigSpace:: |
|
453 |
G1BlockOffsetArrayContigSpace(G1BlockOffsetSharedArray* array, |
|
454 |
MemRegion mr) : |
|
26322 | 455 |
G1BlockOffsetArray(array, mr) |
1374 | 456 |
{ |
457 |
_next_offset_threshold = NULL; |
|
458 |
_next_offset_index = 0; |
|
459 |
} |
|
460 |
||
26160 | 461 |
HeapWord* G1BlockOffsetArrayContigSpace::initialize_threshold_raw() { |
30173
13cf7580b000
8077413: Avoid use of Universe::heap() inside collectors
pliden
parents:
26572
diff
changeset
|
462 |
assert(!G1CollectedHeap::heap()->is_in_reserved(_array->_offset_array), |
26160 | 463 |
"just checking"); |
464 |
_next_offset_index = _array->index_for_raw(_bottom); |
|
465 |
_next_offset_index++; |
|
466 |
_next_offset_threshold = |
|
467 |
_array->address_for_index_raw(_next_offset_index); |
|
468 |
return _next_offset_threshold; |
|
469 |
} |
|
470 |
||
471 |
void G1BlockOffsetArrayContigSpace::zero_bottom_entry_raw() { |
|
30173
13cf7580b000
8077413: Avoid use of Universe::heap() inside collectors
pliden
parents:
26572
diff
changeset
|
472 |
assert(!G1CollectedHeap::heap()->is_in_reserved(_array->_offset_array), |
26160 | 473 |
"just checking"); |
474 |
size_t bottom_index = _array->index_for_raw(_bottom); |
|
475 |
assert(_array->address_for_index_raw(bottom_index) == _bottom, |
|
476 |
"Precondition of call"); |
|
477 |
_array->set_offset_array_raw(bottom_index, 0); |
|
478 |
} |
|
479 |
||
1374 | 480 |
HeapWord* G1BlockOffsetArrayContigSpace::initialize_threshold() { |
30173
13cf7580b000
8077413: Avoid use of Universe::heap() inside collectors
pliden
parents:
26572
diff
changeset
|
481 |
assert(!G1CollectedHeap::heap()->is_in_reserved(_array->_offset_array), |
1374 | 482 |
"just checking"); |
483 |
_next_offset_index = _array->index_for(_bottom); |
|
484 |
_next_offset_index++; |
|
485 |
_next_offset_threshold = |
|
486 |
_array->address_for_index(_next_offset_index); |
|
487 |
return _next_offset_threshold; |
|
488 |
} |
|
489 |
||
6983
a8c50cedbce9
6991377: G1: race between concurrent refinement and humongous object allocation
tonyp
parents:
5547
diff
changeset
|
490 |
void |
7904
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
491 |
G1BlockOffsetArrayContigSpace::set_for_starts_humongous(HeapWord* new_top) { |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
492 |
assert(new_top <= _end, "_end should have already been updated"); |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
493 |
|
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
494 |
// The first BOT entry should have offset 0. |
26157
70eddb655686
8054818: Refactor HeapRegionSeq to manage heap region and auxiliary data
tschatzl
parents:
25492
diff
changeset
|
495 |
reset_bot(); |
7904
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
496 |
alloc_block(_bottom, new_top); |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
497 |
} |
6983
a8c50cedbce9
6991377: G1: race between concurrent refinement and humongous object allocation
tonyp
parents:
5547
diff
changeset
|
498 |
|
7904
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
499 |
#ifndef PRODUCT |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
500 |
void |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
501 |
G1BlockOffsetArrayContigSpace::print_on(outputStream* out) { |
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
502 |
G1BlockOffsetArray::print_on(out); |
26313
9baebbfc62dd
8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp
brutisso
parents:
26160
diff
changeset
|
503 |
out->print_cr(" next offset threshold: "PTR_FORMAT, p2i(_next_offset_threshold)); |
7904
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
504 |
out->print_cr(" next offset index: "SIZE_FORMAT, _next_offset_index); |
6983
a8c50cedbce9
6991377: G1: race between concurrent refinement and humongous object allocation
tonyp
parents:
5547
diff
changeset
|
505 |
} |
7904
e90e097fced4
7007068: G1: refine the BOT during evac failure handling
tonyp
parents:
7397
diff
changeset
|
506 |
#endif // !PRODUCT |