Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15110

[C++][Gandiva] Revert change on Gandiva's cache policy

    XMLWordPrintableJSON

Details

    Description

      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:

       

      
      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
      

      So this is a temporary revert 'till the actual memory corruption is found and fixed.

      Attachments

        Issue Links

          Activity

            People

              augustoasilva Augusto Alves Silva
              augustoasilva Augusto Alves Silva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m