×

Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

How Maintainable Is the Firefox Codebase?

HoserHead Re:LibXUL on Win32 approaching 4GB memory limit (127 comments)

I'm a Firefox developer.

This is slightly inaccurate. We aren't running out of memory to link Firefox, we're running out of memory to run Profile-Guided Optimization (PGO) on Firefox.

PGO looks at what is actually executed during a given workload and optimizes based on that. It can be a pretty big win — 30% in some workloads —so we work pretty hard to keep it going.

Unfortunately, PGO needs to have not only all the code, but all the intermediate representations and other metadata about the code in memory at one time. (That's why we're running out of memory.)

Unfortunately, MSVC doesn't support producing a 32-bit binary using their 64-bit compiler.

(FWIW, Chrome has *always* been too big to use PGO.)

about a year and a half ago

Submissions

HoserHead hasn't submitted any stories.

Journals

HoserHead has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?