You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by "raboof (via GitHub)" <gi...@apache.org> on 2025/08/27 12:49:58 UTC
Re: [PR] SizeClassOnceObjectSizerJUnitTest [geode]
raboof commented on code in PR #7906:
URL: https://github.com/apache/geode/pull/7906#discussion_r2303835820
##########
geode-core/src/test/java/org/apache/geode/internal/size/SizeClassOnceObjectSizerJUnitTest.java:
##########
@@ -44,15 +45,27 @@ public void test() {
- ObjectSizer.SIZE_CLASS_ONCE.sizeof(new char[0]);
// Make sure that we actually size strings each time
- assertEquals(emptySize + roundup(OBJECT_SIZE + 4 + 5 * 2),
- ObjectSizer.SIZE_CLASS_ONCE.sizeof(s1));
- assertEquals(emptySize + roundup(OBJECT_SIZE + 4 + 10 * 2),
- ObjectSizer.SIZE_CLASS_ONCE.sizeof(s2));
+ if (SystemUtils.isAzulJVM()) {
Review Comment:
Like in the other PR, let's guard the Azul behavior we don't quite understand yet in `if (!SystemUtils.isAzulJVM()) {`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@geode.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org