Thread Local Heaps in Java

Avinash Lakshman <[email protected]> Tue, 15 Jul 2008 13:24:54 -0500
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
Hi All

I was reading this article which talks about object allocation in the IBM J=
ava VM - http://www.ibm.com/developerworks/ibm/library/i-garbage1/. It says=
 and I quote "Heap lock allocation occurs when the allocation request is gr=
eater than
512 bytes=2C or when the allocation will not fit into the existing cache.
As the name implies=2C heap lock allocation requires a lock and should be
avoided=2C if possible=2C by using the cache".

 Would someone be able to tell me if the same behavior is true with SUN Hot=
spot VM?=20

Thanks
A

_________________________________________________________________
It=92s a talkathon =96 but it=92s not just talk.
http://www.imtalkathon.com/?source=3DEML_WLH_Talkathon_JustTalk=

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This list is hosted by DevelopMentor=AE  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com