Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/heapRegionSeq.hpp @ 2361:1216415d8e35
7014923: G1: code cleanup
Summary: Some G1 code cleanup.
Reviewed-by: johnc, jcoomes, jwilhelm
author | tonyp |
---|---|
date | Fri, 04 Mar 2011 17:13:19 -0500 |
parents | 0fa27f37d4d4 |
children | c3f1170908be |
comparison
equal
deleted
inserted
replaced
2312:11303bede852 | 2361:1216415d8e35 |
---|---|
74 | 74 |
75 // Returns the number of contiguous regions at the end of the sequence | 75 // Returns the number of contiguous regions at the end of the sequence |
76 // that are available for allocation. | 76 // that are available for allocation. |
77 size_t free_suffix(); | 77 size_t free_suffix(); |
78 | 78 |
79 // Finds a contiguous set of empty regions of length num. | 79 // Find a contiguous set of empty regions of length num and return |
80 // the index of the first region or -1 if the search was unsuccessful. | |
80 int find_contiguous(size_t num); | 81 int find_contiguous(size_t num); |
81 | 82 |
82 // Apply the "doHeapRegion" method of "blk" to all regions in "this", | 83 // Apply the "doHeapRegion" method of "blk" to all regions in "this", |
83 // in address order, terminating the iteration early | 84 // in address order, terminating the iteration early |
84 // if the "doHeapRegion" method returns "true". | 85 // if the "doHeapRegion" method returns "true". |