Size of Huge Objects directly allocated to Old Generation
The maximum size of an object HotSpot JVM may allocate in young generation is nearly as large as the size of Eden (YoungGen minus two Survivor spaces). That’s how the allocation rougly looks like: Use Thread Local Allocation Buffer (TLAB), if tlab_top + size <= tlab_end This is the fastest path. Allocation is just the … Read more