Skip to content

perf: Optimize aligned object memory size calculation#577

Merged
jt2594838 merged 2 commits into
apache:developfrom
luoluoyuyu:update-alignObjectSize
Aug 27, 2025
Merged

perf: Optimize aligned object memory size calculation#577
jt2594838 merged 2 commits into
apache:developfrom
luoluoyuyu:update-alignObjectSize

Conversation

@luoluoyuyu

Copy link
Copy Markdown
Member

The JVM configuration has indicated that this parameter is a power of 2, so the alignObjectSize function can be optimized because this function will be frequently called by other warehouses, such as calculating the memory to be written, WAL memory estimation, etc.
https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html
image

@jt2594838 jt2594838 merged commit 674a65c into apache:develop Aug 27, 2025
11 checks passed
luoluoyuyu added a commit to luoluoyuyu/tsfile that referenced this pull request Aug 29, 2025
* Optimize aligned object memory size calculation

* spotless
jt2594838 pushed a commit that referenced this pull request Sep 1, 2025
* Optimize aligned object memory size calculation

* spotless
@luoluoyuyu luoluoyuyu deleted the update-alignObjectSize branch November 18, 2025 08:46
HTHou pushed a commit that referenced this pull request Feb 12, 2026
* Optimize aligned object memory size calculation

* spotless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants