diff src/share/vm/memory/threadLocalAllocBuffer.hpp @ 16668:f1d1ec9bcf24

HSAIL: reset TLAB in donor thread to detect allocation in donor while kernel was active Contributed-by: Tom Deneau <tom.deneau@amd.com>
author Doug Simon <doug.simon@oracle.com>
date Thu, 31 Jul 2014 17:53:06 +0200
parents 4ca6dc0799b6
children a29e6e7b7a86
line wrap: on
line diff
--- a/src/share/vm/memory/threadLocalAllocBuffer.hpp	Thu Jul 31 17:52:13 2014 +0200
+++ b/src/share/vm/memory/threadLocalAllocBuffer.hpp	Thu Jul 31 17:53:06 2014 +0200
@@ -38,6 +38,9 @@
 //            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