microsoft / microsoft/gctoolkit

I find gctoolkit can't parse a CMF my gc log

Open
#193 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
1.3k
Forks
177
Avg merge
1d 11h
Merged PRs (30d)
3

Description

I find gctoolkit can't parse my gc log and show that
Missed: 2021-12-19T22:31:54.909+0800: 623.525: [Full GC (Allocation Failure) 2021-12-19T22:31:54.909+0800: 623.525: [CMS (concurrent mode failure): 2097152K->2097152K(2097152K), 9.4110998 secs] 3984639K->3984638K(3984640K), [Metaspace: 215219K->215219K(1241088K)], 9.4112098 secs] [Times: user=9.27 sys=0.15, real=9.41 secs]
I think gctoolkit should add or modify a rule to match the line of gc log.
By the way, I suggest we should build an issue to record the missing rule which used to strengthen gctoolkit.

Originally posted by @ZhangShushu123 in https://github.com/microsoft/gctoolkit/discussions/192

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the parser failure with the quoted CMS concurrent-mode-failure log line. Locate the GC log parsing rules and existing tests for CMS or Full GC records; done means the sample line parses successfully without breaking existing log cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.