You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dmitry Konstantinov (Jira)" <ji...@apache.org> on 2026/06/01 11:34:00 UTC
[jira] [Updated] (CASSANDRA-21399) Megamorphic call overhead at org.apache.cassandra.io.util.RandomAccessReader#current
[ https://issues.apache.org/jira/browse/CASSANDRA-21399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Konstantinov updated CASSANDRA-21399:
--------------------------------------------
Fix Version/s: 6.0-alpha2
7.0
(was: 6.x)
(was: 7.x)
Source Control Link: https://github.com/apache/cassandra/commit/c0999f04d1a0afa767be4a6afb0354081fd5d7e7
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> Megamorphic call overhead at org.apache.cassandra.io.util.RandomAccessReader#current
> ------------------------------------------------------------------------------------
>
> Key: CASSANDRA-21399
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21399
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Local/SSTable
> Reporter: Dmitry Konstantinov
> Assignee: Dmitry Konstantinov
> Priority: Normal
> Fix For: 6.0-alpha2, 7.0
>
> Attachments: CASSANDRA-21399-6.0_ci_summary.htm.zip, image-2026-05-23-16-17-07-684.png, isEOF_cpu.png
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 0.9% of overall CPU in profile is spent in org.apache.cassandra.io.util.RandomAccessReader#current
> when we do a polymorphic call of org.apache.cassandra.io.util.Rebufferer.BufferHolder#offset
> we can avoid it by caching the offset value for the current block on RandomAccessReader level.
> !image-2026-05-23-16-17-07-684.png|width=600!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org