RFR 8056249 Improve CompletableFuture resource usage

Paul Sandoz paul.sandoz at oracle.com
Fri Aug 29 10:01:26 UTC 2014


Please review fixes by Doug to j.u.c.CompletableFuture to better control resources for long completion chains (e.g. avoiding stack overflows). This fix resulted in a lot of internal refactoring and clean up.  There are also some doc clarifications for certain j.u.c.CompletationStage exception handling methods (which most likely means a CCC is required).



Is the following snippet missing from the doc updates to the methods CompletationStage.handle and handleAsync?

  If the supplied function itself encounters an
  exception, then the returned stage exceptionally completes with this
  exception unless this stage also completed exceptionally.


More information about the core-libs-dev mailing list