Mercurial > hg > graal-compiler
diff src/share/vm/gc_interface/collectedHeap.cpp @ 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 | 4ca6dc0799b6 |
children | 52b4284cb496 |
line wrap: on
line diff
--- a/src/share/vm/gc_interface/collectedHeap.cpp Tue Aug 12 16:12:49 2014 -0700 +++ b/src/share/vm/gc_interface/collectedHeap.cpp Tue Aug 12 16:30:17 2014 -0700 @@ -503,7 +503,12 @@ "Attempt to fill tlabs before main thread has been added" " to threads list is doomed to failure!"); for (JavaThread *thread = Threads::first(); thread; thread = thread->next()) { - if (use_tlab) thread->tlab().make_parsable(retire_tlabs); + if (use_tlab) { + thread->tlab().make_parsable(retire_tlabs); +#ifdef GRAAL + thread->gpu_hsail_tlabs_make_parsable(retire_tlabs); +#endif + } #if defined(COMPILER2) || defined(GRAAL) // The deferred store barriers must all have been flushed to the // card-table (or other remembered set structure) before GC starts