hotspot/src/share/vm/memory/genCollectedHeap.cpp
changeset 29802 d485440c958a
parent 29800 fa5f7a2bf717
child 29803 6e259ffa8b72
equal deleted inserted replaced
29801:2e4a5be5a595 29802:d485440c958a
   587                                      CLDClosure* weak_cld_closure,
   587                                      CLDClosure* weak_cld_closure,
   588                                      CodeBlobClosure* code_roots) {
   588                                      CodeBlobClosure* code_roots) {
   589   StrongRootsScope srs(this, activate_scope);
   589   StrongRootsScope srs(this, activate_scope);
   590 
   590 
   591   // General roots.
   591   // General roots.
   592   assert(_strong_roots_parity != 0, "must have called prologue code");
   592   assert(Threads::thread_claim_parity() != 0, "must have called prologue code");
   593   assert(code_roots != NULL, "code root closure should always be set");
   593   assert(code_roots != NULL, "code root closure should always be set");
   594   // _n_termination for _process_strong_tasks should be set up stream
   594   // _n_termination for _process_strong_tasks should be set up stream
   595   // in a method not running in a GC worker.  Otherwise the GC worker
   595   // in a method not running in a GC worker.  Otherwise the GC worker
   596   // could be trying to change the termination condition while the task
   596   // could be trying to change the termination condition while the task
   597   // is executing in another GC worker.
   597   // is executing in another GC worker.