Skip to content

Change ZGC start tag#419

Merged
kcpeppe merged 1 commit intomicrosoft:mainfrom
j-bahr:zgc-start-tag
Mar 3, 2025
Merged

Change ZGC start tag#419
kcpeppe merged 1 commit intomicrosoft:mainfrom
j-bahr:zgc-start-tag

Conversation

@j-bahr
Copy link
Collaborator

@j-bahr j-bahr commented Feb 28, 2025

This change allows us to detect a ZGC log when only using -Xlog:gc. The old tag required gc+init=info. This should improve log detection. This should help fixes #382

Old detection using:

[info][gc,init] Initializing The Z Garbage Collector

New detection using:

[info][gc     ] Using The Z Garbage Collector

This change allows us to detect a ZGC log when only using `-Xlog:gc`. The old tag required `gc+init=info`. This should improve log detection.

Old detection using:
```
[info][gc,init] Initializing The Z Garbage Collector
```

New detection using:
```
[info][gc     ] Using The Z Garbage Collector
```
@karianna karianna requested a review from kcpeppe March 2, 2025 23:41
@karianna
Copy link
Member

karianna commented Mar 2, 2025

@kcpeppe I know you wanted to have a min set of logging flags that we would support - flagging this for your review

@kcpeppe
Copy link
Contributor

kcpeppe commented Mar 3, 2025

I like this change a lot. The more we can do with less info the better IMO. @karianna

@kcpeppe kcpeppe merged commit d0f19a9 into microsoft:main Mar 3, 2025
8 checks passed
@karianna karianna mentioned this pull request Apr 22, 2025
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.

Unrecognised ZGC file

3 participants