Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
8492:286a49d423c9 | 8493:9412b1915547 |
---|---|
2396 } | 2396 } |
2397 } | 2397 } |
2398 } | 2398 } |
2399 #endif // !PRODUCT | 2399 #endif // !PRODUCT |
2400 | 2400 |
2401 #ifdef GRAAL | |
2402 HeapWord** G1CollectedHeap::top_addr() const { | |
2403 return _mutator_alloc_region.top_addr(); | |
2404 } | |
2405 | |
2406 HeapWord** G1CollectedHeap::end_addr() const { | |
2407 return _mutator_alloc_region.end_addr(); | |
2408 } | |
2409 | |
2410 #endif | |
2411 | |
2401 void G1CollectedHeap::increment_old_marking_cycles_started() { | 2412 void G1CollectedHeap::increment_old_marking_cycles_started() { |
2402 assert(_old_marking_cycles_started == _old_marking_cycles_completed || | 2413 assert(_old_marking_cycles_started == _old_marking_cycles_completed || |
2403 _old_marking_cycles_started == _old_marking_cycles_completed + 1, | 2414 _old_marking_cycles_started == _old_marking_cycles_completed + 1, |
2404 err_msg("Wrong marking cycle count (started: %d, completed: %d)", | 2415 err_msg("Wrong marking cycle count (started: %d, completed: %d)", |
2405 _old_marking_cycles_started, _old_marking_cycles_completed)); | 2416 _old_marking_cycles_started, _old_marking_cycles_completed)); |