src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp

changeset 1480
fa2f65ebeb08
parent 1479
6270f80a7331
child 1523
3fc996d4edd2
equal deleted inserted replaced
1479:6270f80a7331 1480:fa2f65ebeb08
3134 void G1CollectedHeap::finalize_for_evac_failure() { 3134 void G1CollectedHeap::finalize_for_evac_failure() {
3135 assert(_evac_failure_scan_stack != NULL && 3135 assert(_evac_failure_scan_stack != NULL &&
3136 _evac_failure_scan_stack->length() == 0, 3136 _evac_failure_scan_stack->length() == 0,
3137 "Postcondition"); 3137 "Postcondition");
3138 assert(!_drain_in_progress, "Postcondition"); 3138 assert(!_drain_in_progress, "Postcondition");
3139 // Don't have to delete, since the scan stack is a resource object. 3139 delete _evac_failure_scan_stack;
3140 _evac_failure_scan_stack = NULL; 3140 _evac_failure_scan_stack = NULL;
3141 } 3141 }
3142 3142
3143 3143
3144 3144

mercurial