diff options
author | Viktor Klang <viktor.klang@gmail.com> | 2013-02-18 17:58:08 +0100 |
---|---|---|
committer | Viktor Klang <viktor.klang@gmail.com> | 2013-05-18 20:40:38 +0200 |
commit | 73d494dd4b4b45277c447b774570c52b4df67869 (patch) | |
tree | f622531c7eb0e93efeeba84ae23701972cd7415b /bincompat-forward.whitelist.conf | |
parent | 4f8c306aca703c63282295c9f74f0cb35f9f85d4 (diff) | |
download | scala-73d494dd4b4b45277c447b774570c52b4df67869.tar.gz scala-73d494dd4b4b45277c447b774570c52b4df67869.tar.bz2 scala-73d494dd4b4b45277c447b774570c52b4df67869.zip |
Reimplementing much of the DefaultPromise methods
Optimizations:
1) Avoiding to call 'synchronized' in tryComplete and in tryAwait
2) Implementing blocking by using an optimized latch so no blocking ops for non-blockers
3) Reducing method size of isCompleted to be cheaper to inline
4) 'result' to use Try.get instead of patmat
Diffstat (limited to 'bincompat-forward.whitelist.conf')
-rw-r--r-- | bincompat-forward.whitelist.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bincompat-forward.whitelist.conf b/bincompat-forward.whitelist.conf index fd6451d3bc..83864f48ee 100644 --- a/bincompat-forward.whitelist.conf +++ b/bincompat-forward.whitelist.conf @@ -467,6 +467,10 @@ filter { { matchName="scala.concurrent.forkjoin.ForkJoinPool.helpJoinOnce" problemName=IncompatibleResultTypeProblem + }, + { + matchName="scala.concurrent.impl.Promise$CompletionLatch" + problemName=MissingClassProblem } ] } |