JVM Series (1) - Variables

Preface I have been reading books about JVM for a long time. Although it is a bit difficult, I haven't given up so far. The purpose of this article is to serve as a small review of my study during this period. This chapter mainly analyses the data transfer relationship between local variable table and operand stack through several code fragment ...

Posted by Cypher87 on Thu, 18 Apr 2019 16:06:34 -0700

Java Career - Java Foundation - Other Objects

Lecture 1: System Classes I. overview 1. System is a class describing some information of the system. The attributes and methods in the class are static. Cannot be instantiated, no constructor is provided. 2. Field Summary out: Standard output stream. The default is the console. in: Standard input stream. The default is the key ...

Posted by Mr Camouflage on Thu, 18 Apr 2019 13:36:38 -0700

Prevent JDK8 duplicate class definitions from causing de...

sorry, first buy a pass, haha. Everyone is working hard to upgrade, enjoying all kinds of conveniences brought by JDK8, but sometimes the upgrade is not so smooth? For example, today's question. We all know that the biggest change in JDK8's memory model is to abandon Perm and usher in the era of Metaspace. If you are not familiar with Meta ...

Posted by GaryAC on Sun, 14 Apr 2019 10:48:32 -0700

The Thinking Logic of Computer Programs (71) - Explicit Lock

stay 66 quarter In this section, we discuss explicit locks in Java concurrent packages, which can solve the limitations of synchronized. The explicit lock interfaces and classes in Java concurrent packages are located under the package java.util.concurrent.locks. The main interfaces and classes are: Lock interface, the main implementation clas ...

Posted by m!tCh on Fri, 12 Apr 2019 13:15:31 -0700

Detailed description of Java's dynamic proxy mechanism

In learning Spring, we know that Spring has two main ideas, one is IoC, the other is AOP. For IoC, dependency injection needn't be said much. For Spring's core AOP, we not only need to know how to satisfy our functions through AOP, but also need to learn the underlying principle, and the principle of AOP is the motive of java. The state proxy ...

Posted by Fjerpje on Thu, 11 Apr 2019 14:45:31 -0700

Serialization and Deserialization of Objects in Java Development

Serializable and Deserialize Serialization is the process of converting the state information of an object into a form that can be stored or transmitted. Generally, an object is stored in a storage medium, such as a file or a billionaire buffer. In the process of network transmission, it can be byte or XML format. The byte or XML encoding forma ...

Posted by bigdaddysheikh on Mon, 08 Apr 2019 19:51:31 -0700

Understanding Java Object Serialization

Understanding Java object serialization Links to the original text: http://www.blogjava.net/jiangshachina/archive/2012/02/13/369898.html   There are many articles about Java serialization. This article is a summary of my personal past study, understanding and application of Java serialization. This article covers the basic principles of Java se ...

Posted by NateDawg on Mon, 08 Apr 2019 14:36:32 -0700

Android Game Development Practice (1) NDK and JNI Development 04

Android Game Development Practice (1) NDK and JNI Development 04 With the previous several articles NDK and JNI development-related foundation to pave the way, and then through the code to explain the specific operation of this area and some important details. Then, continue to learn NDK and JNI summary. Author: AlphaGL. Copyright is reserved. ...

Posted by drock on Tue, 02 Apr 2019 23:21:29 -0700

Java Design Patterns from Novice to Master

Study Java Students pay attention!!!   If you encounter any problems or want to acquire learning resources, you are welcome to join us. Java Learning Exchange Group, Group Number: 456544752. Let's learn Java together! Design pattern is a set of repeated use, most people know, classification and cataloguing, code ...

Posted by SkyRanger on Mon, 01 Apr 2019 09:00:31 -0700

New Java 8 feature - streaming data processing

I. Brief Introduction to Flow Processing _When I came into contact with Java 8 streaming data processing, my first feeling was that streaming makes the set operation much simpler. Usually we need multiple lines of code to complete the operation, with the help of streaming processing can be implemented in one line. For example, if we want to fi ...

Posted by anthonyw17 on Wed, 27 Mar 2019 21:57:29 -0700