Skip to content

Conversation

@luoluoyuyu
Copy link
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
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