Java – keep the dead line alive
•
Java
In an interview with me, I raised the following questions (a few years ago)
I have argued that there is no way But he urged me to think Are there any options available? Or did he just check my confidence in my answer?
Solution
I think he's trying to stimulate your understanding of threadpools As you said, threads cannot be recovered, but using thread pools or updated executor frameworks can reduce object creation overhead
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码