The GitHub Actions job "Validate and test" on pekko-http.git/refactor/replace-reflection-with-methodhandles has failed. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: 0269df0924db824cd446ad12e0525893fb417a8d / 虎鸣 <[email protected]> refactor: replace java.lang.reflect with MethodHandle/VarHandle for JIT optimization Motivation: java.lang.reflect Method.invoke and Constructor.newInstance bypass JIT inlining, adding overhead to build-time aggregation calls and test code. Modification: - SbtInternalAccess: replace Method.invoke with MethodHandle.invoke via unreflect for Aggregation.showRun calls - Http2ServerSpec: replace Field.get with VarHandle.get via unreflectVarHandle for ManualProbe.probe field access - TurkishISpec: replace Constructor.newInstance with MethodHandle.invoke via unreflectConstructor for HttpCharsets$ instantiation Result: MethodHandle and VarHandle enable JIT inlining, eliminating reflection overhead in both build-time and test code paths. Tests: - sbt "http2-tests / Test / compile" - success - sbt "http-core / Test / compile" - success References: None - internal refactoring Report URL: https://github.com/apache/pekko-http/actions/runs/28778379833 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
