Skip to content

Conversation

@JinwooHwang
Copy link
Contributor

For all changes:

  • Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

  • Has your PR been rebased against the latest commit within the target branch (typically develop)?

  • Is your initial contribution a single, squashed commit?

  • Does gradlew build run cleanly?

  • Have you written or updated unit tests to verify your changes?

  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

@JinwooHwang JinwooHwang requested a review from raboof August 27, 2025 09:58
ObjectSizer.SIZE_CLASS_ONCE.sizeof(s1));
assertEquals(emptySize + roundup(OBJECT_SIZE + 4 + 10 * 2),
ObjectSizer.SIZE_CLASS_ONCE.sizeof(s2));
if (SystemUtils.isAzulJVM()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like in the other PR, let's guard the Azul behavior we don't quite understand yet in if (!SystemUtils.isAzulJVM()) {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your review, @raboof. Are you comfortable proceeding with the merge at this point?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer wrapping the asserts in a if (!SystemUtils.isAzulJVM()) { block instead of adding asserts with + 8, just like in #7907

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your guidance, @raboof. I've incorporated your suggestion into the latest update. Would you be willing to review the commit when you have a moment?

Copy link
Member

@raboof raboof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Doesn't need to be 3 commits but we can 'Squash and merge' after CI confirms there's no unexpected failures.

@JinwooHwang
Copy link
Contributor Author

Thank you so much for your approval, @raboof.

@JinwooHwang JinwooHwang merged commit 686d519 into apache:develop Aug 27, 2025
15 of 17 checks passed
JinwooHwang added a commit that referenced this pull request Sep 3, 2025
* SizeClassOnceObjectSizerJUnitTest

(cherry picked from commit 686d519)
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