comparison src/share/vm/memory/genCollectedHeap.cpp @ 14192:ff355e26c78d

8029524: Remove unsused method CollectedHeap::unsafe_max_alloc() Reviewed-by: pliden, jmasa
author brutisso
date Mon, 16 Dec 2013 08:54:14 +0100
parents 8f07aa079343
children 870aedf4ba4f
comparison
equal deleted inserted replaced
14174:050a626a8895 14192:ff355e26c78d
671 671
672 HeapWord** GenCollectedHeap::end_addr() const { 672 HeapWord** GenCollectedHeap::end_addr() const {
673 return _gens[0]->end_addr(); 673 return _gens[0]->end_addr();
674 } 674 }
675 675
676 size_t GenCollectedHeap::unsafe_max_alloc() {
677 return _gens[0]->unsafe_max_alloc_nogc();
678 }
679
680 // public collection interfaces 676 // public collection interfaces
681 677
682 void GenCollectedHeap::collect(GCCause::Cause cause) { 678 void GenCollectedHeap::collect(GCCause::Cause cause) {
683 if (should_do_concurrent_full_gc(cause)) { 679 if (should_do_concurrent_full_gc(cause)) {
684 #if INCLUDE_ALL_GCS 680 #if INCLUDE_ALL_GCS