adamkennedy commented on code in PR #38016:
URL: https://github.com/apache/arrow/pull/38016#discussion_r1391784922
##########
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:
Would we also have to detect that preview features are actually turned on
and the underlying FFM libraries are available in that specific Java 21+ VM
instance?
--
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]