RFR: jsr166 jdk9 integration wave 6

Doug Lea dl at cs.oswego.edu
Thu Apr 7 15:39:05 UTC 2016

On 04/07/2016 11:29 AM, Paul Sandoz wrote:

>>> I am struggling to square the CF updates to the test. AFAICT the cleaning of a CF stack is now less aggressive. A dependent’s stack stack will now only be cleared if it has not completed (rather than if also the computation is nested). Thus in theory that test should run more efficiently?
>> It's not useful to clean the stack of a future that has completed
>> because all of its dependents will be triggered anyways, so there's no
>> risk of  garbage accumulation.  But jsr166 CVS already has followon
>> changes in this area that are not part of this integration.
> I was looking at those trying to understand where things are going.
> Current webrev is fine.

Thanks for looking at these!

We've been diagnosing and addressing various (potential) CompletableFuture
performance issues, as they are used increasingly often. Some of the
changes in jsr166 CVS aren't yet evaluated enough to commit to though.


More information about the core-libs-dev mailing list