Commit graph

63 commits

Author SHA1 Message Date
Johan Andrén
7c6025b06a
Snapshot when stages stopped incorrect and can cause crash #26902 2019-05-20 13:56:23 +02:00
Johan Andrén
63aefb0b5e Represent closed in either end as closed in ADT #26493 (#26554) 2019-03-28 17:40:31 +01:00
Auto Format
75579bed17 format source with scalafmt, #26511 2019-03-15 10:23:46 +01:00
Auto Format
ce404e4f53 format source with scalafmt 2019-03-11 16:58:55 +01:00
Patrik Nordwall
5c96a5f556 replace unicode arrows
* ⇒, →, ←
* because we don't want to show them in documentation snippets and
  then it's complicated to avoid that when snippets are
  located in src/test/scala in individual modules
* dont replace object `→` in FSM.scala and PersistentFSM.scala
2019-03-11 16:58:51 +01:00
Johan Andrén
df089016fa
Extract the layouts of the running streams as an AST (#25831) 2019-02-11 13:35:38 +01:00
kerr
bdc90052aa Update headers from 2018 to 2019 once for all. (#26165)
* Add CopyrightHeader support for sbt-boilerplate plugin.
* Add CopyrightHeader support for `*.proto` files.
* Add regex match for both `–` and `-` for CopyrightHeader.
* Add CopyrightHeader support for sbt build files.
* Update copyright from 2018 to 2019.
2019-01-02 11:55:26 +01:00
kerr
fafc59b19d update headers to regular comment (#25807) 2018-10-29 05:19:37 -04:00
Richard S. Imaoka
60eee84345 Replace graph with operator in Scaladoc/Javadoc 2018-06-09 17:42:56 +09:00
Jimin Hsieh
2c2b8ba001 Remove some of Unused import warning (#24650) 2018-03-16 12:08:29 +01:00
Konrad `ktoso` Malawski
563c7fbcf0 Issue 24594: Integration with sbt-headers and initial header population 2018-03-13 15:45:55 +01:00
Patrik Nordwall
0d222906f4 Prepare Artery for alternative TCP transport, #24390
* Refactoring to separate the Aeron specific things, ArteryAeronUdpTransport
* move Aeron specific classes to akka.remote.artery.aeron package
* move Version to ArterySettings, and describe strategy for envelope header changes
2018-02-20 16:02:57 +01:00
Christopher Batey
009214ae07
Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
Johannes Rudolph
a98887140c
=str #23953 cleanup ConcurrentAsyncCallback implementation
The existing implementation had lots of duplication. The Initializing state
could be removed in favor of using `Pending(Nil)` instead which simplified
the state handling logic further. Also, instead of using `OptionVal[Promise[Done]]`
a special marker value, `NoPromise`, was introduced to mark the case when
no promise was supplied.

Fixes #23953.
2017-12-06 13:29:21 +01:00
Johannes Rudolph
6743d90e52 =str speed up Async callback
Previously there was quite some contention on adding and removing promises. Now
we only cleanup after a (currently hard-coded) number of 256 executed promises.

A smaller number still showed contention in the SendQueueBenchmark.queue
benchmark.
2017-12-06 11:51:11 +01:00
Johan Andrén
3dc0adb4e9 Handle race where broadcasthub consumer already cancelled (#23970)
* Handle race where broadcasthub consumer already cancelled #23205

* Don't use the same thread ec, import cleanup

* Complete feedback promise when async event has been executed #23953

* No need for double-deregister-guard after invokeWithFeedback was fixed.

* Test coverage for async callbacks #23953

* Updated docs on AsyncCallback #23953

* MiMa

* Completing a promise of scaladoc

* Improved test coverage and handling of async invokation failing or throwing

* MiMa

* Review updates
2017-11-17 10:55:30 +01:00
Patrik Nordwall
945ade245e Add PartitonHub, #21880
* FixedSizePartitionHub in Artery
* expose consumer queue size
2017-08-09 17:00:35 +02:00
Johan Andrén
87b28d0dc5 Fail all stages on abrupt termination #22652 2017-04-28 11:11:50 +02:00
Arnout Engelen
c10d03970b Separate dot attributes by comma's (#22786) 2017-04-25 08:07:15 -07:00
Martynas Mickevičius
2a9c0370e0 Add @InternalApi annotations and private markers on internal apis (#22563)
* #22506 Mark materializer extension as @InternalApi

* #22506 Added missing annotations on internal apis in the fusing package

* #22506 Missing annotations in io package

* #22506 Add internal api annotations in impl package

* #22563 more hiding of the classes in the impl package

* #22563 Formatting fixes

* #22506 Fix private access in stream tcl tests
2017-03-16 20:04:07 +01:00
Johan Andrén
5ea2e0536c Remove superflous ownerId fields in interpreter Connection #22447 2017-03-13 12:42:49 +01:00
Patrik Nordwall
305347d396 use new Array instead of Array.ofDim
* to avoid allocations of ClassTag and other overhead of ofDim
2017-03-10 17:02:02 +01:00
Johan Andrén
42fdf15d22 Restore interpreter debug output #22433 2017-03-09 17:04:46 +01:00
Johan Andrén
c028b550f2 Low level interpreter tests working without GraphAssembly #22423 2017-03-07 17:06:41 +01:00
Endre Sándor Varga
ba63c7af8d New materializer and layout 2017-03-01 16:18:55 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
KAWACHI Takashi
6e0b8b98f3 Fixed typo in GraphInterpreter.scala (#21552) 2016-09-25 01:24:08 +02:00
Endre Sándor Varga
b2f0ca6750 #21446: Completion events must not be swallowed if chasing 2016-09-13 10:47:08 +02:00
Endre Sándor Varga
227f6cfd84 #21135: Fix fuzzing mode 2016-08-22 11:26:50 +02:00
Endre Sándor Varga
b8ceb863c9 reducing array load pressure by making connections an explicit object 2016-08-01 11:59:39 +02:00
Endre Sándor Varga
3a1a0cc4c4 Event chasing implemented 2016-08-01 11:31:14 +02:00
Endre Sándor Varga
b01acfd8d6 Microoptimizaitons in the interpreter 2016-08-01 11:31:13 +02:00
Patrik Nordwall
b4cd30cf94 Merge pull request #20757 from kkasravi/issue_20543_kkasravi
Fixes #20543 GraphStage subtypes should not be private to akka
2016-07-08 10:06:27 +02:00
Kam Kasravi
1d692daaad Fixes #20543 GraphStage subtypes should not be private to akka 2016-07-05 17:12:35 -07:00
Andrea Peruffo
a230f2fe34 =str switch to java std lib ThreadLocalRandom. (#20877) 2016-07-05 14:59:48 +02:00
Björn Antonsson
c66ce62d63 Update to a working version of Scalariform 2016-06-02 22:12:36 +02:00
Roland Kuhn
b255a19374 simplify materialized value computation tree, fixes #20015
- also fixes materialized value sources for graphs that import zero or
  one graphs, with and without Fusing
2016-03-16 17:05:46 +01:00
Alexander Golubev
b2b2ce44b5 =str #19299 Performance Flow.flatMapMerge 2016-03-14 14:14:39 -04:00
Julian Tescher
af34554b19 Fix common typos 2016-02-25 09:42:10 -08:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Johan Andrén
2ed7911d17 =str #19469 More verbose logging of stage and tcp errors
* Logs all exceptions thrown in GraphStages at error level
* Logs any exception leading to an abort of a tcp connection at debug level
2016-02-01 15:36:19 +01:00
Prayag Verma
b7783968a0 =pro #19068 All copyrights ranges and single years updated to a range ending in 2016 2016-01-25 10:20:30 +01:00
Roland Kuhn
469e15581f fusable SplitWhen and reusable HTTP blueprint
plus further optimizations

Lots of contributions from drewhk (Endre Varga).
2015-12-21 12:28:21 +01:00
Roland Kuhn
af99b1eae8 #19197 implement SubFusingActorMaterializer
and use it in FlattenMerge
2015-12-17 13:35:37 +01:00
Endre Sándor Varga
6b4a4848c9 =str #19067: Fixed error reporting after stage is closed. 2015-12-15 17:15:28 +01:00
Roland Kuhn
a20bbce433 add fusing 2015-12-15 09:24:52 +01:00
Endre Sándor Varga
3822f6cb1c +str #18835: Allow stages to stay alive even after all ports closed 2015-11-11 17:03:03 +01:00
drewhk
c56d4396df Merge pull request #18904 from drewhk/wip-18798-interpreter-fuzzing
+str #18798: Fuzzing mode for the interpreter
2015-11-11 09:33:28 +01:00
Endre Sándor Varga
c4417a8c39 +str #18798: Fuzzing mode for the interpreter
*PHEAR ME*
2015-11-10 15:59:03 +01:00
Konrad Malawski
42ff7d7a59 Merge pull request #18854 from ktoso/mwip-more-idleTimeout-client-tests-ktoso
=str #17732 covered all client APIs to check if idle timeouts work
2015-11-10 10:55:48 +01:00