Mercurial > hg > truffle
comparison src/share/vm/memory/genCollectedHeap.hpp @ 14308:870aedf4ba4f
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 | ff355e26c78d |
children | 63a4eb8bcd23 |
comparison
equal
deleted
inserted
replaced
14307:7ab52431bc9f | 14308:870aedf4ba4f |
---|---|
409 void gen_process_strong_roots(int level, | 409 void gen_process_strong_roots(int level, |
410 bool younger_gens_as_roots, | 410 bool younger_gens_as_roots, |
411 // The remaining arguments are in an order | 411 // The remaining arguments are in an order |
412 // consistent with SharedHeap::process_strong_roots: | 412 // consistent with SharedHeap::process_strong_roots: |
413 bool activate_scope, | 413 bool activate_scope, |
414 bool is_scavenging, | |
415 SharedHeap::ScanningOption so, | 414 SharedHeap::ScanningOption so, |
416 OopsInGenClosure* not_older_gens, | 415 OopsInGenClosure* not_older_gens, |
417 bool do_code_roots, | 416 bool do_code_roots, |
418 OopsInGenClosure* older_gens, | 417 OopsInGenClosure* older_gens, |
419 KlassClosure* klass_closure); | 418 KlassClosure* klass_closure); |