microsoft / microsoft/gctoolkit

Java 17 Parallel Old/New Parsing has altered from JDK 11, impacting what is reported as promoted bytes and what is reported in young gen

Open
#284 4 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

Describe the bug
Censum seems to be reporting on -xmn values as opposed to -xmx values but that is a red herring. What has actually changed is that after a gc collection record there's no longer always a new gc total heap size record.

To Reproduce
Load the attached log, you'll note that full heap seems to be at 50GB when it should be 56GB, there are other calculations challenges.

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 loading the attached GC log and comparing the Java 17 Parallel Old/New records with the Java 11 behavior described in the report. Investigate the assumption that every GC collection is followed by a new total heap size record; done means the 50GB-versus-56GB discrepancy and the promoted/young-generation calculations are corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.