PJ Fanning
4bcfc9c7e2
Remove use of sun.misc.Unsafe in Mailbox ( #1894 )
...
* remove use of Unsafe in Mailbox
* scalafmt
* use varhandles
* remove cast
* Update Mailbox.scala
2025-08-01 09:24:05 +01:00
PJ Fanning
814962569e
don't use unsafe to update nextName ( #1892 )
...
* don't use unsafe to update nextName
* Update Children.scala
* Update Children.scala
* use varhandle
* Update AbstractActorCell.java
* review comment
* Update Children.scala
2025-08-01 08:53:45 +01:00
PJ Fanning
9e540b1236
remove deprecated names annotations ( #1985 )
2025-07-31 20:03:35 +01:00
PJ Fanning
2b5b3f8f43
remove some more deprecated code from pekko-actor ( #1969 )
...
* remove some deprecated code from pekko-actor
Update Scheduler.scala
Update AbstractActor.scala
mima filters
remove more deprecated code from pekko-actor
revert
* Delete TypedActorRemoteDeploySpec.scala
* Update remove-deprecated-methods.excludes
2025-07-31 09:07:14 +01:00
PJ Fanning
b6849b9564
simplify forkjoin code ( #1975 )
...
* simplify forkjoin code
* Create simplify-forkjoin.excludes
2025-07-30 16:14:33 +01:00
PJ Fanning
2323878ae1
Remove some deprecated code in pekko-actor ( #1945 )
...
* remove some deprecated code from pekko-actor
* Update Scheduler.scala
* Update ActorCreationTest.java
* remove more code
* Update DnsProvider.scala
* Update DnsProvider.scala
* Update AbstractActor.scala
* mima filters
* Update remove-deprecated-methods.excludes
* Update Scheduler.scala
2025-07-29 08:57:15 +01:00
He-Pin(kerr)
0199e84444
chore: Make calculateDelay a public method. ( #1940 )
...
* chore: Make calculateDelay a public method.
* Update backoff-calculation.excludes
* move file
---------
Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2025-07-12 21:34:08 +08:00
He-Pin(kerr)
9577b01b10
chore: bump scalafmt to 3.9.7 ( #1916 )
2025-06-24 10:27:14 +02:00
He-Pin(kerr)
e6662e12de
feat: Add dropRepeated stream operator. ( #1868 )
2025-05-29 06:43:17 +08:00
PJ Fanning
05044a65d3
protobuf-java 4.29.3 ( #1795 )
...
* try protobuf-java 4.30.0
* regen code
* javafmt
* mima
* Create protoc4-upgrade.excludes
* more mima
* Update protoc4-upgrade.excludes
2025-04-17 23:10:33 +02:00
He-Pin(kerr)
466d4a500c
feat: Add Pattern timeout support ( #1424 )
2025-02-28 11:37:26 +08:00
He-Pin(kerr)
2469f729f7
feat: Add support for switching scheduler ( #1724 )
2025-01-23 03:55:15 +08:00
He-Pin(kerr)
373c07a54b
feat: Add LoadMetrics support for virtual thread executor. ( #1734 )
2025-01-20 03:52:02 +08:00
He-Pin(kerr)
e5d766bbf1
chore: Proper test virtual thread dispatcher and update doc. ( #1728 )
2025-01-19 11:30:49 +08:00
scala-steward-asf[bot]
5b2aab6f7a
Update scalafmt-core to 3.8.4 ( #1717 )
...
* Update scalafmt-core to 3.8.4
* Reformat with scalafmt 3.8.4
Executed command: scalafmt --non-interactive
* Add 'Reformat with scalafmt 3.8.4' to .git-blame-ignore-revs
* remove postfixOps imports
Assuming we want to keep the default
`rewrite.avoidInfix.excludePostfix = false` - otherwise
we can drop this commit
---------
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2025-01-18 10:36:38 +08:00
He-Pin(kerr)
a75bc7a772
chore: Make code compiles on JDK 23 ( #1726 )
2025-01-18 05:28:40 +08:00
He-Pin(kerr)
8f6f97aa2d
chore: Add identity function. ( #1671 )
2025-01-07 01:00:38 +08:00
He-Pin(kerr)
194996b326
chore: Avoid forwarding method on ArrayDequeue in BatchingExecutor. ( #1688 )
2025-01-06 18:44:08 +08:00
He-Pin(kerr)
db94dedf23
feat: Add SchedulerTask which will be notified once cancelled. ( #1593 )
2024-12-29 17:08:01 +08:00
sadekmunawar
e004814731
Fix Address ordering bug ( #1562 )
...
Co-authored-by: Sadek Munawar <musadek@amazon.com>
2024-11-25 10:24:54 +01:00
PJ Fanning
1e09622775
reduce use of scala.collection.JavaConverters ( #1511 )
...
Update Index.scala
Update Index.scala
2024-10-02 10:40:51 +01:00
PJ Fanning
711f711360
replace more uses of Util.immutableSeq ( #1509 )
...
* replace more uses of Util.immutableSeq
* Update ClusterClient.scala
* more changes
* Update NettySSLSupport.scala
* Update ClusterClient.scala
* Update ClusterClient.scala
2024-10-01 13:43:31 +01:00
PJ Fanning
f24e43687b
mark stop() method as noinline ( #1485 )
...
* mark stop() method as noinline
* Update Dispatch.scala
2024-09-25 10:00:21 +01:00
hughsimpson
c3999a0df4
Fix downstream kamon instrumentation ( #1489 )
...
* add @noinline annotation to MessageBuffer.Node.apply
* add @noinline annotation to Envelope.copy
* add overriding defn of copy with @noinline annotation to ThreadPoolConfig
* add comments
2024-09-21 14:00:43 +01:00
Andy(Jingzhang)Chen
d1ec224330
additional mailbox selector for typed props ( #1096 )
...
* additional mailbox selector for typed props
* add unit test
* chore change of unit test
* Revert "configuration typo"
This reverts commit 7917feb32a4b042124513d98068db832cc59a541.
* fix pekko imports
* mention interoperability in doc
* share configuration in tests
* revert configuration change
* fix new typo
* fix jdocs tests
* optimized import
* mention api version in doc
* resolve import issue
2024-08-28 19:12:35 +01:00
PJ Fanning
5a3f6f1863
add since marker in Timers.scala ( #1457 )
2024-08-28 13:51:54 +01:00
PJ Fanning
0fa708382c
Add new migration strategy for Pekko Persistence snapshots ( #1423 )
...
* Add new migration strategy for Pekko Persistence snapshots
Update reference.conf
Update SnapshotSerializerSpec.scala
new impl
* add more tests
* add akka mode test
* rename file
* Update SnapshotSerializerMigrationAkkaSpec.scala
* extend akka test
* Update reference.conf
* Update SnapshotSerializer.scala
* rename config
* fix name of tests
2024-08-21 11:58:16 +01:00
PJ Fanning
22194535fb
Add test for virtual thread support ( #1436 )
...
* feat: Add virtual thread support
* use public lookup
* try to add test
* Update VirtualThreadPoolDispatcherSpec.scala
* Update VirtualThreadPoolDispatcherSpec.scala
* Apply suggestions from code review
Co-authored-by: Andy(Jingzhang)Chen <iRoiocam@gmail.com>
---------
Co-authored-by: He-Pin <hepin1989@gmail.com>
Co-authored-by: Andy(Jingzhang)Chen <iRoiocam@gmail.com>
2024-08-14 18:59:42 +01:00
AndyChen(Jingzhang)
0153485657
fix: only setFailed when actor not null ( #1399 )
...
* fix: only setFailed when actor not null
* chore: use ne rather than !=
2024-07-18 22:57:34 +08:00
AndyChen(Jingzhang)
73c93622f1
fix: resolves and addition tests for child preStart supervise ( #1385 )
...
* chore: add unit test for child actor initial exception supervise
* make assertion correct
* trying to fix assertion failed
* distinguish between fatal and normal fault
* fix unit tests
* trying to fix
* fix NPE
* revert isFailed condition
* revert isFailed place
* additional tests
2024-07-15 22:54:06 +01:00
He-Pin(kerr)
979964eac9
chore: Fix typo in LARS comments ( #1373 )
2024-06-18 13:50:26 +08:00
He-Pin(kerr)
ce9f5a072f
feat: Support adjust the scheduler's tick-duration. ( #1366 )
2024-06-18 12:34:45 +08:00
scala-steward-asf[bot]
fa1351b213
Reformat with scalafmt 3.8.2
...
Executed command: scalafmt --non-interactive
2024-06-16 07:56:40 +01:00
He-Pin(kerr)
a9584ec520
feat: Add UntypedAbstractActorWithTimers ( #1361 )
2024-06-14 16:14:55 +08:00
João Costa
cce5f9b0d9
Avoid boxing in Framing ( #1247 )
...
* Fix FramingBenchmark
* Add specialized indexOfByte
* Rename indexOfByte to indexOf
* Add missing @since(1.1.0) and reformat scaladoc
* Fix Scala 2.12 ambiguity problem
* Inline nextString
* Change default ByteString#indexOf to call indexWhere
This is always overriden, but I guess it won't hurt to have a default
* Remove default indexOf override
Calling indexWhere is already the default
* Fix MiMa issues
2024-05-06 20:19:40 +01:00
scala-steward-asf[bot]
b6f2c5774e
Update scala-library to 2.13.14 ( #1308 )
...
* Update scala-library to 2.13.14
* rename var that causes compile issue
* Update PekkoDisciplinePlugin.scala
* Update link-validator.conf
---------
Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2024-05-04 15:20:47 +02:00
João Costa
b5eb6ff01a
Replace Akka reference With Pekko ( #1303 )
2024-04-29 16:15:21 +02:00
He-Pin(kerr)
77532c1bb5
feat: Add retry with predicate ( #1269 )
2024-04-23 20:34:16 +08:00
João Costa
f70c26087c
chore: Fix ByteIterator#indexWhere ( #1282 )
...
It would blow up when from was out of bounds.
2024-04-16 10:41:21 +08:00
PJ Fanning
276a757d77
fix issue with forkjoin ( #1245 )
2024-03-31 19:12:45 +02:00
PJ Fanning
a2835b029d
support jdk9 forkjoinpool maximum-pool-size ( #485 )
...
* support jdk9 forkjoinpool maximum-pool-size
Update PekkoJdk9ForkJoinPool.scala
Update ForkJoinPoolConstants.scala
scala 2.12 compile issue
review comments
use methodhandle
review comments
* refactor imports
Update PekkoJdk9ForkJoinPool.scala
2024-03-30 13:45:02 +01:00
PJ Fanning
e3410bcaa8
Pekko becomes TLP ( #1214 )
2024-03-22 14:16:08 +01:00
Nicolas Vollmar
fa5c83f36f
Add handling for tcp register timeout leaving connection dead
2024-03-09 10:51:12 +01:00
He-Pin(kerr)
1c85155047
chore: Replace Akka with Pekko in ActorSystem.scala ( #1163 )
2024-03-01 11:37:25 +08:00
AndyChen(Jingzhang)
2fdf7c9e9b
fix: proper path when promise actor terminated quickly ( #1156 )
2024-02-28 09:15:01 +01:00
AndyChen(Jingzhang)
8ce4973fc9
Configuration typo fixes ( #1100 )
...
* configuration typo
* chore: all module configuration typo fix
* apply suggestion
2024-02-05 17:21:23 +01:00
PJ Fanning
ef628ea320
add asInputStream to ByteString ( #1085 )
...
* add getInputStream to ByteString
* scala 2 updates
* rename as asInputStream
* make methods final
* use different asInputStream implementations on different subclasses
Co-Authored-By: João Ferreira <943051+jtjeferreira@users.noreply.github.com>
* Update ByteBufferBackedInputStream.scala
scalafmt
* remove default asInputStream impl
* add some tests - more needed
* Create bytestring-inputstream.excludes
* scalafmt
* Update bytestring-inputstream.excludes
* Update ByteStringInputStreamSpec.scala
* Update ByteStringInputStreamSpec.scala
* Update ByteStringInputStreamSpec.scala
* add benchmark
* Update ByteString_asInputStream_Benchmark.scala
* change to iterator earlier in chain
---------
Co-authored-by: João Ferreira <943051+jtjeferreira@users.noreply.github.com>
2024-02-05 16:09:56 +01:00
Matthew de Detrich
25f80a160a
Remove scala 3 inline keyword since its erased in bytecode
2024-01-29 11:57:03 +01:00
Matthew de Detrich
24ce39c010
Add targetName overloaded methods for Scala 3 inline methods
2024-01-29 00:21:36 +01:00
He-Pin(kerr)
8e7ae52a06
perf: Make use of System.arraycopy directly. ( #1001 )
2024-01-26 19:54:46 +08:00