We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
79,796 News Articles

Google boosts garbage collection for Chrome browser

Company says the software will enhance performance of Web apps

Google is offering a new incremental garbage collector for its Chrome browser to "dramatically" improve the interactive performance of Web applications, the company said on Monday.

Garbage collection provides automatic memory management, reclaiming memory occupied by objects no longer being used by a program. Available on the Chrome release channels website, the garbage collector becomes part of Google's open source V8 JavaScript engine.

[ Read InfoWorld's recent interview with Lars Bak, a developer of the Google Dart language, which is intended to improve upon JavaScript. | Subscribe to InfoWorld's Developer World newsletter for more insights on software development. ]

"With the advent of technologies like WebGL [for 3D graphics in JavaScript], we're seeing the emergence of highly interactive and graphically intensive apps, such as the new version of Google Maps, new games, and demos. But with these new uses comes a need for better interactive performance in JavaScript," said Google software engineers Vyacheslav Egorov and Erik Corry in a blog post.

They add, "Avoiding pauses is vital to achieving good interactive performance. Previously, garbage collection pause times depended on the amount of memory used. Therefore, large interactive apps were impacted by pauses that caused hiccuping. V8's new [garbage collection] reduces pause times dramatically while maintaining great peak performance and memory use."

Google's engineers advised developers to try out the garbage collector if they are building highly interactive Web applications or games. The company is seeking feedback on the technology.

This article, "Google boosts garbage collection for Chrome browser," was originally published at InfoWorld.com. Follow the latest developments in business technology news and get a digest of the key stories each day in the InfoWorld Daily newsletter. For the latest developments in business technology news, follow InfoWorld.com on Twitter.

Read more about application development in InfoWorld's Application Development Channel.


IDG UK Sites

Samsung Galaxy Alpha vs iPhone 5S comparison review: Metal smartphones fight

IDG UK Sites

Gateway to your kingdom: why everybody should check and update their broadband router

IDG UK Sites

Fonts review

IDG UK Sites

Best Mac? Complete Apple Mac buyers guide for 2014