void-ptr974
void-ptr974
Thanks for the heads-up. I removed the tests for the classes that no longer exist, so this PR now just adds the randomized coverage for `TripleLongPriorityQueue`.
Closing this PR based on the JMH/JIT investigation. In the no-filter dispatch path, HotSpot C2 already inlines EntryFilterSupport::runFiltersForEntry into AbstractBaseDispatcher::filterEntriesForConsumer on the baseline branch, so the extra outer hasFilter guard...
I added a short write-up with the final JMH result and the JIT comparison for this PR: https://gist.github.com/void-ptr974/19e11be0f37e21345219ba36fa4befe3 The benchmark source is here: https://gist.github.com/void-ptr974/000b35236902ece576c547304452c76e Summary: the no-filter source-level call is...
Thanks for improving this path and avoiding repeated metadata driver initialization. One thing that might be worth considering is whether we can wire in the bookie server’s existing MetadataBookieDriver or...
This optimization addresses a real bottleneck in fragmented backlog reads, and the benchmark demonstrates its value in that workload. Keeping the implementation in ML also preserves the benefit of shared...
Thanks for the pointer. I'll check this path.
Hi @poorbarcode, this one adjusts when `PersistentReplicator` creates in-flight read tasks under dispatch rate limiting. Could you help review the pending-read / permit invariant when you have time? Thanks!
Thanks @poorbarcode and @lhotari. I pushed the remaining follow-ups. - Renamed `InFlightTask.bytesToRead` to `maxBytesToRead`. This should make it clearer that the field only carries the max byte limit for `cursor.asyncReadEntriesOrWait(...)`;...
Thanks @poorbarcode and @lhotari. I pushed another follow-up to make the read-limit handling clearer. What changed: - Changed the new integration test to use topic-level replicator dispatch rate policy, so...
Pushed a small cleanup follow-up in `8c4e573`. What changed: - Removed the `@VisibleForTesting` `maybeGetReadLimitsForNextRead()` wrapper and made `ReadLimits` private again. - Removed the tests that directly exercised that internal helper,...