Mercurial > hg > graal-jvmci-8
diff src/share/vm/gc_implementation/g1/g1AllocRegion.hpp @ 8493:9412b1915547
-More G1 WB Integration-Addition of GenerateLEANode for G1 previous value equalities
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Tue, 26 Feb 2013 18:02:06 +0100 |
parents | 720b6a76dd9d |
children | 86b4965f0c9a |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1AllocRegion.hpp Mon Feb 25 11:08:06 2013 +0100 +++ b/src/share/vm/gc_implementation/g1/g1AllocRegion.hpp Tue Feb 26 18:02:06 2013 +0100 @@ -173,6 +173,15 @@ // Should be called when we want to release the active region which // is returned after it's been retired. HeapRegion* release(); +#ifdef GRAAL + HeapWord** top_addr() const { + return _alloc_region->top_addr(); + } + + HeapWord** end_addr() const { + return _alloc_region->end_addr(); + } +#endif #if G1_ALLOC_REGION_TRACING void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL);