raboof commented on code in PR #7906: URL: https://github.com/apache/geode/pull/7906#discussion_r2303898038
########## 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: I would prefer wrapping the asserts in a `if (!SystemUtils.isAzulJVM()) {` block instead of adding asserts with `+ 8`, just like in #7907 -- 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-unsubscr...@geode.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org