Skip to content

Get threadObject from targetThread in mgmtthread.c::getThreadInfo - #16181

Merged
pshipton merged 1 commit into
eclipse-openj9:masterfrom
babsingh:fix_mxbean_getthreadinfo
Oct 24, 2022
Merged

Get threadObject from targetThread in mgmtthread.c::getThreadInfo#16181
pshipton merged 1 commit into
eclipse-openj9:masterfrom
babsingh:fix_mxbean_getthreadinfo

Conversation

@babsingh

@babsingh babsingh commented Oct 24, 2022

Copy link
Copy Markdown
Contributor

Fixes the typo introduced in #15956. targetThread should be used instead
of currentThread for retrieving the threadObject.

Related: ce4d4a3#r87746489
Related: #14538

Signed-off-by: Babneet Singh sbabneet@ca.ibm.com

Fixes the typo introduced in eclipse-openj9#15956. targetThread should be used instead
of currentThread for retrieving the threadObject.

Related: eclipse-openj9#14538

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
@babsingh

Copy link
Copy Markdown
Contributor Author

@thallium Can you please review this PR?

@babsingh

Copy link
Copy Markdown
Contributor Author

jenkins test sanity,extended amac jdk19,jdk11

@thallium thallium left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@babsingh

Copy link
Copy Markdown
Contributor Author

@pshipton Tested locally some of the failing test targets, which are reported in #14538 (comment). They successfully pass with this PR. It should be good to merge once the PR builds pass.

@babsingh
babsingh requested a review from pshipton October 24, 2022 18:56
@pshipton

pshipton commented Oct 24, 2022

Copy link
Copy Markdown
Member

Seems jdk11 extended testing has hung in testDDRExtJunit_MonitorsAndDeadlock6_0
https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_extended.functional_aarch64_mac_Personal_testList_1/15

14:24:35       [exec] spawnFirstThreadtest6 :: run()
14:24:35       [exec] spawnSecondThreadtest6 :: run()
14:24:35       [exec] spawnSecondThreadtest6 :: block indefinitely on lock1test6

@pshipton

Copy link
Copy Markdown
Member

The test passed in a grinder, hopefully we just got unlucky, although I don't recall seeing a hang like this before. Perhaps there is another intermittent problem, but I don't think it's related to this change.
https://openj9-jenkins.osuosl.org/job/Grinder/1448

@pshipton
pshipton merged commit 00daf1a into eclipse-openj9:master Oct 24, 2022
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.

3 participants