Java
-
Troubleshoot: using jfr to analyze performance problems
brief introduction The performance analysis of Java program is a very difficult problem. Especially for a very complex…… -
Non blocking synchronization mechanism and CAS
Non blocking synchronization mechanism and CAS We know that before Java 5, synchronization is achieved through the syn…… -
New features of jdk11: http API and reactive streams
New features of jdk11: http API and reactive streams brief introduction In the new feature of jdk11: new HTTP API, we …… -
Five important new features of jdk12
Five important new features of jdk12 Introduce JVM constant API Extended switch statement Unicode 11.0 support Square …… -
New feature of jdk12: compactnumberformat
New feature of jdk12: compactnumberformat brief introduction Jdk12 introduces a new class for formatting numbers calle…… -
The use of futuretask in Java
Introduction to futuretask Conversion of callable and runnable Run as runnable -
Detailed explanation and misunderstanding of Java 8 stream reduce
Detailed explanation and misunderstanding of Java 8 stream reduce brief introduction The stream API provides some pred…… -
Synchronized keyword in Java concurrency
In a multi-threaded environment, we often encounter resource competition. For example, multiple threads need to modify…… -
Deeply understand the difference between HashMap and treemap
Deeply understand the difference between HashMap and treemap brief introduction HashMap and treemap are two classes co…… -
Daemon thread in Java
Daemon thread in Java There are two types of threads in Java, user threads and daemon threads. User threads is a high …… -
Important new features of jdk11
Jdk11 released Oracle no longer provides JRE and server JRE downloads Delete deployment tool JavaFX is no longer inclu…… -
New features of jdk10: VaR and anonymous classes
brief introduction I believe everyone has used anonymous classes. After learning the lambda expression in jdk8, you ca…… -
The use of future in Java
Future is an interface introduced by Java 1.5, which can be easily used to obtain asynchronous results. This article w…… -
Eight pictures to thoroughly understand jdk8 GC tuning script – PDF download
brief introduction There are many JVM parameters. According to my statistics, there are 1853 JVM parameters in jdk8 an…… -
New features of jdk9: String compression and character encoding
brief introduction What is the underlying storage of string? I believe most people will say it's an array. If you ask …… -
You must know the type of java reference — a detailed explanation of the source code of WeakReference
Define @ h_ 403_ 1 @ WeakReference is a weak reference, which will not affect the collection of objects by the garbage…… -
How to write a singleton pattern for performance optimization
Singleton model is the most common design pattern in interview. It is an object creation pattern used to generate a sp…… -
Java zero foundation entry series – Day7 Java input and output
This article mainly introduces the input and output of Java. Of course, this is about the input and output under the c…… -
[introduction to Java] day16 Java exception handling (Part 1)
Dangdang, Dangdang, ladies and gentlemen, I haven't seen you for a long time. I miss you very much. Today, let's talk …… -
You must know the java reference type — reference source code analysis
definition Reference refers to the reference object itself, and referent refers to the object referenced by reference.…… -
Java zero foundation entry series – the big value in Day9 Java
What is a large value? Think with your toes. Of course, it is a "large" value (233). There are two classes used to rep…… -
[introduction to Java] day28 detailed explanation of Java container class (x) detailed explanation of LinkedHashMap
Today, let's introduce LinkedHashMap, another hash table in the container class. This is the closing disciple of HashM…… -
[introduction to Java] day31 detailed explanation of Java container class (XIII) detailed explanation of TreeSet
After the introduction of treemap in the previous article, let's take a look at the more water TreeSet. This paper wil…… -
Member variables and local variables of Java variables and their operation mechanism
Java language divides variables into member variables and local variables according to the different positions of vari…… -
[introduction to Java] Day11 Java agent – JDK dynamic agent
Today, let's take a look at another proxy method of Java - JDK dynamic proxy The proxy method we introduced earlier is…… -
Traversal operation of ArrayList and LinkedList
summary A well-known little knowledge of a java program is that ArrayList and LinkedList are best deleted by iterator …… -
One of the java reference types you must know – soft reference
definition Soft reference is a reference created by using softreference. Its strength is weaker than that of strong re…… -
[introduction to Java] Day24 Java container class (VII) HashMap source code analysis (II)
KeySet Let's take a look at the keyset first. The member variable keyset in HashMap saves all key sets. In fact, this …… -
[introduction to Java] day18 Java container class (I) collection interface
Today, let's take a look at a big guy in Java, that is, container. The so-called container is specifically used to hol…… -
[introduction to Java] Day1 abstract class
The basic part has almost been explained. Today we begin to enter the Java improvement part. This part will be much mo…… -
[introduction to Java] day22 Java container class (V) HashMap source code analysis (I)
The first part mainly explains the structure, important parameters and methods in HashMap, as well as the places and a…… -
[introduction to Java] day15 revisiting Java generics — Generic wildcards and upper and lower boundaries
The last article introduced what generics are, why generics should be used and how to use generics. I believe you have……
