I have a static method
public static void abc(String str) { // some code str = str + "s"; // some code } Lets assume that this method is called by 100 threads at the same time.
I think that CPU schedules all these threads to execute this static method.
Lets scale up execute requests. Now, there are around 100000 threads calling this static method around same time.
If it is so, this will be a performance overhead (compared to the case where this method is a member of a class). Am I correct?