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

Make Safepoint usage more robust and increase test time outs #357

Merged
merged 4 commits into from
Jun 17, 2020
Merged

Conversation

smarr
Copy link
Owner

@smarr smarr commented Jun 17, 2020

We need to make sure that exceptions do not break our safepoint invariants.
Thus, I moved the unregister in tests, and the second await operation into finally blocks.

Same idea also applies to the ParallelHelper implementation to make it more robust.

@daumayr please have a quick look.

Thanks

Signed-off-by: Stefan Marr <git@stefan-marr.de>
This makes sure we always finish the safepoint even on exception.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
@smarr smarr added this to the v0.8.0 milestone Jun 17, 2020
@smarr smarr linked an issue Jun 17, 2020 that may be closed by this pull request
@smarr smarr added the maintenance Cleanups, minor fixes or improvements, version updates label Jun 17, 2020
@smarr smarr self-assigned this Jun 17, 2020
@smarr smarr merged commit 8a9e09b into dev Jun 17, 2020
@smarr smarr deleted the safepoint branch June 17, 2020 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Cleanups, minor fixes or improvements, version updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SafepointPhaseTest fails in testSafepointStorm
2 participants