702 |
702 |
703 HeapWord** GenCollectedHeap::end_addr() const { |
703 HeapWord** GenCollectedHeap::end_addr() const { |
704 return _gens[0]->end_addr(); |
704 return _gens[0]->end_addr(); |
705 } |
705 } |
706 |
706 |
707 size_t GenCollectedHeap::unsafe_max_alloc() { |
|
708 return _gens[0]->unsafe_max_alloc_nogc(); |
|
709 } |
|
710 |
|
711 // public collection interfaces |
707 // public collection interfaces |
712 |
708 |
713 void GenCollectedHeap::collect(GCCause::Cause cause) { |
709 void GenCollectedHeap::collect(GCCause::Cause cause) { |
714 if (should_do_concurrent_full_gc(cause)) { |
710 if (should_do_concurrent_full_gc(cause)) { |
715 #if INCLUDE_ALL_GCS |
711 #if INCLUDE_ALL_GCS |