diff --git a/src/vt/objgroup/manager.h b/src/vt/objgroup/manager.h index 0082dcd510..e0b86d233f 100644 --- a/src/vt/objgroup/manager.h +++ b/src/vt/objgroup/manager.h @@ -362,6 +362,16 @@ struct ObjGroupManager : runtime::component::Component { MsgSharedPtr msg, HandlerType han, EpochType ep ); + template + void serialize(Serializer& s) { + s | cur_obj_id_ + // | dispatch_ + // | objs_ + // | obj_to_proxy_ + // | pending_ + | derived_to_bases_; + } + private: /** * \internal \brief Untyped system call to make a new collective objgroup diff --git a/tests/unit/runtime/test_memory_footprint.cc b/tests/unit/runtime/test_memory_footprint.cc index dcfdf15b10..86e7ac8ff4 100644 --- a/tests/unit/runtime/test_memory_footprint.cc +++ b/tests/unit/runtime/test_memory_footprint.cc @@ -102,4 +102,8 @@ TEST_F(TestMemoryFootprinting, test_collective_alg) { printMemoryFootprint(theCollective()); } +TEST_F(TestMemoryFootprinting, test_obj_group_manager) { + printMemoryFootprint(theObjGroup()); +} + }}} /* end namespace vt::tests::unit */