diff --git a/utest/Printable.test.cpp b/utest/Printable.test.cpp index 6c09ca9..64736d2 100644 --- a/utest/Printable.test.cpp +++ b/utest/Printable.test.cpp @@ -44,7 +44,7 @@ namespace ut { using xo::mm::ACollector; using xo::mm::AGCObject; using xo::mm::DX1Collector; - using xo::mm::CollectorConfig; + using xo::mm::X1CollectorConfig; using xo::mm::ArenaConfig; using xo::print::APrintable; using xo::facet::FacetRegistry; @@ -99,15 +99,14 @@ namespace ut { try { const testcase_pp & tc = s_testcase_v[i_tc]; - CollectorConfig cfg{ - .name_ = "pp_test", - .arena_config_ = ArenaConfig{ - .size_ = tc.gc_gen_size_, - .store_header_flag_ = true}, - .object_types_z_ = 16384, - .gc_trigger_v_{{tc.gc_trigger_threshold_, - tc.gc_trigger_threshold_}}, - .debug_flag_ = c_debug_flag + X1CollectorConfig cfg{ .name_ = "pp_test", + .arena_config_ = ArenaConfig{ + .size_ = tc.gc_gen_size_, + .store_header_flag_ = true}, + .object_types_z_ = 16384, + .gc_trigger_v_{{tc.gc_trigger_threshold_, + tc.gc_trigger_threshold_}}, + .debug_flag_ = c_debug_flag }; DX1Collector gc(cfg); diff --git a/utest/X1Collector.test.cpp b/utest/X1Collector.test.cpp index 0f20e68..90122c2 100644 --- a/utest/X1Collector.test.cpp +++ b/utest/X1Collector.test.cpp @@ -48,7 +48,7 @@ namespace ut { using xo::mm::AGCObject; using xo::mm::DX1Collector; using xo::mm::DArena; - using xo::mm::CollectorConfig; + using xo::mm::X1CollectorConfig; using xo::mm::ArenaConfig; using xo::mm::generation; using xo::mm::role; @@ -108,16 +108,15 @@ namespace ut { try { const testcase_x1 & tc = s_testcase_v[i_tc]; - CollectorConfig cfg{ - .name_ = "x1_test", - .arena_config_ = ArenaConfig{ - .size_ = tc.tenured_z_, - .store_header_flag_ = true}, - .object_types_z_ = 16384, - .gc_trigger_v_{{ - tc.incr_gc_threshold_, - tc.full_gc_threshold_}}, - .debug_flag_ = c_debug_flag, + X1CollectorConfig cfg{ .name_ = "x1_test", + .arena_config_ = ArenaConfig{ + .size_ = tc.tenured_z_, + .store_header_flag_ = true}, + .object_types_z_ = 16384, + .gc_trigger_v_{{ + tc.incr_gc_threshold_, + tc.full_gc_threshold_}}, + .debug_flag_ = c_debug_flag, }; DX1Collector gc(cfg);