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

free bjit code after LLVM codegen #1329

Merged
merged 1 commit into from
Aug 17, 2016
Merged

Conversation

undingen
Copy link
Contributor

@undingen undingen commented Aug 16, 2016

we free now the code blocks after a recompile in the LLVM tier (except for OSR frames) because
it is likely that we will not use the code anymore.

  • we have to make sure we are not currently executing any code we will delete that's why I added bjit_num_inside
  • there were some cases where we forgot to deregister stuff
  • when profiling we don't actually unmap the code in order to not brake profiling

@undingen undingen added the wip label Aug 16, 2016
@undingen undingen force-pushed the free_bjit_code branch 4 times, most recently from 37af346 to d60e90c Compare August 17, 2016 12:22
we free now the code blocks after a recompile in the LLVM tier (except for OSR frames) because
it is likely that we will not use the code anymore.
- we have to make sure we are not currently executing any code we will delete that's why I added bjit_num_inside
- there were some cases where we forgot to deregister stuff
- when profiling we don't actually unmap the code in order to not brake profiling
@undingen undingen changed the title [WIP] free bjit code after LLVM codegen free bjit code after LLVM codegen Aug 17, 2016
@undingen undingen merged commit ce0a5dd into pyston:master Aug 17, 2016
@undingen undingen removed the wip label Aug 17, 2016
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