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

Reduce number of aot_copy_exception inside aot_call_function #4059

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

palchikov
Copy link
Contributor

Remove redundant calls to aot_copy_exception. Exception has checked inside invoke_native_internal and the result has returned back. There is no need to recheck two more times. Each aot_copy_exception locks global _exception_lock, this can be bottleneck and hit performance in concurrent environments.
Relates to #4058

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.

1 participant