Mercurial > hg > truffle
comparison src/share/vm/memory/genCollectedHeap.hpp @ 20254:9fec19bb0659
8032379: Remove the is_scavenging flag to process_strong_roots
Summary: Refactor the strong root processing to avoid using a boolean in addition to the ScanOption enum.
Reviewed-by: stefank, tschatzl, ehelin, jmasa
author | mgerdin |
---|---|
date | Tue, 14 Jan 2014 16:40:33 +0100 |
parents | cfd4aac53239 |
children | 7426d8d76305 |
comparison
equal
deleted
inserted
replaced
20253:731e8175d53f | 20254:9fec19bb0659 |
---|---|
418 void gen_process_strong_roots(int level, | 418 void gen_process_strong_roots(int level, |
419 bool younger_gens_as_roots, | 419 bool younger_gens_as_roots, |
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 bool is_scavenging, | |
424 SharedHeap::ScanningOption so, | 423 SharedHeap::ScanningOption so, |
425 OopsInGenClosure* not_older_gens, | 424 OopsInGenClosure* not_older_gens, |
426 bool do_code_roots, | 425 bool do_code_roots, |
427 OopsInGenClosure* older_gens, | 426 OopsInGenClosure* older_gens, |
428 KlassClosure* klass_closure); | 427 KlassClosure* klass_closure); |