News for hackers. Stuff that matters.
Re:Java is very fast, if you don’t create many objects by peter_lawrey on Wednesday September 14, 2022 @11:54PM (#32846785)
The GC isn't involved with allocation, the expensive bit here. The GC handles the clean up. The allocations create memory pressure that can easily saturate the bus to DDR if you are not careful.
Re:Java is very fast, if you don’t create many objects by pveentjer on Friday September 23, 2022 @03:37AM (#32949039)
The GC can pace the allocation when it can't keep up.