Mon, 06 Aug 2012 12:20:14 -0700
6818524: G1: use ergonomic resizing of PLABs
Summary: Employ PLABStats instances to record information about survivor and old PLABs, and use the recorded stats to adjust the sizes of survivor and old PLABS.
Reviewed-by: johnc, ysr
Contributed-by: Brandon Mitchell <brandon@twitter.com>
duke@435 | 1 | /* |
trims@2708 | 2 | * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
duke@435 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
duke@435 | 4 | * |
duke@435 | 5 | * This code is free software; you can redistribute it and/or modify it |
duke@435 | 6 | * under the terms of the GNU General Public License version 2 only, as |
duke@435 | 7 | * published by the Free Software Foundation. |
duke@435 | 8 | * |
duke@435 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
duke@435 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
duke@435 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
duke@435 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
duke@435 | 13 | * accompanied this code). |
duke@435 | 14 | * |
duke@435 | 15 | * You should have received a copy of the GNU General Public License version |
duke@435 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
duke@435 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
duke@435 | 18 | * |
trims@1907 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
trims@1907 | 20 | * or visit www.oracle.com if you need additional information or have any |
trims@1907 | 21 | * questions. |
duke@435 | 22 | * |
duke@435 | 23 | */ |
duke@435 | 24 | |
stefank@2314 | 25 | #include "precompiled.hpp" |
stefank@2314 | 26 | #include "compiler/compileBroker.hpp" |
stefank@2314 | 27 | #include "gc_implementation/shared/markSweep.inline.hpp" |
stefank@2314 | 28 | #include "gc_interface/collectedHeap.inline.hpp" |
stefank@2314 | 29 | #include "oops/methodDataOop.hpp" |
stefank@2314 | 30 | #include "oops/objArrayKlass.inline.hpp" |
stefank@2314 | 31 | #include "oops/oop.inline.hpp" |
duke@435 | 32 | |
zgu@3900 | 33 | Stack<oop, mtGC> MarkSweep::_marking_stack; |
zgu@3900 | 34 | Stack<DataLayout*, mtGC> MarkSweep::_revisit_mdo_stack; |
zgu@3900 | 35 | Stack<Klass*, mtGC> MarkSweep::_revisit_klass_stack; |
zgu@3900 | 36 | Stack<ObjArrayTask, mtGC> MarkSweep::_objarray_stack; |
duke@435 | 37 | |
zgu@3900 | 38 | Stack<oop, mtGC> MarkSweep::_preserved_oop_stack; |
zgu@3900 | 39 | Stack<markOop, mtGC> MarkSweep::_preserved_mark_stack; |
duke@435 | 40 | size_t MarkSweep::_preserved_count = 0; |
duke@435 | 41 | size_t MarkSweep::_preserved_count_max = 0; |
duke@435 | 42 | PreservedMark* MarkSweep::_preserved_marks = NULL; |
duke@435 | 43 | ReferenceProcessor* MarkSweep::_ref_processor = NULL; |
duke@435 | 44 | |
duke@435 | 45 | #ifdef VALIDATE_MARK_SWEEP |
coleenp@548 | 46 | GrowableArray<void*>* MarkSweep::_root_refs_stack = NULL; |
duke@435 | 47 | GrowableArray<oop> * MarkSweep::_live_oops = NULL; |
duke@435 | 48 | GrowableArray<oop> * MarkSweep::_live_oops_moved_to = NULL; |
duke@435 | 49 | GrowableArray<size_t>* MarkSweep::_live_oops_size = NULL; |
duke@435 | 50 | size_t MarkSweep::_live_oops_index = 0; |
duke@435 | 51 | size_t MarkSweep::_live_oops_index_at_perm = 0; |
coleenp@548 | 52 | GrowableArray<void*>* MarkSweep::_other_refs_stack = NULL; |
coleenp@548 | 53 | GrowableArray<void*>* MarkSweep::_adjusted_pointers = NULL; |
coleenp@548 | 54 | bool MarkSweep::_pointer_tracking = false; |
coleenp@548 | 55 | bool MarkSweep::_root_tracking = true; |
duke@435 | 56 | |
duke@435 | 57 | GrowableArray<HeapWord*>* MarkSweep::_cur_gc_live_oops = NULL; |
duke@435 | 58 | GrowableArray<HeapWord*>* MarkSweep::_cur_gc_live_oops_moved_to = NULL; |
duke@435 | 59 | GrowableArray<size_t> * MarkSweep::_cur_gc_live_oops_size = NULL; |
duke@435 | 60 | GrowableArray<HeapWord*>* MarkSweep::_last_gc_live_oops = NULL; |
duke@435 | 61 | GrowableArray<HeapWord*>* MarkSweep::_last_gc_live_oops_moved_to = NULL; |
duke@435 | 62 | GrowableArray<size_t> * MarkSweep::_last_gc_live_oops_size = NULL; |
duke@435 | 63 | #endif |
duke@435 | 64 | |
duke@435 | 65 | void MarkSweep::revisit_weak_klass_link(Klass* k) { |
jcoomes@2191 | 66 | _revisit_klass_stack.push(k); |
duke@435 | 67 | } |
duke@435 | 68 | |
duke@435 | 69 | void MarkSweep::follow_weak_klass_links() { |
duke@435 | 70 | // All klasses on the revisit stack are marked at this point. |
duke@435 | 71 | // Update and follow all subklass, sibling and implementor links. |
ysr@1376 | 72 | if (PrintRevisitStats) { |
jcoomes@2191 | 73 | gclog_or_tty->print_cr("#classes in system dictionary = %d", |
jcoomes@2191 | 74 | SystemDictionary::number_of_classes()); |
jcoomes@2191 | 75 | gclog_or_tty->print_cr("Revisit klass stack size = " SIZE_FORMAT, |
jcoomes@2191 | 76 | _revisit_klass_stack.size()); |
ysr@1376 | 77 | } |
jcoomes@2191 | 78 | while (!_revisit_klass_stack.is_empty()) { |
jcoomes@2191 | 79 | Klass* const k = _revisit_klass_stack.pop(); |
jcoomes@2191 | 80 | k->follow_weak_klass_links(&is_alive, &keep_alive); |
duke@435 | 81 | } |
duke@435 | 82 | follow_stack(); |
duke@435 | 83 | } |
duke@435 | 84 | |
ysr@1376 | 85 | void MarkSweep::revisit_mdo(DataLayout* p) { |
jcoomes@2191 | 86 | _revisit_mdo_stack.push(p); |
ysr@1376 | 87 | } |
ysr@1376 | 88 | |
ysr@1376 | 89 | void MarkSweep::follow_mdo_weak_refs() { |
ysr@1376 | 90 | // All strongly reachable oops have been marked at this point; |
ysr@1376 | 91 | // we can visit and clear any weak references from MDO's which |
ysr@1376 | 92 | // we memoized during the strong marking phase. |
jcoomes@2191 | 93 | assert(_marking_stack.is_empty(), "Marking stack should be empty"); |
ysr@1376 | 94 | if (PrintRevisitStats) { |
jcoomes@2191 | 95 | gclog_or_tty->print_cr("#classes in system dictionary = %d", |
jcoomes@2191 | 96 | SystemDictionary::number_of_classes()); |
jcoomes@2191 | 97 | gclog_or_tty->print_cr("Revisit MDO stack size = " SIZE_FORMAT, |
jcoomes@2191 | 98 | _revisit_mdo_stack.size()); |
ysr@1376 | 99 | } |
jcoomes@2191 | 100 | while (!_revisit_mdo_stack.is_empty()) { |
jcoomes@2191 | 101 | _revisit_mdo_stack.pop()->follow_weak_refs(&is_alive); |
ysr@1376 | 102 | } |
ysr@1376 | 103 | follow_stack(); |
ysr@1376 | 104 | } |
ysr@1376 | 105 | |
coleenp@548 | 106 | MarkSweep::FollowRootClosure MarkSweep::follow_root_closure; |
jrose@1424 | 107 | CodeBlobToOopClosure MarkSweep::follow_code_root_closure(&MarkSweep::follow_root_closure, /*do_marking=*/ true); |
duke@435 | 108 | |
coleenp@548 | 109 | void MarkSweep::FollowRootClosure::do_oop(oop* p) { follow_root(p); } |
coleenp@548 | 110 | void MarkSweep::FollowRootClosure::do_oop(narrowOop* p) { follow_root(p); } |
duke@435 | 111 | |
duke@435 | 112 | MarkSweep::MarkAndPushClosure MarkSweep::mark_and_push_closure; |
duke@435 | 113 | |
coleenp@2497 | 114 | void MarkSweep::MarkAndPushClosure::do_oop(oop* p) { assert(*p == NULL || (*p)->is_oop(), ""); mark_and_push(p); } |
coleenp@548 | 115 | void MarkSweep::MarkAndPushClosure::do_oop(narrowOop* p) { mark_and_push(p); } |
duke@435 | 116 | |
duke@435 | 117 | void MarkSweep::follow_stack() { |
jcoomes@1746 | 118 | do { |
jcoomes@2191 | 119 | while (!_marking_stack.is_empty()) { |
jcoomes@2191 | 120 | oop obj = _marking_stack.pop(); |
jcoomes@1746 | 121 | assert (obj->is_gc_marked(), "p must be marked"); |
jcoomes@1746 | 122 | obj->follow_contents(); |
jcoomes@1746 | 123 | } |
jcoomes@1750 | 124 | // Process ObjArrays one at a time to avoid marking stack bloat. |
jcoomes@2191 | 125 | if (!_objarray_stack.is_empty()) { |
jcoomes@2191 | 126 | ObjArrayTask task = _objarray_stack.pop(); |
jcoomes@1746 | 127 | objArrayKlass* const k = (objArrayKlass*)task.obj()->blueprint(); |
jcoomes@1746 | 128 | k->oop_follow_contents(task.obj(), task.index()); |
jcoomes@1746 | 129 | } |
jcoomes@2191 | 130 | } while (!_marking_stack.is_empty() || !_objarray_stack.is_empty()); |
duke@435 | 131 | } |
duke@435 | 132 | |
duke@435 | 133 | MarkSweep::FollowStackClosure MarkSweep::follow_stack_closure; |
duke@435 | 134 | |
coleenp@548 | 135 | void MarkSweep::FollowStackClosure::do_void() { follow_stack(); } |
duke@435 | 136 | |
jcoomes@2191 | 137 | // We preserve the mark which should be replaced at the end and the location |
jcoomes@2191 | 138 | // that it will go. Note that the object that this markOop belongs to isn't |
jcoomes@2191 | 139 | // currently at that address but it will be after phase4 |
duke@435 | 140 | void MarkSweep::preserve_mark(oop obj, markOop mark) { |
jcoomes@2191 | 141 | // We try to store preserved marks in the to space of the new generation since |
jcoomes@2191 | 142 | // this is storage which should be available. Most of the time this should be |
jcoomes@2191 | 143 | // sufficient space for the marks we need to preserve but if it isn't we fall |
jcoomes@2191 | 144 | // back to using Stacks to keep track of the overflow. |
duke@435 | 145 | if (_preserved_count < _preserved_count_max) { |
duke@435 | 146 | _preserved_marks[_preserved_count++].init(obj, mark); |
duke@435 | 147 | } else { |
jcoomes@2191 | 148 | _preserved_mark_stack.push(mark); |
jcoomes@2191 | 149 | _preserved_oop_stack.push(obj); |
duke@435 | 150 | } |
duke@435 | 151 | } |
duke@435 | 152 | |
duke@435 | 153 | MarkSweep::AdjustPointerClosure MarkSweep::adjust_root_pointer_closure(true); |
duke@435 | 154 | MarkSweep::AdjustPointerClosure MarkSweep::adjust_pointer_closure(false); |
duke@435 | 155 | |
coleenp@548 | 156 | void MarkSweep::AdjustPointerClosure::do_oop(oop* p) { adjust_pointer(p, _is_root); } |
coleenp@548 | 157 | void MarkSweep::AdjustPointerClosure::do_oop(narrowOop* p) { adjust_pointer(p, _is_root); } |
coleenp@548 | 158 | |
duke@435 | 159 | void MarkSweep::adjust_marks() { |
jcoomes@2191 | 160 | assert( _preserved_oop_stack.size() == _preserved_mark_stack.size(), |
duke@435 | 161 | "inconsistent preserved oop stacks"); |
duke@435 | 162 | |
duke@435 | 163 | // adjust the oops we saved earlier |
duke@435 | 164 | for (size_t i = 0; i < _preserved_count; i++) { |
duke@435 | 165 | _preserved_marks[i].adjust_pointer(); |
duke@435 | 166 | } |
duke@435 | 167 | |
duke@435 | 168 | // deal with the overflow stack |
zgu@3900 | 169 | StackIterator<oop, mtGC> iter(_preserved_oop_stack); |
jcoomes@2191 | 170 | while (!iter.is_empty()) { |
jcoomes@2191 | 171 | oop* p = iter.next_addr(); |
jcoomes@2191 | 172 | adjust_pointer(p); |
duke@435 | 173 | } |
duke@435 | 174 | } |
duke@435 | 175 | |
duke@435 | 176 | void MarkSweep::restore_marks() { |
jcoomes@2191 | 177 | assert(_preserved_oop_stack.size() == _preserved_mark_stack.size(), |
duke@435 | 178 | "inconsistent preserved oop stacks"); |
duke@435 | 179 | if (PrintGC && Verbose) { |
jcoomes@2191 | 180 | gclog_or_tty->print_cr("Restoring %d marks", |
jcoomes@2191 | 181 | _preserved_count + _preserved_oop_stack.size()); |
duke@435 | 182 | } |
duke@435 | 183 | |
duke@435 | 184 | // restore the marks we saved earlier |
duke@435 | 185 | for (size_t i = 0; i < _preserved_count; i++) { |
duke@435 | 186 | _preserved_marks[i].restore(); |
duke@435 | 187 | } |
duke@435 | 188 | |
duke@435 | 189 | // deal with the overflow |
jcoomes@2191 | 190 | while (!_preserved_oop_stack.is_empty()) { |
jcoomes@2191 | 191 | oop obj = _preserved_oop_stack.pop(); |
jcoomes@2191 | 192 | markOop mark = _preserved_mark_stack.pop(); |
jcoomes@2191 | 193 | obj->set_mark(mark); |
duke@435 | 194 | } |
duke@435 | 195 | } |
duke@435 | 196 | |
duke@435 | 197 | #ifdef VALIDATE_MARK_SWEEP |
duke@435 | 198 | |
coleenp@548 | 199 | void MarkSweep::track_adjusted_pointer(void* p, bool isroot) { |
duke@435 | 200 | if (!ValidateMarkSweep) |
duke@435 | 201 | return; |
duke@435 | 202 | |
duke@435 | 203 | if (!isroot) { |
duke@435 | 204 | if (_pointer_tracking) { |
duke@435 | 205 | guarantee(_adjusted_pointers->contains(p), "should have seen this pointer"); |
duke@435 | 206 | _adjusted_pointers->remove(p); |
duke@435 | 207 | } |
duke@435 | 208 | } else { |
duke@435 | 209 | ptrdiff_t index = _root_refs_stack->find(p); |
duke@435 | 210 | if (index != -1) { |
duke@435 | 211 | int l = _root_refs_stack->length(); |
duke@435 | 212 | if (l > 0 && l - 1 != index) { |
coleenp@548 | 213 | void* last = _root_refs_stack->pop(); |
duke@435 | 214 | assert(last != p, "should be different"); |
duke@435 | 215 | _root_refs_stack->at_put(index, last); |
duke@435 | 216 | } else { |
duke@435 | 217 | _root_refs_stack->remove(p); |
duke@435 | 218 | } |
duke@435 | 219 | } |
duke@435 | 220 | } |
duke@435 | 221 | } |
duke@435 | 222 | |
coleenp@548 | 223 | void MarkSweep::check_adjust_pointer(void* p) { |
duke@435 | 224 | _adjusted_pointers->push(p); |
duke@435 | 225 | } |
duke@435 | 226 | |
duke@435 | 227 | class AdjusterTracker: public OopClosure { |
duke@435 | 228 | public: |
coleenp@548 | 229 | AdjusterTracker() {} |
coleenp@548 | 230 | void do_oop(oop* o) { MarkSweep::check_adjust_pointer(o); } |
coleenp@548 | 231 | void do_oop(narrowOop* o) { MarkSweep::check_adjust_pointer(o); } |
duke@435 | 232 | }; |
duke@435 | 233 | |
duke@435 | 234 | void MarkSweep::track_interior_pointers(oop obj) { |
duke@435 | 235 | if (ValidateMarkSweep) { |
duke@435 | 236 | _adjusted_pointers->clear(); |
duke@435 | 237 | _pointer_tracking = true; |
duke@435 | 238 | |
duke@435 | 239 | AdjusterTracker checker; |
duke@435 | 240 | obj->oop_iterate(&checker); |
duke@435 | 241 | } |
duke@435 | 242 | } |
duke@435 | 243 | |
duke@435 | 244 | void MarkSweep::check_interior_pointers() { |
duke@435 | 245 | if (ValidateMarkSweep) { |
duke@435 | 246 | _pointer_tracking = false; |
duke@435 | 247 | guarantee(_adjusted_pointers->length() == 0, "should have processed the same pointers"); |
duke@435 | 248 | } |
duke@435 | 249 | } |
duke@435 | 250 | |
duke@435 | 251 | void MarkSweep::reset_live_oop_tracking(bool at_perm) { |
duke@435 | 252 | if (ValidateMarkSweep) { |
duke@435 | 253 | guarantee((size_t)_live_oops->length() == _live_oops_index, "should be at end of live oops"); |
duke@435 | 254 | _live_oops_index = at_perm ? _live_oops_index_at_perm : 0; |
duke@435 | 255 | } |
duke@435 | 256 | } |
duke@435 | 257 | |
duke@435 | 258 | void MarkSweep::register_live_oop(oop p, size_t size) { |
duke@435 | 259 | if (ValidateMarkSweep) { |
duke@435 | 260 | _live_oops->push(p); |
duke@435 | 261 | _live_oops_size->push(size); |
duke@435 | 262 | _live_oops_index++; |
duke@435 | 263 | } |
duke@435 | 264 | } |
duke@435 | 265 | |
duke@435 | 266 | void MarkSweep::validate_live_oop(oop p, size_t size) { |
duke@435 | 267 | if (ValidateMarkSweep) { |
duke@435 | 268 | oop obj = _live_oops->at((int)_live_oops_index); |
duke@435 | 269 | guarantee(obj == p, "should be the same object"); |
duke@435 | 270 | guarantee(_live_oops_size->at((int)_live_oops_index) == size, "should be the same size"); |
duke@435 | 271 | _live_oops_index++; |
duke@435 | 272 | } |
duke@435 | 273 | } |
duke@435 | 274 | |
duke@435 | 275 | void MarkSweep::live_oop_moved_to(HeapWord* q, size_t size, |
duke@435 | 276 | HeapWord* compaction_top) { |
duke@435 | 277 | assert(oop(q)->forwardee() == NULL || oop(q)->forwardee() == oop(compaction_top), |
duke@435 | 278 | "should be moved to forwarded location"); |
duke@435 | 279 | if (ValidateMarkSweep) { |
duke@435 | 280 | MarkSweep::validate_live_oop(oop(q), size); |
duke@435 | 281 | _live_oops_moved_to->push(oop(compaction_top)); |
duke@435 | 282 | } |
duke@435 | 283 | if (RecordMarkSweepCompaction) { |
duke@435 | 284 | _cur_gc_live_oops->push(q); |
duke@435 | 285 | _cur_gc_live_oops_moved_to->push(compaction_top); |
duke@435 | 286 | _cur_gc_live_oops_size->push(size); |
duke@435 | 287 | } |
duke@435 | 288 | } |
duke@435 | 289 | |
duke@435 | 290 | void MarkSweep::compaction_complete() { |
duke@435 | 291 | if (RecordMarkSweepCompaction) { |
duke@435 | 292 | GrowableArray<HeapWord*>* _tmp_live_oops = _cur_gc_live_oops; |
duke@435 | 293 | GrowableArray<HeapWord*>* _tmp_live_oops_moved_to = _cur_gc_live_oops_moved_to; |
duke@435 | 294 | GrowableArray<size_t> * _tmp_live_oops_size = _cur_gc_live_oops_size; |
duke@435 | 295 | |
duke@435 | 296 | _cur_gc_live_oops = _last_gc_live_oops; |
duke@435 | 297 | _cur_gc_live_oops_moved_to = _last_gc_live_oops_moved_to; |
duke@435 | 298 | _cur_gc_live_oops_size = _last_gc_live_oops_size; |
duke@435 | 299 | _last_gc_live_oops = _tmp_live_oops; |
duke@435 | 300 | _last_gc_live_oops_moved_to = _tmp_live_oops_moved_to; |
duke@435 | 301 | _last_gc_live_oops_size = _tmp_live_oops_size; |
duke@435 | 302 | } |
duke@435 | 303 | } |
duke@435 | 304 | |
duke@435 | 305 | void MarkSweep::print_new_location_of_heap_address(HeapWord* q) { |
duke@435 | 306 | if (!RecordMarkSweepCompaction) { |
duke@435 | 307 | tty->print_cr("Requires RecordMarkSweepCompaction to be enabled"); |
duke@435 | 308 | return; |
duke@435 | 309 | } |
duke@435 | 310 | |
duke@435 | 311 | if (_last_gc_live_oops == NULL) { |
duke@435 | 312 | tty->print_cr("No compaction information gathered yet"); |
duke@435 | 313 | return; |
duke@435 | 314 | } |
duke@435 | 315 | |
duke@435 | 316 | for (int i = 0; i < _last_gc_live_oops->length(); i++) { |
duke@435 | 317 | HeapWord* old_oop = _last_gc_live_oops->at(i); |
duke@435 | 318 | size_t sz = _last_gc_live_oops_size->at(i); |
duke@435 | 319 | if (old_oop <= q && q < (old_oop + sz)) { |
duke@435 | 320 | HeapWord* new_oop = _last_gc_live_oops_moved_to->at(i); |
duke@435 | 321 | size_t offset = (q - old_oop); |
duke@435 | 322 | tty->print_cr("Address " PTR_FORMAT, q); |
coleenp@548 | 323 | tty->print_cr(" Was in oop " PTR_FORMAT ", size " SIZE_FORMAT ", at offset " SIZE_FORMAT, old_oop, sz, offset); |
duke@435 | 324 | tty->print_cr(" Now in oop " PTR_FORMAT ", actual address " PTR_FORMAT, new_oop, new_oop + offset); |
duke@435 | 325 | return; |
duke@435 | 326 | } |
duke@435 | 327 | } |
duke@435 | 328 | |
duke@435 | 329 | tty->print_cr("Address " PTR_FORMAT " not found in live oop information from last GC", q); |
duke@435 | 330 | } |
duke@435 | 331 | #endif //VALIDATE_MARK_SWEEP |
duke@435 | 332 | |
coleenp@548 | 333 | MarkSweep::IsAliveClosure MarkSweep::is_alive; |
duke@435 | 334 | |
coleenp@548 | 335 | void MarkSweep::IsAliveClosure::do_object(oop p) { ShouldNotReachHere(); } |
coleenp@548 | 336 | bool MarkSweep::IsAliveClosure::do_object_b(oop p) { return p->is_gc_marked(); } |
duke@435 | 337 | |
duke@435 | 338 | MarkSweep::KeepAliveClosure MarkSweep::keep_alive; |
duke@435 | 339 | |
coleenp@548 | 340 | void MarkSweep::KeepAliveClosure::do_oop(oop* p) { MarkSweep::KeepAliveClosure::do_oop_work(p); } |
coleenp@548 | 341 | void MarkSweep::KeepAliveClosure::do_oop(narrowOop* p) { MarkSweep::KeepAliveClosure::do_oop_work(p); } |
coleenp@548 | 342 | |
duke@435 | 343 | void marksweep_init() { /* empty */ } |
duke@435 | 344 | |
duke@435 | 345 | #ifndef PRODUCT |
duke@435 | 346 | |
duke@435 | 347 | void MarkSweep::trace(const char* msg) { |
duke@435 | 348 | if (TraceMarkSweep) |
duke@435 | 349 | gclog_or_tty->print("%s", msg); |
duke@435 | 350 | } |
duke@435 | 351 | |
duke@435 | 352 | #endif |