comparison src/hotspot/share/gc/epsilon/epsilonHeap.hpp @ 56627:43bfde126ee6

Remove UseTLAB from supports_tlab_allocation
author shade
date Wed, 30 May 2018 10:29:41 +0200
parents 338a117fb65c
children ecdf81479e0f
comparison
equal deleted inserted replaced
23:f963223d6459 24:6fca7430db0d
104 virtual HeapWord* allocate_new_tlab(size_t min_size, 104 virtual HeapWord* allocate_new_tlab(size_t min_size,
105 size_t requested_size, 105 size_t requested_size,
106 size_t* actual_size); 106 size_t* actual_size);
107 107
108 // TLAB allocation 108 // TLAB allocation
109 virtual bool supports_tlab_allocation() const { return UseTLAB; } 109 virtual bool supports_tlab_allocation() const { return true; }
110 virtual size_t tlab_capacity(Thread* thr) const { return capacity(); } 110 virtual size_t tlab_capacity(Thread* thr) const { return capacity(); }
111 virtual size_t tlab_used(Thread* thr) const { return used(); } 111 virtual size_t tlab_used(Thread* thr) const { return used(); }
112 virtual size_t max_tlab_size() const { return _max_tlab_size; } 112 virtual size_t max_tlab_size() const { return _max_tlab_size; }
113 virtual size_t unsafe_max_tlab_alloc(Thread* thr) const; 113 virtual size_t unsafe_max_tlab_alloc(Thread* thr) const;
114 114