Mercurial > hg > truffle
diff src/share/vm/gc_interface/collectedHeap.hpp @ 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 | ee019285a52c |
children | c10b463abc6e |
line wrap: on
line diff
--- a/src/share/vm/gc_interface/collectedHeap.hpp Mon Aug 25 17:05:18 2014 -0400 +++ b/src/share/vm/gc_interface/collectedHeap.hpp Tue Aug 26 10:28:43 2014 +0200 @@ -395,15 +395,6 @@ // allocation from them and necessitating allocation of new TLABs. virtual void ensure_parsability(bool retire_tlabs); - // Return an estimate of the maximum allocation that could be performed - // without triggering any collection or expansion activity. In a - // generational collector, for example, this is probably the largest - // allocation that could be supported (without expansion) in the youngest - // generation. It is "unsafe" because no locks are taken; the result - // should be treated as an approximation, not a guarantee, for use in - // heuristic resizing decisions. - virtual size_t unsafe_max_alloc() = 0; - // Section on thread-local allocation buffers (TLABs) // If the heap supports thread-local allocation buffers, it should override // the following methods: