xo-gc: utest: tidy sanitize flag
This commit is contained in:
parent
20d886d3d6
commit
bb2710b489
1 changed files with 3 additions and 5 deletions
|
|
@ -67,6 +67,8 @@ namespace ut {
|
|||
debug_flag_{debug_flag}
|
||||
{}
|
||||
|
||||
bool sanitize_flag() const noexcept { return true; }
|
||||
|
||||
/** number of generations in gco store **/
|
||||
uint32_t n_gen_ = 0;
|
||||
/** object prommotes on surviving this many gc cycles **/
|
||||
|
|
@ -389,11 +391,7 @@ namespace ut {
|
|||
//
|
||||
|
||||
// reset (+ perhaps clean) from-space
|
||||
{
|
||||
// TODO: consider moving sanitize_flag to Testcase
|
||||
bool sanitize_flag = true;
|
||||
gcos.cleanup_phase(gk, sanitize_flag);
|
||||
}
|
||||
gcos.cleanup_phase(gk, tc.sanitize_flag());
|
||||
|
||||
// scan {gcos, mls} to collect counters in *gcos.verify_stats()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue