Alex Young
8/25/2006 4:03:00 PM
Pavel Smerk wrote:
> Hello,
>
> assume some multithreaded application, thread1 starts and finishes, then
> thread2 starts --- how is the possibility that these two threads will
> have the same object_id? On what it depends?
If the first thread has stopped and been garbage collected, its
object_id will be available for reuse, and it is perfectly possible for
another thread to get it assigned on creation.
--
Alex