Loading... (original) (raw)
Currently the GC ID is stored in the GCTracer object. There are multiple GCTracers active at the same time, but we only have one GC that is actively doing work at any one time.
This has led to that we need to pass the GC ID around in the code a lot to make sure we use the correct GC ID for logging and trace events. It would simplify the code if we could have a common way of looking up the GC ID.