Mercurial > hg > truffle
comparison src/share/vm/memory/genCollectedHeap.cpp @ 20356:439f0d76cff3
8029524: Remove unsused method CollectedHeap::unsafe_max_alloc()
Reviewed-by: pliden, jmasa
author | brutisso |
---|---|
date | Tue, 26 Aug 2014 10:28:43 +0200 |
parents | 3f2894c5052e |
children | 4d3a43351904 |
comparison
equal
deleted
inserted
replaced
20355:47e8e40b94d3 | 20356:439f0d76cff3 |
---|---|
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 |