JVM01 - JVM Memory Structure
1.JVM Learning Route
2. Program counters
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
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
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
* age Member annotations cannot have get and ...
Posted by imranlink on Wed, 08 Jul 2020 18:01:49 +0200
All of them have the function of gathering data and pulling data storage. mark their respective roles.
* 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
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
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
Previous Binder mRemote's Past and Present PowerManger.isScreenOnThe calling process for () has already been called BinderProxy.transact();
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
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
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
Role of ServiceAnnotationBe ...
Posted by cyronuts on Fri, 12 Jun 2020 04:06:57 +0200
Let's start with the router actor for akka-typed.route is divided into pool router and group router.Let's first look at a demonstration of using pool-router:
val pool = Routers.pool(poolSize = 4)(
// make sure the workers are restarted if they fail
Posted by scnjl on Thu, 11 Jun 2020 03:02:18 +0200