Namespace and uninstallation of 18 class and the use of JVM
The details of class namespace and unload and the use of JVM
Namespace:
Each class loader has its own namespace, which consists of the class loader and the classes loaded by all the parent class loaders.
In the same namespace, [two classes with the same full name (including the package name of the ...
Posted by everurssantosh on Tue, 10 Mar 2020 21:12:47 -0700
2020 let's talk about four quotations of "strong weakness and emptiness"
In the past, when learning strong weak virtual reference, I just looked at the blog and didn't write my own code to practice and prove it. As a result, I forgot it after reading it every time. Later, I made up my mind to knock on the code by myself, so that I could be more impressed. The ancients said that I had to feel shallow on the paper ...
Posted by Burns on Mon, 09 Mar 2020 03:22:18 -0700
Strong weak false quotation can only be remembered after experiencing it
In the past, when learning strong weak virtual reference, I just looked at the blog and didn't write my own code to practice and prove it. As a result, I forgot it after reading it every time. Later, I made up my mind to knock on the code by myself, so that I could be more impressed. The ancients said that I had to feel shallow on the paper and ...
Posted by zoobie on Mon, 09 Mar 2020 01:21:38 -0700
Analysis and use of the log related parameters of OpenJDK 11 JVM
OpenJDK 11 is the first long-term support version after OpenJDK 8. This version has changed a lot in JVM log configuration, mainly standardization and unification. In OpenJDK 8, there are many status bits in the log configuration, which is confusing and difficult to maintain and further iterate. In OpenJDK 11, the JVM log related configuration ...
Posted by amyhughes on Sun, 08 Mar 2020 20:56:46 -0700
The JVM custom class loader loads all classes and jar s under the classPath specified
1, Classloader type in JVM
From the perspective of Java virtual machine, there are only two different classloaders: boot classloader and other classloaders.
1. Bootstrap classloader: This is implemented by c + +, which is mainly responsible for the core api under the JAVA_HOME/lib directory or the jar packaging specified by the - Xbootclasspath ...
Posted by andyd34 on Sun, 08 Mar 2020 00:58:32 -0800
Java reflection of Java notes
Java reflection actually means that in the running state, we can know the methods and properties of any class. For any object, we can call its methods and properties. We call this function of dynamically obtaining object information and calling object methods reflection mechanism.
Class Class
① Java i ...
Posted by bastienvans on Thu, 05 Mar 2020 04:20:16 -0800
Understanding Java - AQS
java.util.concurrent provides many synchronizers, such as the commonly used ReentranLock, ReentrantReadWriteLock, Semaphore and CountDownLatch. They all rely on the processing provided by the AbstractQueuedSynchronizer class.
ReentranLock
ReentranLock is a reentrant Lock, similar to synchronized. The b ...
Posted by dcampbell18 on Wed, 04 Mar 2020 23:34:58 -0800
Day08 Java se exception mechanism
Java se exception mechanism
1, What is anomaly?
Exception refers to various unexpected situations in the program
Such as: file not found, network connection failure, illegal parameters, etc.
Simple classification
Checking exception: an exception caused by a user error or problem that cannot be for ...
Posted by integravtec on Tue, 03 Mar 2020 01:32:38 -0800
Kotlin cross platform development
Today, let's briefly introduce the use of kotlin for cross platform development, so that one code, multiple runs.
I. Introduction
First of all, I extracted some basic information from official documents.
At the beginning of design, kotlin language has a clear goal, that is, it can be used on all plat ...
Posted by koencalliauw on Mon, 02 Mar 2020 00:40:13 -0800
What is proxy mode?Summary of proxy mode module
Hello, this is a blog to keep learning for your dreams.This is the first article to share my understanding of Agent Mode.
The style of the article will always be told in a question and answer way, which is one of my personal favorites and is equivalent to a simulated interview.(
What is an agent?
Let's imagine a scenario where a French winer ...
Posted by jasonok6 on Sun, 01 Mar 2020 18:44:42 -0800