Commit 370031e
authored
### Rationale for this change
Multiple threads can attempt to create the same llvm expression in
Gandiva. This isn't allowed with the new JIT compiler, so synchronizing
will prevent this scenario.
### What changes are included in this PR?
Synchronize some methods to avoid adding duplicate llvm expressions.
### Are these changes tested?
Yes, through unit tests in Gandiva.
### Are there any user-facing changes?
No.
Closes GH-601
1 parent 799d9fd commit 370031e
File tree
1 file changed
+2
-2
lines changed- gandiva/src/main/java/org/apache/arrow/gandiva/evaluator
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
0 commit comments