8000 net_device: Eliminate fast-path table allocations by lukego · Pull Request #1126 · snabbco/snabb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

net_device: Eliminate fast-path table allocations #1126

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

Merged
merged 1 commit into from
Jun 23, 2017

Conversation

lukego
Copy link
Member
@lukego lukego commented Apr 12, 2017

Tables of callback functions are now cached as instance variables rather than being created with {...} on every call. These allocations were not being sunk and so this eliminates heap allocation & GC.

This was found easily with VMProfile #1125.

Tables of callback functions are now cached as instance variables
rather than being created with {...} on every call. These allocations
were not being sunk and so this eliminates heap allocation & GC.

(cherry picked from commit 76782f5)
lukego added a commit that referenced this pull request May 8, 2017
@lukego lukego added the merged label May 22, 2017
@eugeneia eugeneia merged commit f7cb722 into snabbco:master Jun 23, 2017
dpino pushed a commit to dpino/snabb that referenced this pull request Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0