Loading order of Java classes and JVM parental delegation model
reference resources In depth understanding of the creation process of Java objects: class initialization and instantiation Deep JVM parental delegation model [jvm] take JDBC as an example to talk about the destruction of parental delegation model Why should the loading mechanism of two parent delegation be adopted for JVM class loading?
Java ...
Posted by bobdabuilder on Wed, 13 Oct 2021 04:31:46 +0200
JVM01 - JVM Memory Structure
JVM01 - JVM Memory Structure
1.JVM Learning Route
2. Program counters
Effect:
The process from the java code in the computer to the execution is: source code to byte code, binary byte code to jvm instruction, handed to the interpreter, the interpreter to machine code, executed by the CPU. Just like this, the jvm instruction is execute ...
Posted by cody7 on Wed, 22 Sep 2021 23:40:12 +0200
Take you to tomcat!Everything is here
1. Introduction to Tomcat
Tomcat is a core project of the Apache Software Foundation project, developed by Apache, Sun, and a number of other companies and individuals.
Tomcat server is a free, open source Web application server. It is a lightweight application server. It is widely used in small and medium-sized systems and in situations ...
Posted by niekos on Wed, 01 Sep 2021 20:00:54 +0200
Coexistence of Kotlin and Java, calling kotlin code in -Java
Call of kotlin data class
Call of object simple profit mode class in Kotlin
Calling file class in Kotlin
Flexible transfer of parameters by calling jvm annotation
String string null call
Call of kotlin data class
kotlin Code:
package com.tianfu.kotlin
/**
* age Member annotations cannot have get and ...
Posted by imranlink on Wed, 08 Jul 2020 18:01:49 +0200
Collect Cache Persist of Spark cache
All of them have the function of gathering data and pulling data storage. mark their respective roles.
Collect:
/**
* Return an array that contains all of the elements in this RDD.
*
* @note This method should only be used if the resulting array is expected to be small, as
* all the data is loaded into the driver's memory.
...
Posted by Brian W on Tue, 30 Jun 2020 05:44:38 +0200
Chapter 13: concurrent deadlock and enterprise solutions (deadlock, livelock, starvation)
1. What is a deadlock? What's the harm?
1.1 what is deadlock?
Occurs in concurrency
[mutually exclusive]: when two (or more) threads (or processes) hold each other's resources required by each other, but do not actively release them, all of them can't move forward, resulting in endless blocking o ...
Posted by ollmorris on Mon, 29 Jun 2020 08:23:19 +0200
27 - how many ways to implement a single example? What are their advantages and disadvantages?
Singleton pattern is one of the simplest design patterns in Java. It means that a class always has only one instance during its running. We call it singleton pattern. It is not only used in practical work, but also one of the most frequently tested questions in interview. Through the singleton mode, we ...
Posted by vbracknell on Tue, 23 Jun 2020 10:58:01 +0200
Android Binder-framework->native(transact->onTransact)
Previous Binder mRemote's Past and Present PowerManger.isScreenOnThe calling process for () has already been called BinderProxy.transact();
/frameworks/base/core/java/android/os/Binder.java
------> Binder.java->BinderProxy
public boolean transact(int code, Parcel data, Parcel reply, int flags) throws Remote ...
Posted by Ajita on Thu, 18 Jun 2020 03:26:45 +0200
Java records of strong reference, soft reference, weak reference and virtual reference (Practical)
First of all, don't be afraid of some nouns. In fact, they are all reasonable things.
The reference itself is well understood. The reference type data stores the memory address of the actual object. When garbage collection, it depends on whether the object has a reference. Java does not need developers to allocate memory and free memory, but it ...
Posted by rdawson on Sun, 14 Jun 2020 09:58:30 +0200
A Probe into Davids'Principles: Dubbo Service Exposure, Consumption and Elegant Downtime Principles
Article Directory
Dubbo Service Exposure and Service Consumption Principles (Based on Dubbo 2.6.5)
Configuration parsing principles
Based on XML Configuration Parsing Principle
schema module description
Configuration parsing principles based on annotations
@EnableDubbo
Role of ServiceAnnotationBe ...
Posted by cyronuts on Fri, 12 Jun 2020 04:06:57 +0200