加载中
Request 在SpringMVC的流转过程

在有道云笔记里这个文字是copy不出来的,放大看文字吧。

2022/10/27 23:28
146
线程池中非核心线程何时创建

线程池中非核心线程何时创建,先说结论:任务队列满了,才会创建非核心线程。 public class ThreadPoolVerify { public static void main(String[] args){ int taskIndex = 0; BlockingQueue...

2022/10/17 23:19
102
HashMap put方法源码解读

JDK1.8 Notice: 1.8之前,没有使用红黑树;链表长度大于8时,就会转化为红黑树 final V putVal(int hash, K key, V value, boolean onlyIfAbsent, boolean evict) { Node<K,V>[] tab; Node<...

2022/07/15 17:19
63
java高并发16——死锁

Thread Deadlock A deadlock is when two or more threads are blocked waiting to obtain locks that some of the other threads in the deadlock are holding. Deadlock can occur when mu...

2022/05/10 22:42
77
java高并发15——线程通信

The purpose of thread signaling is to enable threads to send signals to each other. Additionally, thread signaling enables threads to wait for signals from other threads. For in...

2022/05/01 22:02
98
java高并发14——ThreadLocal

The ThreadLocal class in Java enables you to create variables that can only be read and written by the same thread. Thus, even if two threads are executing the same code, and th...

2022/04/24 22:25
99
java高并发13——volatile关键字

The Java volatile keyword is used to mark a Java variable as "being stored in main memory". More precisely that means, that every read of a volatile variable will be read from t...

2022/04/24 22:24
61
java高并发12——同步块

A Java synchronized block marks a method or a block of code as synchronized. Java synchronized blocks can be used to avoid race conditions. Java同步块让一个方法或者代码块成为同步...

2022/04/24 22:22
102
java高并发10——线程安全与不变性

Race conditions occur only if multiple threads are accessing the same resource, and one or more of the threads write to the resource. If multiple threads read the same resource ...

2022/03/31 22:01
89
java高并发9——线程安全与共享资源

Code that is safe to call by multiple threads simultaneously is called thread safe. If a piece of code is thread safe, then it contains no race conditions. Race condition only o...

2022/03/31 22:00
344
java高并发7——创建开启线程

Java threads are objects like any other Java objects. Threads are instances of class java.lang.Thread, or instances of subclasses of this class. In addition to being objects, ja...

2022/03/29 23:41
80
java高并发5——同线程模型

Same-threading is a concurrency model where a single-threaded systems are scaled out to N single-threaded systems. The result is N single-threaded systems running in parallel. A...

java高并发4——并发模型

Concurrent systems can be implemented using different concurrency models. A concurrency model specifies how threads in the the system collaborate to complete the jobs they are a...

java高并发1——多线程之旅序

原文 Back in the old days a computer had a single CPU, and was only capable of executing a single program at a time. Later came multitasking which meant that computers could exe...

没有更多内容

加载失败,请刷新页面

返回顶部
顶部