Java
-
Learn about jdk12 13 14 GC tuning script – PDF download
brief introduction Want to know the GC tuning secrets in jdk12, 13 and 14? Want to know what new changes have been mad…… -
Use of Java Concurrent exchange
brief introduction Exchange is a concurrent class introduced by Java 5. As its name implies, exchange is used for exch…… -
Introduction and use of ThreadPool in Java
Thread pool introduction Executors, executor and executorservice ThreadPoolExecutor ScheduledThreadPoolExecutor ForkJo…… -
Use jmh (Java microbenchmark harness) in Java for performance test
The full name of jmh is java microbenchmark harness, which is a suite used for performance testing in open JDK. The su…… -
Implementation of non blocking algorithm (lock free)
Implementation of non blocking algorithm (lock free) In the last article, we talked about the disadvantages of using l…… -
Non blocking synchronization mechanism and CAS
Non blocking synchronization mechanism and CAS We know that before Java 5, synchronization is achieved through the syn…… -
Important new features of jdk11
Jdk11 released Oracle no longer provides JRE and server JRE downloads Delete deployment tool JavaFX is no longer inclu…… -
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…… -
Junior sister learning javaio: file encoding and character set Unicode
brief introduction On a whim, the younger martial sister used a new skill that she had never used before, but there wa…… -
The essence and difference between IO and NiO in Java
brief introduction Finally, I'm going to write the most exciting parts of Java, IO and NiO. The full name of IO is inp…… -
Unexpectedly, the thread was starved to death!
When building a thread pool, we can build a thread pool for a single thread and a thread pool for multiple threads. So…… -
Troubleshooting: analyze outofmemoryerror exceptions
brief introduction java. Lang. outofmemoryerror should be a very common error in Java applications. So what is the cau…… -
How to break the foreach of java8 stream
How to break the foreach of java8 stream brief introduction We usually need to traverse and process the data in Java s…… -
New feature of JDK 14: text blocks
In a word, text blocks was introduced in jdk13 as the first preview version. Now in jdk14 is the second preview versio…… -
Thread life cycle in Java
Thread is a topic that cannot be bypassed in Java. Today, this article will explain the life cycle of thread in Java i…… -
A PDF to understand jdk10 GC tuning script – PDF download attached
brief introduction Today, let's talk about JVM GC tuning parameters in jdk10. There are 1957 JVM parameters in jdk10, …… -
Understand the queue family in Java
Introduction to queue family in Java brief introduction Collection collection in Java has three families: list, set an…… -
This paper solves the little secret of string coding in Java
brief introduction In this article, you will learn about the relationship between Unicode and UTF-8, utf-16 and UTF-32…… -
Junior sister learning java IO: what about writing files
brief introduction Younger martial sister has put forward a lot of strange requirements for senior brother F, to forma…… -
Deep understanding of Java generics
brief introduction Generics is a concept introduced by JDK 5. Generics are mainly introduced to ensure the security of…… -
New features of jdk10: VAR generics and multiple interface implementations
brief introduction In the new feature of jdk10: local variable type VaR, we talked about why and how to use var. Today…… -
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 …… -
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…… -
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. …… -
The use of cyclicbarrier in Java
Cyclicbarrier is a thread safe component introduced in Java 5. It has a barrier concept, which is mainly used to wait …… -
Junior sister learning java IO: reading files
brief introduction Younger martial sister is a little confused about the reader and stream in Java io. She doesn't kno…… -
For everything about completable future, it’s enough to read this article
In the previous article, we explained future. In this article, we will continue to explain the usage of completable fu…… -
Java secure coding guide: number operation
brief introduction In Java, there are byte, short, int, long, float, double and char that can be called number. What s…… -
Java secure coding guide: the correct use of lock and synchronization
brief introduction In Java multithreading environment, lock and synchronization are functions that we will use. So wha…… -
On the difference between # and $in mybatis from the distribution of Indian troops
In the process of using mybatis, you may write your own SQL statements, and you need to pass parameters to the SQL sta…… -
How to use stream in Java 8’s map
How to use stream in Java 8's map brief introduction Map is a very common collection type in Java. We usually need to …… -
Using locks in Java
In the previous article, we mentioned that the way to implement synchronization in Java is to use synchronized block. ……
