directory
Introduction to Java multithreading concurrency
Java multithreaded concurrent address
Runnable Thread Callable < T > Future < String > FutureTask < String > Thread pool
Java thread lock ReentrantLock non-fair lock non-fair lock ReentrantReadWriteLock mutual-exclusive read and share
Java Multithreaded Concurrent Thread pool Execorates
Concurrent parallel
Concurrency is instantiated once, and concurrent calls need to wait for locks
Parallelism is multiple instantiations, all the same, without waiting for a lock
Introduction to Java multithreading concurrency
- I divide concurrency into
- Thread creation and understanding
- Synchronized (jdK1.5) and synchronized (1.5
- Thread pools
Java multithreaded concurrent address
Runnable Thread Callable < T > Future < String > FutureTask < String > Thread pool
Yushen.blog.csdn.net/article/det…
Java thread lock ReentrantLock non-fair lock non-fair lock ReentrantReadWriteLock mutual-exclusive read and share
Yushen.blog.csdn.net/article/det…
Java Multithreaded Concurrent Thread pool Execorates
Yushen.blog.csdn.net/article/det…
Concurrent parallel
Concurrency is instantiated once, and concurrent calls need to wait for locks
- It doesn’t have to worry too much about concurrency and high memory usage
Parallelism is multiple instantiations, all the same, without waiting for a lock
- There’s a lot of memory to worry about, and 100 parallel objects for each new object take up a lot of space
Talk to me if you have anything to say
ok
Continuously updated