You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2026/05/27 03:16:52 UTC
[GH] (rocketmq/perf/reduce-alloc-parsePublishMessageQueues): Workflow run "Build and Run Tests by Bazel" failed!
The GitHub Actions job "Build and Run Tests by Bazel" on rocketmq.git/perf/reduce-alloc-parsePublishMessageQueues has failed.
Run started by GitHub user wushiyuanmaimob (triggered by RongtongJin).
Head commit for run:
cf749c488ba1beab49d4617ec95819eb24898d4c / sywu14 <wu...@outlook.com>
[ISSUE #9926] Avoid redundant list allocation in parsePublishMessageQueues
When namespace is empty (the common case for most users), the method
previously allocated a new ArrayList and N new MessageQueue objects on
every send call, copying identical data. Under high throughput (50K+ TPS),
this creates significant GC pressure from short-lived objects.
This change:
- Returns the original list directly when namespace is empty (zero alloc)
- Pre-allocates ArrayList capacity when namespace stripping is needed
Signed-off-by: sywu14 <wu...@outlook.com>
Report URL: https://github.com/apache/rocketmq/actions/runs/26434567391
With regards,
GitHub Actions via GitBox