danepitkin commented on code in PR #38016:
URL: https://github.com/apache/arrow/pull/38016#discussion_r1391790416
##########
java/memory/memory-core/src/main/java/org/apache/arrow/memory/DefaultAllocationManagerOption.java:
##########
@@ -130,4 +142,18 @@ private static AllocationManager.Factory getNettyFactory()
{
" No DefaultAllocationManager found to instantiate an
NettyAllocationManager", e);
}
}
+
+ private static AllocationManager.Factory getFfmFactory() {
+ try {
+ return getFactory("org.apache.arrow.memory.FfmAllocationManager");
+ } catch (RuntimeException e) {
+ if (majorVersion < 21) {
Review Comment:
Yes, good catch. More helpful checks would be nice.
--
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]