Moment For Technology


What is a Java Virtual Machine? A Java Virtual Machine is a Virtual computer implemented by software emulation on a real computer. Java virtual machines have their own imaginary hardware, such as processors, stacks, and mail

Java VIRTUAL machine class loading mechanism

As we know, file is compiled to form one or more Class files (or multiple Class files if a Class contains inner classes) that describe the various information about the Class and ultimately need to be loaded into the virtual machine to be run and used. In fact, the virtual machine loads the data describing the Class from the Class file...

JVM GC time increases frequently, I will teach you to check

1. Background LongGC alarms are generated in applications of multiple service lines. In the recent period, LongGC alarms are frequently received from CAT (LongGC alarms are generated if the configuration is longer than 3 seconds). 2. Knowledge Review 2.1JVM heap memory partitioning new Generation (YoungGenerati)

Guava source code analysis (Cache principle)

Guava is a core enhanced Java library that is widely used. I usually use quite frequently, this time with the help of daily use of the Cache component to see how Google big bulls are designed. Caching is an important part of everyday development. If your application has a high read frequency for certain types of data and changes are small, caching is a great use.

Learning from the ground up ->JVM (6) : Threads and JVM relationships

In front of the Class loader articles, we can see that the Class loader by Java Class bytecode file, create a Class object, and through the load - validation - to - resolution - initialization and a series of process, the Java classes loaded into the JVM, until this time, the JVM will transfer the ownership to the Java application. At this point, our Java program can run...

Garbage collector ParNew and CMS

Garbage collector is inseparable from garbage collection algorithm. The garbage collection algorithm is based on generational collection theory. That is, our heap area is usually divided into young generation and old age, the purpose of which is mainly to distinguish objects with different life cycles, such as dynasty

My first book, Understanding JVM Bytecode in Depth, was published

After nearly a year, my first book, Understanding JVM Bytecode In Depth, is finally published. The idea for this book came from the gold-digger booklet JVM Bytecode from Beginner to Master, which was my first technical column, and it was also in the spirit of summing up my knowledge of JVM bytecode. After the nuggets went live, although the sales are not good, BUT I got a lot of comments, look...

About (Moment For Technology) is a global community with thousands techies from across the global hang out!Passionate technologists, be it gadget freaks, tech enthusiasts, coders, technopreneurs, or CIOs, you would find them all here.