No description
Find a file
Patrik Nordwall 2a975bfb35 =str #16986 Fix memory leak in PrefixAndTail when using Sink.publisher
The problem was reproduced with the TCK PrefixAndTailTest
required_spec313_cancelMustMakeThePublisherEventuallyDropAllReferencesToTheSubscriber
The tck subscriber was still referenced. Profiling revealed that the
root cause was the VirtualPublisher that holds a reference to the
realPublisher, which was MultiStreamOutputProcessor$SubstreamOutput,
which had the reference to the subscriber. The VirtualPublisher
is created by the Sink.publisher in the test, and the test holds
on to that VirtualPublisher reference.

The solution is to null out realPublisher field in the VirtualPublisher.

The old workaround with the NullSubscriber was removed.

Also made Sink.publisher reject additional subscribers.
2015-04-21 16:11:23 +02:00
akka-docs-dev Merge pull request #17210 from ktoso/wip-concat-docs-ktoso 2015-04-20 21:22:32 +02:00
akka-http/src/main !htc #17039, #16933 change default materialization placeholder type from Unit to Any 2015-04-10 15:10:42 +02:00
akka-http-core/src Merge pull request #17218 from spray/wip-16795-mathias 2015-04-21 10:27:38 +02:00
akka-http-testkit/src !str #16992 Rework Source and Sink name parameter 2015-03-06 09:24:00 +01:00
akka-http-tests/src/test =htp #17051 fix BodyPartParser not handling streaming entities correctly 2015-04-10 14:00:30 +02:00
akka-parsing/src/main !htc,par cleanup warnings 2014-11-12 11:44:13 +01:00
akka-stream/src/main =str #16986 Fix memory leak in PrefixAndTail when using Sink.publisher 2015-04-21 16:11:23 +02:00
akka-stream-tck/src/test/scala/akka/stream/tck !str #17189 Add withAttributes and named to Graph 2015-04-17 11:31:32 +02:00
akka-stream-testkit/src/test !str #17189 Add withAttributes and named to Graph 2015-04-17 11:31:32 +02:00
akka-stream-tests/src/test =str #16986 Fix memory leak in PrefixAndTail when using Sink.publisher 2015-04-21 16:11:23 +02:00