Skip to content

Mirror GCToolkit #579 for JAIPilot Cloud - #1

Open
skrcode wants to merge 3 commits into
baseline/gctoolkit-pr-579from
evaluation/gctoolkit-pr-579
Open

skrcode wants to merge 3 commits into
baseline/gctoolkit-pr-579from
evaluation/gctoolkit-pr-579

Conversation

@skrcode

@skrcode skrcode commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Exact mirror of microsoft#579 at head 2b427ea.

Evaluation context: this change caches a CMS duration regex, while another changed parser path still gathers primitive promotion-failure sizes through ArrayList and then allocates/copies an int[]. Look only for one small behavior-preserving allocation or parsing-work improvement inside the changed production paths. Preserve every parsed event, duration, null/malformed-line behavior, order, logging, and error semantics. Independently prove the allocation/operation reduction with comparable evidence and run focused plus repository-native clean verification; keep no change if the hypothesis is not safe or material.

Compile DURATION_GROUP_PATTERN once as a static final field instead of
on every CMS remark weak-reference split parse call.
Fixes microsoft#567.
Replace greedy .* with a line bounded prefix so matcher.find still
selects the last pause time. Guard null parse results that SonarCloud
flags as reliability bugs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants