Mercurial > hg > graal-compiler
comparison src/share/vm/memory/genCollectedHeap.hpp @ 20257:7426d8d76305
8034761: Remove the do_code_roots parameter from process_strong_roots
Reviewed-by: tschatzl, mgerdin, jmasa
author | stefank |
---|---|
date | Thu, 13 Feb 2014 17:44:39 +0100 |
parents | 9fec19bb0659 |
children | 30c99d8e0f02 |
comparison
equal
deleted
inserted
replaced
20256:b0b97602393a | 20257:7426d8d76305 |
---|---|
420 // The remaining arguments are in an order | 420 // The remaining arguments are in an order |
421 // consistent with SharedHeap::process_strong_roots: | 421 // consistent with SharedHeap::process_strong_roots: |
422 bool activate_scope, | 422 bool activate_scope, |
423 SharedHeap::ScanningOption so, | 423 SharedHeap::ScanningOption so, |
424 OopsInGenClosure* not_older_gens, | 424 OopsInGenClosure* not_older_gens, |
425 bool do_code_roots, | |
426 OopsInGenClosure* older_gens, | 425 OopsInGenClosure* older_gens, |
427 KlassClosure* klass_closure); | 426 KlassClosure* klass_closure); |
428 | 427 |
429 // Apply "blk" to all the weak roots of the system. These include | 428 // Apply "root_closure" to all the weak roots of the system. |
430 // JNI weak roots, the code cache, system dictionary, symbol table, | 429 // These include JNI weak roots, string table, |
431 // string table, and referents of reachable weak refs. | 430 // and referents of reachable weak refs. |
432 void gen_process_weak_roots(OopClosure* root_closure, | 431 void gen_process_weak_roots(OopClosure* root_closure); |
433 CodeBlobClosure* code_roots); | |
434 | 432 |
435 // Set the saved marks of generations, if that makes sense. | 433 // Set the saved marks of generations, if that makes sense. |
436 // In particular, if any generation might iterate over the oops | 434 // In particular, if any generation might iterate over the oops |
437 // in other generations, it should call this method. | 435 // in other generations, it should call this method. |
438 void save_marks(); | 436 void save_marks(); |