diff src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 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 0b54ffe4c2d3
children 992f62c457b0
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Mon Feb 25 11:08:06 2013 +0100
+++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Tue Feb 26 18:02:06 2013 +0100
@@ -2398,6 +2398,17 @@
 }
 #endif // !PRODUCT
 
+#ifdef GRAAL
+  HeapWord** G1CollectedHeap::top_addr() const {
+    return _mutator_alloc_region.top_addr();
+  }
+
+  HeapWord** G1CollectedHeap::end_addr()  const {
+    return  _mutator_alloc_region.end_addr();
+  }
+
+#endif
+
 void G1CollectedHeap::increment_old_marking_cycles_started() {
   assert(_old_marking_cycles_started == _old_marking_cycles_completed ||
     _old_marking_cycles_started == _old_marking_cycles_completed + 1,