Skip to content

Stack walk loop breaker for ASGCT - #16288

Merged
tajila merged 1 commit into
eclipse-openj9:masterfrom
gacholio:loop
Nov 10, 2022
Merged

Stack walk loop breaker for ASGCT#16288
tajila merged 1 commit into
eclipse-openj9:masterfrom
gacholio:loop

Conversation

@gacholio

@gacholio gacholio commented Nov 8, 2022

Copy link
Copy Markdown
Contributor

Prevent potential endless loop in the stack walker when examining the stack of a thread which has been interrupted when not at a safe point.

Signed-off-by: Graham Chapman graham_chapman@ca.ibm.com

@gacholio
gacholio requested a review from tajila November 9, 2022 18:43
@gacholio
gacholio marked this pull request as ready for review November 9, 2022 18:43
Comment thread runtime/oti/j9consts.h Outdated

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.

Do we need to change DDR for these flags?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No constant has been added or removed, so I assume any use in DDR will pick up the appropriate values from the core. @keithc-ca

@gacholio
gacholio marked this pull request as draft November 9, 2022 20:10
@gacholio

gacholio commented Nov 9, 2022

Copy link
Copy Markdown
Contributor Author

Need to refactor to account for JIT inlines, which is currently only done for the cache.

@gacholio
gacholio force-pushed the loop branch 2 times, most recently from 98f3fa2 to 3763f6e Compare November 9, 2022 20:35
Prevent potential endless loop in the stack walker when examining the
stack of a thread which has been interrupted when not at a safe point.

Signed-off-by: Graham Chapman <graham_chapman@ca.ibm.com>
@gacholio
gacholio marked this pull request as ready for review November 9, 2022 21:40
@gacholio
gacholio requested a review from tajila November 9, 2022 21:40
@gacholio

gacholio commented Nov 9, 2022

Copy link
Copy Markdown
Contributor Author

@tajila Ready for another look.

@tajila

tajila commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

jenkins test sanity amac jdk19

@tajila

tajila commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

jenkins compile win jdk8

@tajila
tajila merged commit f21e296 into eclipse-openj9:master Nov 10, 2022
@gacholio
gacholio deleted the loop branch November 10, 2022 20:00
@pshipton

Copy link
Copy Markdown
Member

I'm going to revert this. There are 100s of illegal instruction failures on zlinux and z/OS in an internal build, and this is the only relevant change.

gacholio added a commit to gacholio/openj9 that referenced this pull request Nov 11, 2022
Prevent potential endless loop in the stack walker when examining the
stack of a thread which has been interrupted when not at a safe point.

Same as eclipse-openj9#16288 with J9StackWalkState alignment fixed.

Signed-off-by: Graham Chapman <graham_chapman@ca.ibm.com>
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