< prev index next >

src/share/vm/gc/g1/g1Allocator.hpp

Print this page
rev 8813 : imported patch 8003237-no-wait-for-free-list
rev 8814 : imported patch jon-fast-evac-failure
rev 8815 : [mq]: bengt-jon-more-naming
rev 8817 : [mq]: mikael-erik-suggestions
rev 8818 : imported patch 8073013-add-detailed-information-about-plab-memory-usage
rev 8819 : imported patch jon-review-statistics
rev 8828 : imported patch 8067339-PLAB-reallocation-might-result-in-failure-to-allocate

@@ -233,10 +233,11 @@
 
   HeapWord* allocate_new_plab(InCSetState dest,
                               size_t word_sz,
                               AllocationContext_t context);
 
+  bool may_throw_away_buffer(size_t const allocation_word_sz, size_t const buffer_size) const;
 public:
   G1PLABAllocator(G1Allocator* allocator);
   virtual ~G1PLABAllocator() { }
 
   static G1PLABAllocator* create_allocator(G1Allocator* allocator);
< prev index next >