简体   繁体   中英

what is Thread Leak and Thread Dump in Java

Can you please Explain me what is Thread Leak and Thread Dump in Java? I am just confuse about thread Dump.

Let me know the other way of creating thread except Thread class and runnable interface?

From the docs :

The thread dump is a snapshot of exactly what's executing at a moment in time

And thread leak is when we dont close the thread properly then the number of unused threads grows with time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM