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

Fixed SI-6505. Respond to ask calls by immediate failure after compiler shutdown. #1487

Merged
merged 1 commit into from
Oct 11, 2012

Conversation

dragos
Copy link
Contributor

@dragos dragos commented Oct 10, 2012

When the compiler is asked to shutdown, it may still have items on the working queue, and more can be added by clients in other thread that don't know the compiler is down yet. These requests were never serviced, leading to deadlocks or timeouts.

review by @odersky, @hubertp

backport to 2.9.x

…ompiler shutdown.

When the compiler is asked to shutdown, it may still have items on the working queue, and more can be added by clients in other thread that don't *know* the compiler is down yet. These requests were never serviced, leading to deadlocks or timeouts.

review by @odersky, @hubertp
@scala-jenkins
Copy link

Started jenkins job pr-rangepos at https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/731/

@scala-jenkins
Copy link

Started jenkins job pr-scala-testsuite-linux-opt at https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1441/

@scala-jenkins
Copy link

jenkins job pr-rangepos: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/731/

@scala-jenkins
Copy link

jenkins job pr-scala-testsuite-linux-opt: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1441/

@jsuereth
Copy link
Contributor

This looks fine to me, but I need another LGTM before I can merge, and soon!

@hubertp
Copy link
Contributor

hubertp commented Oct 11, 2012

I will have a look in a second.

@hubertp
Copy link
Contributor

hubertp commented Oct 11, 2012

lgtm, ship it.

jsuereth added a commit that referenced this pull request Oct 11, 2012
Fixed SI-6505. Respond to ask calls by immediate failure after compiler shutdown.
@jsuereth jsuereth merged commit 90c7596 into scala:2.10.0-wip Oct 11, 2012
retronym pushed a commit to retronym/scala that referenced this pull request May 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants