microsoft / microsoft/gctoolkit

Unable to detect Unified-Parallel logs that don't start with "Using Parallel"

Open
#462 2 comments 0 reactions 1 assignee View on GitHub

@jlittle-ptc is already working on this.

Since Nov 10, 2025.

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

Description

Describe the bug
Discovered while fixing #457, the diarizer is not able to reliably identify Unified-Parallel logs that don't start with "Using Parallel" at the beginning of the file. This means that rollover logs using Unified-Parallel cannot be reliably identified and processed.

To Reproduce
Steps to reproduce the behavior:
Comment out the first line in UnifiedGenerationalEventsTest.testParallelNoDetails() (added in PR for #457) and run the test. (Lines were taken from file attached to #457)

The test does not generate the correct number of events as it was not able to select the Parallel collector from the information provided.

Expected behavior
Parser is able to successfully identify the garbage collector so that it can parse the events properly.

Additional context
Unfortunately, many of the logged events in Parallel logs are also used in other collectors which makes this difficult.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.