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

Speed up allocateBranchIsland #38

Merged
merged 6 commits into from
Jul 20, 2012
Merged

Speed up allocateBranchIsland #38

merged 6 commits into from
Jul 20, 2012

Conversation

espindola
Copy link

We are using mach_override at mozilla and noticed that allocateBranchIsland was really slow in some cases (https://bugzilla.mozilla.org/show_bug.cgi?id=773903).

In the process of figuring out what was going on I also simplified the code a bit.
P.S.: some of the patches look a lot smaller with diff -b

@rentzsch
Copy link
Owner

I'm not a fan of early returns in the general case, but I'll let this one slide since the rest of this looks so good :)

rentzsch added a commit that referenced this pull request Jul 20, 2012
Speed up allocateBranchIsland
@rentzsch rentzsch merged commit 498e0ba into rentzsch:master Jul 20, 2012
@nico
Copy link

nico commented Aug 9, 2012

When we updated mach_override to HEAD in chromium (to pick up 34048d9), it stopped working for us (http://crbug.com/141707). It's somewhat likely that something in this pull request is to blame.

@rentzsch
Copy link
Owner

Yup, I rebooted mach_override into its own repo and got tests running again, and for whatever reason these changes cause the tests to fail. I've backed out the changes.

@espindola please try to repro the test failures with these changes on your end, make them pass and then resubmit your pull request via the mach_override repo.

mkrautz pushed a commit to mumble-voip/mach_override that referenced this pull request Feb 5, 2015
and rentzsch/mach_star#39.
They were causing basic tests to fail (10.8 x86_64).
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.

4 participants