Spring source code learning Chapter 1 - loading configuration files

preface IoC Container is the foundation of Spring. Beans we use everyday are created and maintained by containers. Package org springframework. Beans and org springframework. Context is the fundamental implementation of the container. BeanFactory is the foundation of the container. It provides the functions of configuration framework and foun ...

Posted by angelena on Sat, 22 Jan 2022 23:00:27 +0100

FreeRTOS learning message queue

Message queue FreeRTOS learning warehouse address: https://gitee.com/killerp/free-rtos_-study Message queue is the basic data structure of RTOS, which is used for data transmission between tasks and between tasks and interrupts. When message queuing is not used, if you want to transfer data between two tasks, you must transfer it throug ...

Posted by liamjw on Sat, 22 Jan 2022 20:49:29 +0100

The hardest core of the station, one million words strong liver, RocketMq source code is hot and updated~

@Override public void updateBrokerConfig(String brokerAddr, Properties properties) throws RemotingConnectException, RemotingSendRequestException, RemotingTimeoutException, UnsupportedEncodingException, InterruptedException, MQBrokerException { defaultMQAdminExtImpl.updateBrokerConfig(brokerAddr, properties); } @Override public ...

Posted by jtown on Fri, 21 Jan 2022 12:18:30 +0100

Analysis and implementation principle of HashMap source code of JDK8

Analysis of HashMap source code Implementation of Map interface based on hash table. This article refers to the connection Official website explanation Analysis Key one Empty HashMap with default initial capacity (16) and default load factor (0.75), maximum capacity, used when either of the two parameterized constructors implici ...

Posted by randomfool on Thu, 20 Jan 2022 20:03:01 +0100

Based on hongsoft face recognition, vip welcome system is developed and implemented

Application scenario: The marked face information is recognized through hongruan sdk, and the recognized results are sent to android client to notify business personnel, so as to obtain customer information at the first time. Welcome system, Shangchao special personnel notification system, etc. can be used The effects are as follows: F ...

Posted by Zhadus on Mon, 17 Jan 2022 04:53:14 +0100

[JUC] source code analysis of CyclicBarrier

CyclicBarrier 1. Introduction Loop fence is used for thread cooperation and waiting for threads to meet a certain count. When constructing, set the count number. When each thread executes to a time when synchronization is required, call the await() method to wait. When the number of waiting threads meets the count number, continue to exec ...

Posted by pete07920 on Fri, 14 Jan 2022 15:59:18 +0100

[fundamentals of java high performance programming] - thread closure and ThreadLocal source code analysis

Thread closure concept When multiple threads access shared variable data, it will involve the problem of data synchronization between threads. If the data is enclosed in their own threads, there is no need to synchronize, and there will be no thread safety problem. This technique of avoiding synchronization by enclosing data in threads is ...

Posted by tylerdurden on Wed, 12 Jan 2022 19:59:27 +0100

Spring source code analysis the fifth bullet - what other effects does God level spring have?

From the initial simple handwritten article to the current source code analysis article, the whole spring MVC has been completed. We can see that various callbacks, such as AOP and MVC, are processed through callbacks. This article will take a look at what other practical uses spring has besides being used as a framework. First, let's take a l ...

Posted by heltr on Tue, 11 Jan 2022 03:50:03 +0100

Combined source code understanding set of java Foundation (non concurrent)

Collection common interfaces and classes Collection in java is very important. It is both a container and a reference data type. There are many interfaces and classes related to collection. Regardless of concurrent, the most common are as follows: As can be seen from the above figure, it is mainly divided into two camps, one is Collection, t ...

Posted by akphidelt on Fri, 07 Jan 2022 17:14:37 +0100

A little curiosity about linux: linux startup process

Always curious, how does the operating system work? We know how normal programming makes the code run, but those are high-level things. Later on, you will feel like a castle in the air, or someone has paved a lot of truth for you, but you know nothing about it.   1. Confusion of operating system Of course, I don't really know anything. Because ...

Posted by teddirez on Tue, 04 Jan 2022 10:42:47 +0100