Java
-
Several ways to improve string performance by 10 times! (source code + principle analysis)
String type is one of the most frequently used data types. So improving the running efficiency of string is undoubtedl…… -
Rabbitmq series (VI) complete solution of rabbitmq cluster architecture you don’t know
preface This paper will systematically introduce the characteristics, exception handling, construction and use of rabb…… -
Rabbitmq series (IV) rabbitmq transaction and confirm sender message confirmation – in depth interpretation
Rabbitmq transaction and confirm sender message acknowledgement - in depth interpretation Rabbitmq series introduction…… -
MySQL “passive” performance optimization summary!
When you are young, you don't know the pain of optimization. When you meet a pit, you know the difficulty of optimizat…… -
There are 7 ways to create thread pool. It is strongly recommended that you use it
According to Moore's law, the number of transistors that can be accommodated on the integrated circuit doubles every 1…… -
Key value expiration in redis
1. Expiration setting There are four ways to set the expiration time in redis: Let's take a look at the specific imple…… -
Spring Boot 2. X Series tutorial: seven days from scratch to master spring boot – continuous update
brief introduction Since the birth of spring, spring has become the de facto J2EE standard. As a lightweight J2EE appl…… -
Use site Maven plugin to build a public warehouse on GitHub
brief introduction Maven is a building tool we often use in developing Java programs. In the process of team developme…… -
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 -
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 …… -
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…… -
Java secure coding guide: Method writing guide
brief introduction The logic of a java program consists of methods. In the process of writing methods, we also need to…… -
Phaser doesn’t understand. What else do you learn about multithreading
In the previous article, we talked about the use of cyclicbarrier and countdownlatch. Here we review that countdownlat…… -
What do you know about fail safe and fail fast
What do you know about fail safe and fail fast brief introduction When we use collection classes, we usually need to t…… -
How to create a custom collector in Java
How to create a custom collector in Java brief introduction In the previous Java collectors article, we mentioned that…… -
New features and prospects of JDK 15 and Java 15
With the cold winter of 2020 and the rampant COVID-19, JAVA has ushered in the JAVA 14 that has not been long before. …… -
Ten thousand word long article in-depth understanding of collections in Java – PDF download attached
1. Preface Collection is used to store multiple data. In addition to the basic types, collection should be the most co…… -
In depth understanding of loop expansion and coarse locking in compilation optimization
brief introduction When talking about JIT, I mentioned two optimization loop expansion and coarse locking in the compi…… -
Lambda expressions and closures
brief introduction We usually talk about closures, which generally refers to the environment of JavaScript. Closure is…… -
Introduction to java tools in jdk14
The story happened In the era of no IDE, experts still program through Notepad. At that time, people who could write p……