The starting chapter of PackageManagerService principle

PackageManagerService is a very important module in the Android framework. It is related to application installation, uninstallation, Intent matching, package parsing, etc. Next, start PackageManagerService and get PackageManager object in Context to deal with the whole process. โ€ƒ this article is based on Android 10 source code analysis ...

Posted by mdmann on Mon, 28 Feb 2022 15:10:21 +0100

How does spring solve circular dependency

In the previous article Analysis of the whole process of using hystrix from feign In, the workflow of springboot startup is explained in detail through a figure. I haven't enjoyed it yet. Today, I will analyze the instantiation process of beans and how spring solves circular dependency in detail. The following figure related to bean instantiati ...

Posted by shai1 on Sun, 27 Feb 2022 14:20:45 +0100

Analysis of underlying principle of NSObject

NSObject is the root class of most class hierarchies in Objective-C. usually, when using NSObject objects, we will use [[NSObject alloc] init] or [NSObject new] to create object instances. Through this article, we will study the object creation process of NSObject together. initialization Call alloc mode When we call the [NSObject alloc] ...

Posted by dotMoe on Mon, 21 Feb 2022 12:14:35 +0100

Meticulous in-depth explanation of Zookeeper source code - sorting out the core process

I Source code warehouse:zookeeperBased on branch 3.4.14, the startup process of branch in windows system is analyzed.II Process analysis:Source code entryThrough zkserver From the contents of CMD executable file, we can see that the server of zookeeper is through org apache. zookeeper. server. quorum. The main of quorumpeermain class is used as ...

Posted by davemwohio on Sun, 20 Feb 2022 20:12:46 +0100

Kube scheduler source code analysis - initialization and startup analysis

Kube scheduler source code analysis (1) - initialization and startup analysis Introduction to Kube scheduler Kube scheduler component is one of the core components in kubernetes. It is mainly responsible for the scheduling of pod resource objects. Specifically, Kube scheduler component is responsible for scheduling the unscheduled pod to the ...

Posted by newzub on Sun, 20 Feb 2022 07:36:20 +0100

CEPH CSI source code analysis RBD driver nodeserver analysis

Kubernetes CEPH CSI analysis directory navigation CEPH CSI source code analysis (5) - RBD driver nodeserver analysis (Part I) When the driver type specified when the CEPH CSI component is started is rbd, the services related to rbd driver will be started. Then, according to the parameter configuration of controllerserver and nodeserver, decid ...

Posted by bobohob on Thu, 17 Feb 2022 14:23:41 +0100

Gateway processing flow of Zuul source code analysis

Zuul processing flow 1, Spring cloud starter zuul starter Let's first check what's under the spring cloud starter zuul starter package. The focus here is POM XML file, zuuldeprectationwarningautoconfiguration java Open org springframework. cloud/spring-cloud-starter-zuul/pom. XML, you can see that it depends on spring cloud starter Netflix ...

Posted by jeffrydell on Tue, 08 Feb 2022 09:26:56 +0100

Java collection framework hash table HashMap source code analysis

๐Ÿ‘จโ€๐ŸŽ“ Blogger homepage: Java tribute dust collection Miraitow ๐Ÿ“† Creation time: ๐ŸŒด February 7, 2022 20:23-2:03 ๐ŸŒด ๐Ÿ“’ Content introduction: source code analysis of common collections. Later, there may be collections such as ArrayList ๐Ÿ“š Reference: [Xiao Liu speaks source code] โณ In short, I encourage you to watch the officials and try new t ...

Posted by joenjeru on Mon, 07 Feb 2022 19:43:31 +0100

android LifeCycle - simple use and detailed principle analysis

Pay attention to my official account: "an an an Android" "learn more knowledge" What is Lifecycle used for Lifecycle is used to store information about the lifecycle state of a component, such as an Activity or Fragment, and to allow other objects to observe this state. More generally, you can get all the life cycle met ...

Posted by coder_ on Mon, 31 Jan 2022 18:19:12 +0100

Netty learning notes netty source code - start the process

preface The notes are based on black horse's Netty teaching handout and some of my own understanding. I feel that this is a very good video I've seen. There's basically no nonsense. Video address: Black horse Netty . From here on, we try to look at the source code to understand the underlying operating mechanism of Netty. 1. nio star ...

Posted by firemankurt on Fri, 28 Jan 2022 18:52:41 +0100