< prev index next >

src/share/vm/memory/genCollectedHeap.cpp

Print this page

        

*** 587,597 **** CLDClosure* weak_cld_closure, CodeBlobClosure* code_roots) { StrongRootsScope srs(this, activate_scope); // General roots. ! assert(_strong_roots_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 // could be trying to change the termination condition while the task // is executing in another GC worker. --- 587,597 ---- CLDClosure* weak_cld_closure, CodeBlobClosure* code_roots) { StrongRootsScope srs(this, activate_scope); // General roots. ! 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 // could be trying to change the termination condition while the task // is executing in another GC worker.
< prev index next >