Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-12248: [C++] Avoid looking up ARROW_DEFAULT_MEMORY_POOL environment variable too late #9930

Closed

Conversation

pitrou
Copy link
Member

@pitrou pitrou commented Apr 7, 2021

In some situations (e.g. R bindings), default_memory_pool() may be called before the Arrow library's global variables were fully initialized.

…ment variable too late

In some situations (e.g. R bindings), default_memory_pool() may be called before the Arrow library's global variables were fully initialized.
@pitrou
Copy link
Member Author

pitrou commented Apr 7, 2021

@jonkeane

@jonkeane
Copy link
Member

jonkeane commented Apr 7, 2021

This looks good to me, I tested it locally and in at least the situation I was building (static r package build) I can now change allocators. Thanks!

@github-actions
Copy link

github-actions bot commented Apr 7, 2021

@lidavidm lidavidm closed this in a49d6e2 Apr 13, 2021
@pitrou pitrou deleted the ARROW-12248-memory-pool-env-lookup branch April 13, 2021 15:55
Dandandan pushed a commit to Dandandan/arrow that referenced this pull request Apr 14, 2021
…ment variable too late

In some situations (e.g. R bindings), default_memory_pool() may be called before the Arrow library's global variables were fully initialized.

Closes apache#9930 from pitrou/ARROW-12248-memory-pool-env-lookup

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
GeorgeAp pushed a commit to sirensolutions/arrow that referenced this pull request Jun 7, 2021
…ment variable too late

In some situations (e.g. R bindings), default_memory_pool() may be called before the Arrow library's global variables were fully initialized.

Closes apache#9930 from pitrou/ARROW-12248-memory-pool-env-lookup

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
michalursa pushed a commit to michalursa/arrow that referenced this pull request Jun 10, 2021
…ment variable too late

In some situations (e.g. R bindings), default_memory_pool() may be called before the Arrow library's global variables were fully initialized.

Closes apache#9930 from pitrou/ARROW-12248-memory-pool-env-lookup

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
michalursa pushed a commit to michalursa/arrow that referenced this pull request Jun 13, 2021
…ment variable too late

In some situations (e.g. R bindings), default_memory_pool() may be called before the Arrow library's global variables were fully initialized.

Closes apache#9930 from pitrou/ARROW-12248-memory-pool-env-lookup

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants