Diagram Class Loading
Class Loading
Class Loading Phase
Load
Loading the byte code of a class into the method area (metaspace after 1.8, in local memory) describes the java class internally with instanceKlass in C++. Its important fi eld s are: _ java_mirror is a class mirror of java. For String, for example, its mirror class is String.class, the purpose is to e ...
Added by caaronbeasley on Sat, 25 Dec 2021 13:34:09 +0200
JVM tuning practice and constant pool explanation
1, Alibaba Arthas details
Arthas is a Java diagnostic tool open source by Alibaba in September 2018. JDK6 + is supported, and the command line interaction mode is adopted, which can easily locate and diagnose online program operation problems. The official documents of Arthas are very detailed. See: https://alibaba.github.io/arthas
Arth ...
Added by komquat on Sat, 25 Dec 2021 05:34:17 +0200
Summary of 8 cases of memory leakage in java
Summary of 8 cases of memory leakage in java
Since the java JVM introduces the garbage collection mechanism, the garbage collector will automatically collect objects that are no longer used. Those who understand the JVM collection mechanism know that the JVM uses the reference counting method and reachability analysis algorithm to judge whethe ...
Added by Joseph Sliker on Wed, 22 Dec 2021 01:42:10 +0200
Class loader classification
A finishing touch
The JVM supports two types of class loaders: Bootstrap ClassLoader and User-Defined ClassLoader.
Conceptually, a custom class loader generally refers to a class loader defined by developers in a program, but the Java virtual machine specification does not define it. Instead, all class loaders derived from the abstract class ...
Added by kailien on Tue, 21 Dec 2021 12:14:30 +0200
Class Loading process detailed process 1: Loading stage
catalogue
1, Overview
2, Process 1: Loading stage
3, Summary
1, Overview
In Java, data types are divided into basic data types and reference data types. The basic data type is pre-defined by the virtual machine, and the reference data type needs to be loaded.
According to the Java virtual machine specification, from the class file to the ...
Added by pastet89 on Sun, 19 Dec 2021 07:08:04 +0200
2021-08-31 [JVM Series-3] Class File
Preface
Preface To better consolidate and comb JVM knowledge, write this article. Prepare for the fall enrollment. Most of this knowledge comes from Understanding JAVA Virtual Machines. Interested people can read it by themselves~! There is also some content from the B-Station decryption JVM [Produced by the Black Horse Programmer] teac ...
Added by jeff8j on Sat, 18 Dec 2021 22:18:14 +0200
Eclipse MAT of JVM monitoring and diagnostic tool
1. Introduction
MAT (Memory Analyzer Tool) is a powerful Java heap memory analyzer. It can be used to find memory leaks and view memory consumption. MAT is developed based on Eclipse. It can not only be used alone, but also be embedded in Eclipse as a plug-in. It is a free performance analysi ...
Added by The Cat on Thu, 09 Dec 2021 06:31:25 +0200
jvm G1 log parsing
1. Background introduction
1.1 introduction to application background
1) Business features: the traffic peak is concentrated in the daytime, and the traffic is very low in the early morning.
2) Application features:
Many core business interfaces are provided externally. After 6 a.m., the traffic increases gradually.In the early morning, we ...
Added by indigo2k on Wed, 08 Dec 2021 05:39:05 +0200
[JVM source code analysis] the virtual machine interprets and executes Java methods
This article is compiled and published by jiumo (Ma Zhi), chief lecturer of HeapDump performance community
Part 29 - calling the main() method of the Java main class
Many articles have been written to introduce the assembly code execution logic corresponding to bytecode instructions, and some assembly code logic corresponding to bytecode instr ...
Added by Ascendancy on Fri, 03 Dec 2021 19:17:59 +0200
java class loading mechanism
java class loading mechanism
What is class loading?
Class loading refers to reading the binary data in the class's. Class file into memory, placing it in the method area of the runtime data area, and then creating a java.lang.Class object in the heap area [that is, the class object we use in mapping] to encapsulate the data structure of the cla ...
Added by abheesree on Tue, 30 Nov 2021 04:48:08 +0200