coredump: construct the list of coredumping threads at startup time