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

(0.43) Fix PowerPC specific issues #18652

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

LinHu2016
Copy link
Contributor

@LinHu2016 LinHu2016 commented Dec 19, 2023

-Replace do_{if(condition){...continute;}}while{false}; with
for(;;){if(condition){...}else{break;}_} for an infinite loop
with a break logic to handle waiting concurrent gc finish during
continuation mounting. compiler might generate wrong logic for
do_while infinite loop.

-fix small hole during mounting synchronization with concurrent
scanning(for the case concurrent scanning start just before resetting
pendingmount flag-before reading the value of state for atomic update)

  • new assertion check for catching issue earlier.

Port of #18637 for 0.43

 -Replace do_{_if_(condition)_{_..._continute;_}_}while_{false}; with
  for(;;)_{_if_(condition)_{...}_else{break;_}_} for an infinite loop
  with a break logic to handle waiting concurrent gc finish during
  continuation mounting. compiler might generate wrong logic for
  do_while infinite loop.

 -fix small hole during mounting synchronization with concurrent
  scanning(for the case concurrent scanning start just before resetting
  pendingmount flag-before reading the value of state for atomic update)

- new assertion check for catching issue earlier.

signed-off-by: hulin <[email protected]>
@pshipton pshipton changed the title Fix PowerPC specific issues (0.43) Fix PowerPC specific issues Dec 19, 2023
@pshipton pshipton added comp:gc project:loom Used to track Project Loom related work labels Dec 19, 2023
@pshipton pshipton merged commit f2a305d into eclipse-openj9:v0.43.0-release Dec 19, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:gc project:loom Used to track Project Loom related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants