Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 4708:3c648b9ad052
7121373: Clean up CollectedHeap::is_in
Summary: Fixed G1CollectedHeap::is_in, added tests, cleaned up comments and made Space::is_in pure virtual.
Reviewed-by: brutisso, tonyp, jcoomes
author | stefank |
---|---|
date | Wed, 14 Dec 2011 12:15:26 +0100 |
parents | dc467e8b2c5e |
children | fd2b426c30db |
comparison
equal
deleted
inserted
replaced
4132:6d7d0790074d | 4708:3c648b9ad052 |
---|---|
1194 FreeRegionList* free_list, | 1194 FreeRegionList* free_list, |
1195 OldRegionSet* old_proxy_set, | 1195 OldRegionSet* old_proxy_set, |
1196 HumongousRegionSet* humongous_proxy_set, | 1196 HumongousRegionSet* humongous_proxy_set, |
1197 bool par); | 1197 bool par); |
1198 | 1198 |
1199 // Returns "TRUE" iff "p" points into the allocated area of the heap. | 1199 // Returns "TRUE" iff "p" points into the committed areas of the heap. |
1200 virtual bool is_in(const void* p) const; | 1200 virtual bool is_in(const void* p) const; |
1201 | 1201 |
1202 // Return "TRUE" iff the given object address is within the collection | 1202 // Return "TRUE" iff the given object address is within the collection |
1203 // set. | 1203 // set. |
1204 inline bool obj_in_cs(oop obj); | 1204 inline bool obj_in_cs(oop obj); |