hotspot/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp
changeset 29580 a67a581cfe11
parent 28379 e6784fc8fff2
child 29796 7a04e5c250d1
equal deleted inserted replaced
29477:82f545c6572b 29580:a67a581cfe11
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2015, 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.
   539   assert(contains_reference(from), "We just added it!");
   539   assert(contains_reference(from), "We just added it!");
   540 }
   540 }
   541 
   541 
   542 PerRegionTable*
   542 PerRegionTable*
   543 OtherRegionsTable::find_region_table(size_t ind, HeapRegion* hr) const {
   543 OtherRegionsTable::find_region_table(size_t ind, HeapRegion* hr) const {
   544   assert(0 <= ind && ind < _max_fine_entries, "Preconditions.");
   544   assert(ind < _max_fine_entries, "Preconditions.");
   545   PerRegionTable* prt = _fine_grain_regions[ind];
   545   PerRegionTable* prt = _fine_grain_regions[ind];
   546   while (prt != NULL && prt->hr() != hr) {
   546   while (prt != NULL && prt->hr() != hr) {
   547     prt = prt->collision_list_next();
   547     prt = prt->collision_list_next();
   548   }
   548   }
   549   // Loop postcondition is the method postcondition.
   549   // Loop postcondition is the method postcondition.