src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp

changeset 2472
0fa27f37d4d4
parent 2469
7e37af9d69ef
child 2715
abdfc822206f
     1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp	Wed Jan 19 13:04:37 2011 -0800
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp	Wed Jan 19 19:30:42 2011 -0500
     1.3 @@ -135,7 +135,7 @@
     1.4  
     1.5  inline void
     1.6  G1CollectedHeap::retire_cur_alloc_region_common(HeapRegion* cur_alloc_region) {
     1.7 -  assert_heap_locked_or_at_safepoint();
     1.8 +  assert_heap_locked_or_at_safepoint(true /* should_be_vm_thread */);
     1.9    assert(cur_alloc_region != NULL && cur_alloc_region == _cur_alloc_region,
    1.10           "pre-condition of the call");
    1.11    assert(cur_alloc_region->is_young(),

mercurial