Mercurial > hg > truffle
diff src/share/vm/memory/threadLocalAllocBuffer.hpp @ 18929:8f2fb6bec986
removed GPU code
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 23 Jan 2015 10:54:21 +0100 |
parents | 52b4284cb496 |
children | 7848fc12602b |
line wrap: on
line diff
--- a/src/share/vm/memory/threadLocalAllocBuffer.hpp Thu Jan 22 23:16:17 2015 +0100 +++ b/src/share/vm/memory/threadLocalAllocBuffer.hpp Fri Jan 23 10:54:21 2015 +0100 @@ -38,9 +38,6 @@ // used to make it available for such multiplexing. class ThreadLocalAllocBuffer: public CHeapObj<mtThread> { friend class VMStructs; -#ifdef GRAAL - friend class HSAILAllocationInfo; -#endif private: HeapWord* _start; // address of TLAB HeapWord* _top; // address after last allocation @@ -58,7 +55,6 @@ unsigned _slow_refill_waste; unsigned _gc_waste; unsigned _slow_allocations; - Thread* _owning_thread; AdaptiveWeightedAverage _allocation_fraction; // fraction of eden allocated in tlabs @@ -160,7 +156,7 @@ static void resize_all_tlabs(); void fill(HeapWord* start, HeapWord* top, size_t new_size); - void initialize(Thread* owning_thread); + void initialize(); static size_t refill_waste_limit_increment() { return TLABWasteIncrement; }