[
https://issues.apache.org/jira/browse/ARROW-15110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Augusto Alves Silva closed ARROW-15110.
---------------------------------------
> [C++][Gandiva] Revert change on Gandiva's cache policy
> ------------------------------------------------------
>
> Key: ARROW-15110
> URL: https://issues.apache.org/jira/browse/ARROW-15110
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++ - Gandiva
> Reporter: Augusto Alves Silva
> Assignee: Augusto Alves Silva
> Priority: Minor
> Labels: pull-request-available
> Fix For: 7.0.0
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> Revert change on "ARROW-12986: [C++][Gandiva] Implement new cache eviction
> policy algorithm in Gandiva"
> This reverts commit
> [a628ee0]([https://github.com/s1mbi0se/arrow/commit/a628ee0bd3e5644cc9dc1fa33935c0abf8355c90])
> The commit that is being revered is causing random memory corruptions, based
> whe compiling the Gandiva to jars file for JNI:
>
> {code:java}
> A fatal error has been detected by the Java Runtime Environment:
> SIGSEGV (0xb) at pc=0x00007fdb8d427af8, pid=20974, tid=0x00007fdb8b669700
> JRE version: OpenJDK Runtime Environment (8.0_141-b16) (build 1.8.0_141-b16)
> Java VM: OpenJDK 64-Bit Server VM (25.141-b16 mixed mode linux-amd64
> compressed oops)
> Problematic frame:
> C [libgandiva_jni.soa26ad92b-cf80-4777-98fc-5ea749c149ac+0x4afaf8]
> gandiva::Projector::Make(std::shared_ptr<arrow::Schema>,
> std::vector<std::shared_ptr<gandiva::Expression>,
> std::allocator<std::shared_ptr<gandiva::Expression> > > const&,
> gandiva::SelectionVector::Mode, std::shared_ptr<gandiva::Configuration>,
> std::shared_ptr<gandiva::Projector>*)+0x858
> Failed to write core dump. Core dumps have been disabled. To enable core
> dumping, try "ulimit -c unlimited" before starting Java again
> {code}
> So this is a temporary revert 'till the actual memory corruption is found and
> fixed.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)