The Artima Developer Community
Sponsored Link

Java Buzz Forum
Rewritting malloc for that extra bit of performance

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Rewritting malloc for that extra bit of performance Posted: Dec 8, 2006 6:29 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Rewritting malloc for that extra bit of performance
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement

A long time ago, I was leaked the codebase of a popular id software game, both before optimization, and after.

When you ended up seeing was:

  • prototype: mainly C/C++, with some assembler
  • production: assembler all over. all over.
  • They also used a special malloc. I remember at the time thinking: "they freaking rewrote malloc?". In fact the special version came from a Finnish group of uber-hackers, and even that was customized for certain corner cases when it made sense.

    This all came to light when I read tcmalloc success which discusses Domas Mituzas of MySQL using tcmalloc (an open source Google perftool) to debug some nasty memory leaks.

    Nice. I hope I don't never have to use it ;)

Read: Rewritting malloc for that extra bit of performance

Topic: Reducing the memory consumption of your Java application (Part II) Previous Topic   Next Topic Topic: Allatori Obfuscator 1.4

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use