[Gandiva][Java] Safeguard jvm before loading the gandiva library
- 主要语言
- Java
- 星标
- 94
- 派生
- 152
- 平均合并
- 3 天 16 小时
- 30 天内合并 PR
- 11
描述
Today we load the gandiva library always when trying to use the jni bridge, but we have run into issues causing the jvm to crash in untested paths.
Proposal is to do load the library in a separate process first and if it works only then load in the current process.
This would be done only once at startup/first load.
**Reporter**: [Praveen Kumar](https://issues.apache.org/jira/browse/ARROW-4003) / @praveenbingo
**Note**: *This issue was originally created as [ARROW-4003](https://issues.apache.org/jira/browse/ARROW-4003). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
贡献指南
调研方向
首先追踪 Java JNI 桥接的首次库加载路径,以及当前启动或首次加载时的初始化工作方式。实现提议的独立进程加载检查,只有在检查成功后才在当前进程中加载,并确保该检查只运行一次;验证在失败或不受支持的路径上 JVM 仍然安全。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100