Spring MVC Source Parsing

Preface At the beginning of the year, I came across an interview question. When I talked about Spring MVC, I mentioned why the developers of Spring MVC should design father-son containers, or what is the more practical function of father-son containers? First, understand that for a web application, when deployed on a web container, the containe ...

Posted by digi24 on Thu, 22 Aug 2019 09:44:53 +0200

[Thread pool of java thread-related knowledge] What is a thread pool?

What is thread pool and how to use it? Thread pool is to put multiple thread objects into a container, when used, it can take threads directly in the pool instead of new threads, which saves the time of opening sub-threads and improves the efficie ...

Posted by gofer on Wed, 14 Aug 2019 08:45:17 +0200

[JVM] LXF Deep Understanding of JVM Theme (1-4)

Links to the original text: https://mp.weixin.qq.com/s?__biz=MzAxOTc0NzExNg==&mid=2665513667&idx=1&sn=26d2585a465a0cce1595b88a0fe959b3&chksm=80d67a80b7a1f39643d16fab2174a6048359a1f161ff882d6172178eabe22c3584c0f6e82579&scene=21#wechat_redirect ...

Posted by BlaineSch on Tue, 13 Aug 2019 12:19:34 +0200

Underlying Implementation of Dead Synchronized--Heavy Lock

This article is the third article on the bottom implementation of dead Synchronized, which is about the implementation of heavy lock. This series of articles will comprehensively analyze the synchronized lock implementation of HotSpot, including bias lock, lightweight lock, heavy lock lock lock lock, unlock, lock upgrade process and source cod ...

Posted by Lassie on Thu, 08 Aug 2019 13:17:02 +0200

The expansion process of synchronized lock (lock upgrade process) in java Concurrent note 4

The expansion process of synchronized lock (lock upgrade process) in java Concurrent note 4In this paper, we discuss the expansion process of bias lock (batch bias, batch revocation), lightweight lock, heavyweight lock and lock (that is, the upgrading process of lock) through a large number of example codes and hotspot source code analysis. Let ...

Posted by forsooth on Mon, 05 Aug 2019 06:10:51 +0200

Output stream of IO Stream in Java | Lebyte

Hello everyone, Lebyte Xiaole is here again. What I brought to you in the last article is: the input stream of IO stream in Java | Lebyte. This article will continue to talk about the output stream of IO stream. I. Output stream 1. Abstract classes: OutputStream and Writer Output Stream and Writer are very similar.The following methods are incl ...

Posted by infyportalgroup on Thu, 01 Aug 2019 10:15:35 +0200

JDK Source Array Blocking Queue

Thread is a very important part of JDK. All application services are inseparable from the relevant operations of threads. Thread pools are recommended for operation and management of a large number of threads. Thread pools provided by JDK itself are often used in services. Executors are often used to create them in the past, but Ali The specifi ...

Posted by djrichwz on Sun, 28 Jul 2019 07:52:30 +0200

Design Patterns | Dynamic and Static Agents

Proxy Pattern, also known as Delegate Pattern, is a structural design pattern and a basic design skill. In daily applications, the use of proxy mode is very high. Many other design modes are essentially targeted optimization of proxy mode in a specific context, which shows the importance of proxy mode. _The first section of this pa ...

Posted by samudasu on Thu, 25 Jul 2019 10:40:50 +0200

Jakartase_Multithread--Thread Synchronization Method--Synchronization Block

Introduction and outline One of the most common situations that occur in concurrent programming is that more than one thread of execution uses shared resources. In concurrency In an application, it is normal for multiple threads to read or write the same data or access the same file or database connection. . These shared resources can ca ...

Posted by emilyfrazier on Wed, 24 Jul 2019 04:22:02 +0200

Usage of notify(), notifyAll(), wait()

Original Link: http://www.cnblogs.com/leekenky/p/3649829.html /** * Please note the author longdick at http://longdick.iteye.com * */   wait(), notify(), and notifyAll() are three methods defined in the Object class that can be used to ...

Posted by lmg on Mon, 22 Jul 2019 22:46:38 +0200