hotspot/src/share/vm/memory/genCollectedHeap.cpp
changeset 29802 d485440c958a
parent 29800 fa5f7a2bf717
child 29803 6e259ffa8b72
--- a/hotspot/src/share/vm/memory/genCollectedHeap.cpp	Mon Mar 30 17:21:54 2015 +0200
+++ b/hotspot/src/share/vm/memory/genCollectedHeap.cpp	Tue Mar 31 07:54:56 2015 +0200
@@ -589,7 +589,7 @@
   StrongRootsScope srs(this, activate_scope);
 
   // General roots.
-  assert(_strong_roots_parity != 0, "must have called prologue code");
+  assert(Threads::thread_claim_parity() != 0, "must have called prologue code");
   assert(code_roots != NULL, "code root closure should always be set");
   // _n_termination for _process_strong_tasks should be set up stream
   // in a method not running in a GC worker.  Otherwise the GC worker