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

Set a default thread name for java.util.TimerThread #691

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

pshipton
Copy link
Member

@pshipton pshipton commented Aug 9, 2023

Issue eclipse-openj9/openj9#11930

The name isn't set in the TimerThread constructor, it calls Thread.newName() which consumes the "Thread-0" name. This causes the test to fail because it expects this name. This could have an impact on / confuse users which expect consistent thread names. Depending on the timing of the Attach API AttachHandler / FilelockTimer creation, an application can get different default thread names from run to run.

Backport of ibmruntimes/openj9-openjdk-jdk#640

@pshipton pshipton requested a review from keithc-ca August 9, 2023 21:15
@keithc-ca
Copy link
Member

Please address the line-ending check failure.

Issue eclipse-openj9/openj9#11930

The name isn't set in the TimerThread constructor, it calls
Thread.newName() which consumes the "Thread-0" name. This causes the
test to fail because it expects this name. This could have an impact on
/ confuse users which expect consistent thread names. Depending on the
timing of the Attach API AttachHandler / FilelockTimer creation, an
application can get different default thread names from run to run.

Backport of ibmruntimes/openj9-openjdk-jdk#640

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

Jenkins compile amac jdk11

@keithc-ca keithc-ca merged commit 6e65593 into ibmruntimes:openj9 Aug 10, 2023
4 checks passed
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.

None yet

2 participants