# HG changeset patch # User Christos Kotselidis # Date 1382368886 -7200 # Node ID d00c31d8394fa395e2342a8b8f7404d2acc8dc00 # Parent b7c8b843dc7b44ada5ea80bbe873190c0dcbb464 Flush deferred barrier when Graal and G1 are used diff -r b7c8b843dc7b -r d00c31d8394f src/share/vm/gc_interface/collectedHeap.cpp --- a/src/share/vm/gc_interface/collectedHeap.cpp Sun Oct 20 03:50:51 2013 +0200 +++ b/src/share/vm/gc_interface/collectedHeap.cpp Mon Oct 21 17:21:26 2013 +0200 @@ -506,7 +506,7 @@ " 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); -#ifdef COMPILER2 +#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 // processing the card-table (or other remembered set).