diff src/share/vm/memory/threadLocalAllocBuffer.hpp @ 16795:a29e6e7b7a86

Replace hsail donor threads with hsail tlabs
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 12 Aug 2014 16:30:17 -0700
parents f1d1ec9bcf24
children 52b4284cb496
line wrap: on
line diff
--- a/src/share/vm/memory/threadLocalAllocBuffer.hpp	Tue Aug 12 16:12:49 2014 -0700
+++ b/src/share/vm/memory/threadLocalAllocBuffer.hpp	Tue Aug 12 16:30:17 2014 -0700
@@ -56,6 +56,7 @@
   unsigned  _slow_refill_waste;
   unsigned  _gc_waste;
   unsigned  _slow_allocations;
+  Thread*   _owning_thread;
 
   AdaptiveWeightedAverage _allocation_fraction;  // fraction of eden allocated in tlabs
 
@@ -156,7 +157,7 @@
   static void resize_all_tlabs();
 
   void fill(HeapWord* start, HeapWord* top, size_t new_size);
-  void initialize();
+  void initialize(Thread* owning_thread);
 
   static size_t refill_waste_limit_increment()   { return TLABWasteIncrement; }