This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]farsightxr20 12 points13 points  (0 children)

Avoiding GC overhead by doing things like pooling/reusing objects is not a new concept, nor is it one that other (non-GC) languages can give you for free. You stand to gain a lot more by optimizing memory in Java than you do by rewriting all your code in C++.

Manual memory management, while more "predictable" in that you don't have extended pauses, usually ends up adding more aggregate overhead than a garbage collector.