Pages

Thursday, May 31, 2012

Java Thread Safety!!

In Java when we say thread safe...what is it? Heap or Stack or both?
You are right...Its about heap because every individual thread maintains its own stack and common heap which can be made safe by applying synchronization

No comments:

Post a Comment