comparison 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
comparison
equal deleted inserted replaced
20355:47e8e40b94d3 20356:439f0d76cff3
393 // The argument "retire_tlabs" controls whether existing TLABs 393 // The argument "retire_tlabs" controls whether existing TLABs
394 // are merely filled or also retired, thus preventing further 394 // are merely filled or also retired, thus preventing further
395 // allocation from them and necessitating allocation of new TLABs. 395 // allocation from them and necessitating allocation of new TLABs.
396 virtual void ensure_parsability(bool retire_tlabs); 396 virtual void ensure_parsability(bool retire_tlabs);
397 397
398 // Return an estimate of the maximum allocation that could be performed
399 // without triggering any collection or expansion activity. In a
400 // generational collector, for example, this is probably the largest
401 // allocation that could be supported (without expansion) in the youngest
402 // generation. It is "unsafe" because no locks are taken; the result
403 // should be treated as an approximation, not a guarantee, for use in
404 // heuristic resizing decisions.
405 virtual size_t unsafe_max_alloc() = 0;
406
407 // Section on thread-local allocation buffers (TLABs) 398 // Section on thread-local allocation buffers (TLABs)
408 // If the heap supports thread-local allocation buffers, it should override 399 // If the heap supports thread-local allocation buffers, it should override
409 // the following methods: 400 // the following methods:
410 // Returns "true" iff the heap supports thread-local allocation buffers. 401 // Returns "true" iff the heap supports thread-local allocation buffers.
411 // The default is "no". 402 // The default is "no".