import re


def extract_gc_objects_set(log_file_path):
    """Extract a set of all objects that appeared in the garbage collector count section"""
    objs = set()
    with open(log_file_path, "r") as log:
        for line in log.readlines():
            match = re.match(r".*\* (?P<name>.*) \(gc\):  (?P<value>\d+).*", line)
            if match:
                objs.add(match.groupdict()["name"])
    return sorted(objs)