diff src/share/vm/gc_interface/collectedHeap.hpp @ 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 85c1ca43713f
children 1e1c8d358b52
line wrap: on
line diff
--- a/src/share/vm/gc_interface/collectedHeap.hpp	Fri Dec 13 09:35:12 2013 -0800
+++ b/src/share/vm/gc_interface/collectedHeap.hpp	Mon Dec 16 08:54:14 2013 +0100
@@ -389,15 +389,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: