The GitHub Actions job "Pull Requests" on 
pekko.git/refactor/replace-reflection-with-methodhandles has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
f3969ff764181ba5da00f7804d78c834c34e8725 / 虎鸣 <[email protected]>
Optimize reflective hot paths with method handles

Motivation:
Reduce repeated reflective lookup and per-call adaptation in actor creation, 
serialization, and JVM integration points while preserving 
reflection-compatible behavior on modular JDKs.

Modification:
Cache pre-adapted MethodHandles and VarHandles at component or class lifetime, 
use exact invocation on hot paths, and retain safe test migrations. Preserve 
JPMS caller lookup, class initialization, varargs, and exception behavior with 
focused regression tests.

Result:
Hot paths avoid repeated lookup and adaptation. Actor creation JMH showed no 
regression and a small non-conclusive improvement signal from 9.640 +/- 0.314 
to 9.341 +/- 0.279 us/op.

Tests:
- JDK 17 focused actor reflection, dynamic access, PekkoException, protobuf 
serializer, and file descriptor metrics tests passed after the HashCode split: 
36 tests
- Earlier focused Scala 3.3.8, JDK 21, and JDK 25 reflection/virtual-thread 
validation passed on the same MethodHandle changes
- sbt +headerCheckAll passed
- scalafmt --list --mode diff-ref=origin/main passed
- git diff --check passed
- qodercli formal stdout review found no must-fix findings
- GitHub Binary Compatibility, headers, code style, scalafmt, Scala 2.13/3/next 
tests, classic remoting, and Java 21 checks passed before the scope-only split

References:
Refs #3300

Report URL: https://github.com/apache/pekko/actions/runs/29093971496

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to