The JVM, short for Java Virtual Machine, is implemented by emulating various computer functions on an actual computer. It consists of a set of bytecode...
Java Virtual Machine (JVM), a Virtual Machine capable of running bytecodes, interpreting bytecodes as Machine instructions in different OS, with the JVM, the Java language...
Java features automatic garbage collection, but sometimes garbage collection is not ideal and our own services are not supporting it. In this case, we need...
An interesting problem investigation, step by step to approach the truth, about the pit King Fastjson MongoTemplate improper use of class uninstall faults.
In multithreaded applications, most of us are from the application level of focus on Shared resources synchronization problems, little attention for the underlying resources sharing...
This article will continue to cover various garbage collectors throughout the history of the JVM. Most of this is from the article "Understanding the Java...
Marking phase: The reference counting algorithm holds almost all of the Java object instances in the heap and needs to distinguish between live and dead...
The automatic memory management of the Java virtual machine gives the garbage collector the memory that would otherwise be collected manually by the developer. Since...
Since dispatch_next requires the interpreter's DispatchTable, what does it contain? This article is the template interpreter's dispatch table initialization procedure, \ TemplateInterpr
There are four types of lock states: unlocked, biased, lightweight, and heavyweight. As locks compete, locks can be upgraded from biased locks to lightweight locks...
Before we get to the Java garbage collection mechanism, it's worth taking a look at the memory allocation and creation process for Java objects. JDK8...
JVM tuning practices in high concurrency scenarios. Through monitoring, it is found that the slow interface response is mainly caused by the high elapsed time...
Java Virtual Machine stack The Java Virtual Machine assigns a virtual machine stack to each thread, and the Java virtual machine stack is thread private....
What is the JVM runtime memory structure? Runtime memory is divided into: heap, Java virtual machine stack, local method stack, program counter, and method area....
In the Description of the Java Virtual Machine specification, OutOfMemoryError(OOM) exceptions are possible in several run-time areas of the virtual machine memory in addition to...
This article, the third in a series, focuses on JVM bytecode, so the tools and governance are equally applicable to Kotlin. In addition, Java resources...
I learned about the JVM because I didn't understand the volatile keyword very well when I learned about multithreading. Therefore, through searching various materials on...
Introduction There are five types of call-related instructions in Java bytecode. Invokestatic: used to invokestatic methods. Invokespecial: Used to call private instance methods, constructors, and...