|
Local Variables for a static method - thread safe?
Are they?
Is the exact memory location used for a local variable?
The method is indeed static so it's in the same memory location, I assume, but are the local variables as well? If they are placed on the stack then there is a different copy for every calling thread.
Does anybody knows for sure?
Thanks,
-Michael
|