The eras profiling mode is useful for tracking the life-time of closures. When a closure is written, the current era is recorded in the profiling header. This records the era in which the closure was created.
If you just want to record the era but not to perform heap profiling you
Fixes #24332 (closed)