timoninmaxim commented on code in PR #12002:
URL: https://github.com/apache/ignite/pull/12002#discussion_r2046723020
##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/tracker/ObjectSizeCalculator.java:
##########
@@ -112,11 +98,10 @@ private static long calcAlign() {
// Binary objects.
// Assume objects is not deserialized.
- addSysClsSize(BinaryObjectImpl.class, (c, bo) -> align(byteArrOffset +
bo.array().length));
- addSysClsSize(BinaryObjectOffheapImpl.class, null); // No extra heap
memory.
Review Comment:
Can we just load class with ClassLoader. Pretty much code only for returning
null.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]