Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize thread names in thread constructors, don't call setName() #16624

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

pshipton
Copy link
Member

@pshipton pshipton commented Jan 30, 2023

This avoids having a default name created.

Fixes #16621

Built in https://openj9-jenkins.osuosl.org/job/Pipeline-Build-Test-Personal/333/
Tested in https://openj9-jenkins.osuosl.org/view/Test/job/Grinder/1903 - passed

Also ran the test on a build without the fix, which failed.
https://openj9-jenkins.osuosl.org/view/Test/job/Grinder/1904

This avoids having a default name created.

Issue eclipse-openj9#16621

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
@pshipton
Copy link
Member Author

Updates done.

@keithc-ca
Copy link
Contributor

Also tested locally against jdk19 which doesn't use java.lang.Thread from OpenJ9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The number of Thread instance names starts with 3
2 participants