Do you really understand the source code of ArrayList

problem I believe many young friends have been asked about the relevant source code in the jdk during the interview. Recently, they have been asked about the source code of ArrayList. They come up to ask whether they have seen the source code of ArrayList and how to remove the elements in ArrayList during traversal, What kind of exception will ...

Posted by CountryGirl on Wed, 24 Nov 2021 09:00:00 +0100

Analysis of Bean life cycle source code in Spring

Bean life cycle Compared with the life cycle of beans created by ourselves, they are instantiated through the new keyword and recycled when they are no longer used. The life cycle of beans in the Spring container is more complex. Let's take a look at the following bean life cycle diagram. As a supplement to the above figure, there should be ...

Posted by AbsolutelyFreeW on Sat, 20 Nov 2021 03:28:35 +0100

Spring source code series -- AOP dynamic proxy source code analysis

The principle of AOP as like as two peas and Mybatis integration into Spring are exactly the same principle. Before reading this article, I suggest reading the last one first. Spring source code series (8) -- how Mybatis is integrated into spring source code analysis https://blog.csdn.net/zxd1435513775/article/details/121180974 1, Spri ...

Posted by mschrank on Sun, 07 Nov 2021 07:17:32 +0100

Spring source code series - how is Mybatis integrated into spring source code analysis

1, Spring startup process reanalysis Configuration class @Configuration @ComponentScan("com.scorpios") @MapperScan("com.scorpios.mapper") public class AppConfig { @Bean public DataSource dataSource() { DruidDataSource dataSource = new DruidDataSource(); dataSource.setUsername("root"); dataSource.setPasswor ...

Posted by xtrafile on Sat, 06 Nov 2021 22:30:16 +0100

Spring source code series - Bean instantiation and initialization process

https://blog.csdn.net/zxd1435513775/article/details/120935494?spm=1001.2014.3001.5501 Spring source code series (IV) -- function analysis of configuration class postprocessor https://blog.csdn.net/zxd1435513775/article/details/121113933?spm=1001.2014.3001.5501 Spring source code series (6) -- container refresh (Part 2) In Articles ...

Posted by jomama on Thu, 04 Nov 2021 23:25:10 +0100

k8s replicaset controller analysis - initialization and startup analysis

replicaset controller analysis Introduction to replicaset controller Replicaset controller is one of many controllers in Kube controller manager component. It is the controller of replicaset resource object. It monitors replicaset and pod resources. When these two resources change, it will trigger the replicaset controller to tune the corresp ...

Posted by Haraldur1234 on Sun, 24 Oct 2021 07:33:50 +0200