News for hackers. Stuff that matters.
Re:Java is very fast, if you don’t create many objects by kjeetgill on Monday September 12, 2022 @09:23AM (#32809805)
Errr. If you read the article, his testing was on the allocation side. The collection side was explicitly called out as a non-issue.

That said, otherwise you're right that the JVM generally makes use of the generational hypothesis depending on the collector. The Gen 0 is referred to as Eden in Java-land and uses thread-local allocation buffers that just bump pointers to allocate. They're basically just like arena allocation.

There are no comments on this comment yet.