comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 4783:023652e49ac0

7121496: G1: do the per-region evacuation failure handling work in parallel Summary: Parallelize the removal of self forwarding pointers etc. by wrapping in a HeapRegion closure, which is then wrapped inside an AbstractGangTask. Reviewed-by: tonyp, iveresov
author johnc
date Fri, 23 Dec 2011 11:14:18 -0800
parents bacb651cf5bf
children 2ace1c4ee8da
comparison
equal deleted inserted replaced
4782:5fd354a959c5 4783:023652e49ac0
1 /* 1 /*
2 * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 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 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
1311 jint claim_value); 1311 jint claim_value);
1312 1312
1313 // It resets all the region claim values to the default. 1313 // It resets all the region claim values to the default.
1314 void reset_heap_region_claim_values(); 1314 void reset_heap_region_claim_values();
1315 1315
1316 // Resets the claim values of regions in the current
1317 // collection set to the default.
1318 void reset_cset_heap_region_claim_values();
1319
1316 #ifdef ASSERT 1320 #ifdef ASSERT
1317 bool check_heap_region_claim_values(jint claim_value); 1321 bool check_heap_region_claim_values(jint claim_value);
1318 1322
1319 // Same as the routine above but only checks regions in the 1323 // Same as the routine above but only checks regions in the
1320 // current collection set. 1324 // current collection set.