What's the use of multithreading?
What is the difference between a thread and a process?
What are the different ways Java implements threads?
Start thread method What is the difference between start () and run ()?
How do I terminate a thread? How gracefully to terminate a thread?
What are the different states of a thread's life cycle? How do they flow between them?
What is the difference between the wait () and sleep () methods in a thread?
What are the various methods of multithreading synchronization?
What is a deadlock? How do I avoid deadlocks?
How to communicate between multiple threads?
How does the thread get the return result?
Violatile the role of the keyword?
New T1, T2, T3 three threads, how do you ensure that they are executed sequentially?
How do I control that only 3 threads run at a time?
Why use a thread pool?
Several commonly used thread pools and talk about how they work.
What is the difference between the thread pool startup threads submit () and the Execute () method?
The difference between Cyclicbarrier and Countdownlatch?
What is a live lock, hunger, lock-free, deadlock?
What is atomicity, visibility, and order?
What is a daemon thread? What's the use?
How do I break a thread? How to ensure the interruption of business is not affected?
What happens when a thread runs with an exception?
What is a re-entry lock?
What kinds of usage do synchronized have?
What does the Fork/join framework do?
What is the exception caused by too many threads?
Talk about thread-safe and unsafe collections.
What is a CAS algorithm? What are the applications in multi-threading.
How do I detect if a thread has a lock?
What are the commands for troubleshooting multithreaded issues in the JDK?
What does thread synchronization need to be aware of?
What are the prerequisites for using the Wait () method for threads?
What is the Fork/join framework used to pay attention to?
How do you pass data between threads?
What are some of the ways to ensure visibility?
Say a few common lock interfaces implement locks.
What is threadlocal? What is the application scenario?
What's the use of Readwritelock?
What is Futuretask?
How to wake up a blocked thread?
How do immutable objects help with multithreading?
What does multi-threaded context switching mean?
What thread scheduling algorithms are used in Java?
What is the role of Thread.Sleep (0)?
What is the Java memory model, which areas are thread-shared, and which are unshared
What are optimistic and pessimistic locks?
Why do I synchronize the size () method of the Hashtable?
Synchronization methods and synchronization blocks, which is better?
What is a spin lock?
Which is good for runnable and thread?
What is the difference between notify and Notifyall in Java?
Why Wait/notify/notifyall These methods are not inside the thread class?
Why are the wait and notify methods called in the synchronization block?
Why should you check the wait conditions in the loop?
What is the difference between heap and stack in Java?
How do you get the thread stack in Java?
How do I create a thread-safe singleton mode?
What is a blocking method?
What happens when the thread pool queue is full when the task is submitted?