equal
deleted
inserted
replaced
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. |