Deep into the JVM's built-in lock synchronized underlying

catalogue Detailed explanation of synchronized principle What is Monitor synchronized underlying principle Upgrade process of synchronized lock The principle of synchronized bias lock is analyzed synchronized undo principle synchronized lightweight lock principle Implementation principle of synUTF-8...

Posted by PHP Newb on Sat, 02 Oct 2021 05:43:26 +0530

JVM: loading process of memory structure and classes

1, Memory structure overview Class loader subsystem After the class file enters the virtual machine, first load, then link, and finally initialize.Loaders used for loading are: Bootstrap ClassLoader, Extension ClassLoader and Application ClassLoader . Connections are divided into Verify, PreparUTF-8...

Posted by kingleo on Fri, 08 Oct 2021 08:26:34 +0530

Introduction to JVM tuning tool and detailed explanation of constant pool

From Turing college, if you mind, please contact to delete. Introduction to JVM tuning tool 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 diagnUTF-8...

Posted by shoebappa on Mon, 11 Oct 2021 23:36:21 +0530

Deep understanding of string constant pool (StringTable)

What is a string constant pool String allocation, like other object allocation, consumes a high cost of time and space. In order to improve performance and reduce memory overhead, the JVM makes some optimizations when instantiating string constants. In order to reduce the number of strings creaUTF-8...

Posted by chingwaah on Tue, 12 Oct 2021 02:32:24 +0530

JVM-Memory Structure

JVM-Memory Structure JVM Definition Java Virtual Machine, runtime environment for JAVA programs (runtime environment for JAVA binary byte codes) benefit Write once, run everywhere Automatic memory management, garbage collection mechanism Array subscript crossover check compare Differences betweUTF-8...

Posted by tgavin on Sat, 16 Oct 2021 22:16:48 +0530

How to make rational use of container memory resources in Openjdk 8

preface Although Java application containerization can better solve the portability problem, there are also some unfriendly situations. For example, the lower version of JDK (lower than Java 8u131) does not recognize the cggroup resource limit. This will cause the JVM to read all the CPU and mUTF-8...

Posted by snidog on Mon, 18 Oct 2021 11:06:45 +0530

jvm class loading process, class loader and parental delegation model

1, JVM structure jvm is mainly composed of class loader, runtime data area and execution engine A java file is compiled and loaded by the jvm into the execution process: 2, Class loading process Load - > connect (verify - > prepare - > resolve) - > initialize - > use - > uninstall 1. Loading 1.UTF-8...

Posted by Locust on Thu, 21 Oct 2021 04:22:19 +0530

Spring's post processor is so powerful? Let the flowchart tell you the workflow of the post processor when spring starts

Explore Spring's post processor This time we mainly explore invokeBeanFactoryPostProcessors(); The following code will be parsed next time; Entry code refresh() AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(); // ...... applicationContext.refresUTF-8...

Posted by halex on Thu, 21 Oct 2021 06:12:42 +0530

Several situations in java where classes will not be initialized

As we all know, class initialization is performed after the class is connected. The life cycle of the class is shown in the following figure: Initialization is the process of executing the clinit() method of the class constructor. clinit() method is generated by the compiler automatically colleUTF-8...

Posted by cloudzilla on Sat, 23 Oct 2021 17:53:27 +0530

How to thoroughly understand how large manufacturers achieve high availability of Redis? Just read this article! (1.2W, recommended Collection)

High Availability HA (High Availability) is one of the factors that must be considered in the architecture design of distributed systems. It usually refers to reducing the time when the system cannot provide services through design. Assuming that the system can always provide services, we say tUTF-8...

Posted by devarishi on Wed, 27 Oct 2021 18:52:31 +0530