< prev index next >
src/hotspot/share/gc/g1/heapRegion.hpp
Print this page
rev 53416 : imported patch 8217330-split-collectionsetchooser
@@ -545,11 +545,11 @@
zero_marked_bytes();
init_top_at_mark_start();
}
void calc_gc_efficiency(void);
- double gc_efficiency() { return _gc_efficiency;}
+ double gc_efficiency() const { return _gc_efficiency;}
uint index_in_opt_cset() const { return _index_in_opt_cset; }
void set_index_in_opt_cset(uint index) { _index_in_opt_cset = index; }
int young_index_in_cset() const { return _young_index_in_cset; }
@@ -703,11 +703,11 @@
// HeapRegionClosure is used for iterating over regions.
// Terminates the iteration when the "do_heap_region" method returns "true".
class HeapRegionClosure : public StackObj {
friend class HeapRegionManager;
friend class G1CollectionSet;
- friend class CollectionSetChooser;
+ friend class G1CollectionSetCandidates;
bool _is_complete;
void set_incomplete() { _is_complete = false; }
public:
< prev index next >