microsoft / gctoolkit

Tool for parsing GC logs
https://github.com/microsoft/gctoolkit
MIT License
1.25k stars 154 forks source link

CMS: Unknown GCCause #384

Open AlinaHovakimyan opened 2 months ago

AlinaHovakimyan commented 2 months ago

GCCause comes Unknown for all the events except CMSRemark. Handling seems to be missing because when publishing the events the cause is being set to "Unknown".

dsgrieve commented 2 months ago

We'll need a gc log for this one, too. For most of the CMS events, the cause is unknown because it just isn't in the log. We do have tests for this.

AlinaHovakimyan commented 2 months ago

@dsgrieve this is the log file used: cms_gen.log

For example in line 22, gc reason is "CMS Initial Mark", but it comes as unknown in the event. Also I see a lot of "Allocation Failure"s.