projjal opened a new pull request #12351: URL: https://github.com/apache/arrow/pull/12351
This change fixes sporadic crashes that happened with certain expression when caching only the generated object code. The crash was happening because the generated code contained raw hardcoded pointer addresses during building certain expressions, and when using this cache entry during subsequent times these addresses point to then invalid memory. This change : * introduces an array of pointers that holds the pointers to function holders and in holders, that is filled up during the build stage and passed to the generated function during execution. The generated IR contains indices to this array instead of hardcoded addresses. * includes string literal in the generated IR as a global variable instead of a raw pointer address to the process memory. * removes the flag introduced in 4e1c79e -- 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]
