You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "nsivabalan (via GitHub)" <gi...@apache.org> on 2026/06/25 02:01:19 UTC
Re: [I] Graceful degradation of ObjectSizeCalculator for non hotspot jvms [hudi]
nsivabalan commented on issue #14491:
URL: https://github.com/apache/hudi/issues/14491#issuecomment-4795172460
This appears to be resolved on current `master`. `ObjectSizeCalculator` was rewritten in [f13962281](https://github.com/apache/hudi/commit/f13962281c8ad380d19188069934e827699e7238) (HUDI-4687) to delegate to [JOL](https://openjdk.org/projects/code-tools/jol/)'s `GraphLayout.parseInstance(obj).totalSize()`, which works across JVMs (HotSpot, OpenJ9, etc.) and avoids the HotSpot-specific reflection that motivated this issue. An earlier change (HUDI-1373) had also extended the original implementation to OpenJ9. Closing as fixed; please reopen if you are still seeing failures on a specific non-HotSpot JVM.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org