Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@monojenkins
Copy link
Contributor

On android, the dlopen call will take around 1ms per AOT module we try to load. By not using dlopen with the existence check, we rely on a much slower dlopen check that happens later. I think they support dlopen of non-resolved names.

This might break a few things if we don't use the full path to dlopen. If it does, we should probably add existence checks at the caller, but this will be an optimization that works everywhere.

@jonpryor @grendello

Backport of #12074.

/cc @alexanderkyte

@monojenkins monojenkins requested a review from vargaz as a code owner January 18, 2019 21:50
@monojenkins monojenkins added this to the 2018-08 (5.18.xx) milestone Jan 18, 2019
@alexanderkyte
Copy link
Contributor

As per @luhenry, I'm going to close this backport and limit the backport depth to 2018-10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants