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

CUSTCOM-260 Fixed possible deadlock in StandardSession #4478

Merged
merged 10 commits into from
Apr 16, 2020

Conversation

sgflt
Copy link
Contributor

@sgflt sgflt commented Feb 9, 2020

Description

This is a bug fix of deadlock described in #4281

I could not create simple reproducer because race conditions are hard to reproduce.
EDIT dmatej: the possible deadlock is well visible from sources.

Notes for Reviewers

Reviewer should proove that the cycle between classes existed in previous version and now is fixed correctly.

@dmatej

@sgflt sgflt requested a review from dmatej February 9, 2020 11:58
@rdebusscher rdebusscher added the PR: Awaiting CLA Contributor does not have a CLA or has submitted an unconfirmed CLA. label Feb 11, 2020
@rdebusscher
Copy link

@sgflt We are awaiting the signed CLA (https://github.com/payara/Payara/blob/master/PayaraCLA.pdf) otherwise we need to close this PR.

@rdebusscher rdebusscher added the Status: Abandoned User has not supplied reproducers for bug report, soon to be closed if user doesn’t come back label Apr 3, 2020
Copy link
Contributor

@dmatej dmatej left a comment

Choose a reason for hiding this comment

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

I see it - toString could initiate evaluation of session validity. Nice work!

@dmatej dmatej self-assigned this Apr 3, 2020
@sgflt
Copy link
Contributor Author

sgflt commented Apr 3, 2020

CLA on the way :)

@smillidge smillidge added PR: CLA CLA submitted on PR by the contributor and removed PR: Awaiting CLA Contributor does not have a CLA or has submitted an unconfirmed CLA. labels Apr 6, 2020
@smillidge
Copy link
Contributor

We've got the CLA

@rdebusscher rdebusscher added community-contribution and removed Status: Abandoned User has not supplied reproducers for bug report, soon to be closed if user doesn’t come back labels Apr 6, 2020
@dmatej
Copy link
Contributor

dmatej commented Apr 16, 2020

Jenkins test please

@dmatej dmatej changed the title Issue 4281 possible fix CUSTCOM-260 Fixed possible deadlock in StandardSession Apr 16, 2020
@dmatej dmatej merged commit 9e59979 into payara:master Apr 16, 2020
@OndroMih OndroMih modified the milestone: 5.2020.2 Jul 14, 2020
@sgflt sgflt deleted the issue-4281-deadlock-isValid-side-effect branch July 19, 2020 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: CLA CLA submitted on PR by the contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants