Recent Posts
-
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 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 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…… -
Deep understanding of Java generics
brief introduction Generics is a concept introduced by JDK 5. Generics are mainly introduced to ensure the security of…… -
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…… -
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…… -
Understand the queue family in Java
Introduction to queue family in Java brief introduction Collection collection in Java has three families: list, set an…… -
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, …… -
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…… -
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…… -
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…… -
Troubleshooting: analyze outofmemoryerror exceptions
brief introduction java. Lang. outofmemoryerror should be a very common error in Java applications. So what is the cau…… -
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…… -
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…… -
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…… -
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…… -
Important new features of jdk11
Jdk11 released Oracle no longer provides JRE and server JRE downloads Delete deployment tool JavaFX is no longer inclu…… -
Non blocking synchronization mechanism and CAS
Non blocking synchronization mechanism and CAS We know that before Java 5, synchronization is achieved through the syn…… -
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…… -
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…… -
Introduction and use of ThreadPool in Java
Thread pool introduction Executors, executor and executorservice ThreadPoolExecutor ScheduledThreadPoolExecutor ForkJo…… -
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…… -
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 completionservice in Java
Use of completionservice in Java In the previous article, we talked about executorservice. Through executorservice, we…… -
On the reactive system
Initial knowledge of responsive system The first time I heard the word reactive was a few years ago. I came across the…… -
Synchronousqueue details
Synchronousqueue details brief introduction Synchronous queue is a kind of BlockingQueue, so synchronous queue is thre…… -
Troubleshoot: what exactly is GC tuning
brief introduction We often hear that we even need to do GC tuning ourselves. So what is the purpose of GC tuning? Mak…… -
Java security coding guide: thread API call rules
Thread is indispensable in the development of multithreading in Java. What rules should we pay attention to when using…… -
Deadlock due to improper execution sequence
In order to ensure the safety of threads, we have introduced the locking mechanism, but if we use locking without rest…… -
Understand all the little secrets of string in one article
brief introduction String is a very common object type in Java. It can be said that string is the most used in Java. S…… -
New feature of JDK 14: nullpointerexceptions for easier use
New feature of JDK 14: nullpointerexceptions for easier use The exception that makes 99% of Java programmers headache …… -
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……