microsoft/gctoolkit

GCToolKit deadlocks

kcpeppe opened this issue · 3 comments

Describe the bug
GCToolKit hangs when no aggregations have passed.

Start GCToolKit with no Aggregation for the module SPI to find.

Expected behavior
GCToolKit should not process a log when there are no Aggregations registered.
GCToolKit should allow for Aggregation to be logged as they are registered.

** Action **
Add a test for this case.

I'd add one more possible manifestation here. What happens if Aggregations are registered (whether by SPI or API) but all of the aggregations are filtered out? In other words, I've registered aggregators for G1GC and nothing else but the log happens to be ZGC.

I think that is what is happening in this case.

Solved in PR #266