Summary of basic process of production service GC tuning practice
preface
Performance tuning of Java virtual machine is a very broad topic and a very difficult process in practice. Because it needs a systematic optimization method and clear optimization expectations. The default JVM parameters attempt to provide acceptable performance in most cases; However, depending on the behavior of the application and t ...
Added by quadlo on Sun, 02 Jan 2022 14:51:51 +0200
This is the complete collection of Java zero basics and java reflection mechanism recommended by architects in front-line factories. You only need to read this article
Use of reflection 1: reflection of Constructor
Again, we can construct a new Student through a public null parameter, but we cannot construct a new private full parameter.
Student student = new Student();
Now let's construct the reflection constructor (create an instance in the form of reflection)
public static void main(String[] args ...
Added by barrow on Sat, 01 Jan 2022 23:42:43 +0200
Recommend learning! In depth explanation of Java multithreading development - Implementation of spreadsheet project
4. Enable threads to modify time
5. Thread synchronization to achieve stopwatch function
6. Run and debug
Hello, everyone, I'm the grey ape!
Today I share with you an electronic watch project developed using Java multithreading, which can realize the real-time display and modification of time in the electronic watch and the function of st ...
Added by SsirhC on Sat, 01 Jan 2022 10:28:46 +0200
Master the simplest ui automation testing framework!!!
Build the test framework and analyze the framework directory
config: configuration file. Put all project related configurations in this folder. python supports yaml and ini
ini file introduction
Start with [section]
End with [option=value]
Remarks in; start
The section name cannot be duplicated
Introduction to yaml file
Starting with ...
Added by mikeeeeeeey on Sat, 01 Jan 2022 01:08:20 +0200
Eight classic projects suitable for Python practice are interesting and practical. It is necessary to improve python programming ability!
preface
Hello, CSDN friends! I'm Marmon!
Several articles have been posted before, although they have brought me a lot of fans, But it also brought some disputes (people with low self-esteem dare not reply...)! The big man in the screenshot below probably hasn't read my previous articles. I just have a new man who has just changed his career ...
Added by Liam-PHP on Fri, 31 Dec 2021 21:49:18 +0200
Interview frequency: what is the relationship between hashCode() and equals()?
First offer a picture, you can think about why?
introduce
equals() is used to determine whether two objects are equal.
hashCode() is used to obtain hash code, also known as hash code; It actually returns an int integer. This hash code is used to determine the index position of the object in the hash table.
relationship
We use "class ...
Added by vronsky on Fri, 31 Dec 2021 21:30:51 +0200
Is it still necessary to learn JSP in 2020?, Necessary magic weapon to BAT
Now the question comes. Is JSP really old in 2020? Yes, it's really old
Now the question comes again. Why is the technology that has been defined as "old" a few years ago still hot by 2020? Every year, someone still asks, "do you still need to learn jsp?". I think the reason is also very simple: JSP was really used before! ...
Added by greepit on Fri, 31 Dec 2021 06:51:29 +0200
Is there one of the most complete Java 8 explanations that you can read first and then say
1, Basic knowledge
1) Why learn java 8
The changes made by Java 8 are more far-reaching in many ways than any change in Java history. These changes will make your programming easier
example:
Traditional writing:
List<Person> personList = Arrays.asList(new Person(21,50),new Person(22,55),new Person(23,60));
Collections.sort(personLi ...
Added by Twysted on Fri, 31 Dec 2021 04:32:52 +0200
Tencent background development Java post: comprehensive analysis of Java intermediate and advanced core knowledge
It's very simple here. Only one is maintained internally `byte` Type `data` Array, actually `byte` It still occupies as much as one byte and can be optimized into `bit`Instead, it is only used to facilitate simulation. In addition, I created three different`hash`Function is actually a reference`HashMap`Hash jitter method, respectively, using it ...
Added by lupld on Thu, 30 Dec 2021 06:13:50 +0200
Redis cache: ten thousand words long! Starting from the bottom, it will take you to understand concurrent programming
![](https://upload-images.jianshu.io/upload_images/24195226-95f672f1095c9a4c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
We all know`StringBuffer`It is thread safe because its key methods are added`synchronized`,However, it can be seen from the print result that the lock is eliminated. because`buffer`This reference will only be ...
Added by hollyspringer on Thu, 30 Dec 2021 04:48:40 +0200