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-10 (5.20.xx) milestone Jan 18, 2019
@lewurm lewurm merged commit 1be343e into mono:2018-10 Jan 21, 2019
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.

3 participants