[multithreading] Java multithreading learning
1, Thinking in Java
In learning Thinking in Java, I first learned about multithreading. During the learning process, I summarized some useful knowledge and made a note here.
Introduction: sequential and parallel tasks
Most of our programming problems can be solved through sequence problems. However, for some problems, if parallel executi ...
Posted by j4IzbInao on Sun, 30 Jan 2022 09:26:34 +0100
JVM Lesson 9: JVM tuning practice - use of arthas
arthas online troubleshooting tool
https://github.com/alibaba/arthas/blob/master/README_CN.md
step
Run our java program Start the jar file of arthas. We can see that the process number of the java program just running is 1, so type in the process number 1 and press enter. It will hang itself to this process Then you can use some command ...
Posted by temujinleal on Sun, 30 Jan 2022 08:41:04 +0100
From zero foundation to complete mastery of C language series Chapter 2 - branch and loop statements
Foreword: in the last article, we have learned statements, branch statements and while loops. Next, let's learn do... While loops, for loops and goto statements. (since this article is consistent with the previous article, the article directory is set according to the content of the previous article)
3.2 for loop
We have learned the while ...
Posted by little_webspinner on Sun, 30 Jan 2022 07:26:29 +0100
This article is enough for the back-end personnel of the front and back-end asynchronous request Library of Axios to master the knowledge from 0-0.5~
๐ Content of this article: This article is enough for the back-end personnel of the front and back-end asynchronous request Library of Axios~ ๐ Article column: Front end knowledge (knowledge points to be mastered at the back end) ๐ฌ Last updated: January 29, 2022 This article is enough for the back-end personnel of the front and back-end asy ...
Posted by bp90210 on Sun, 30 Jan 2022 06:41:02 +0100
golang study notes 015--goroutine and channel
1.goroutine
1.1 process and thread introduction
โ process is an execution process of a program in the operating system and the basic unit for resource allocation and scheduling of the system โ thread is an execution instance of a process and the smallest unit of program execution. It is a smaller basic unit that can run independently than ...
Posted by theda on Sat, 29 Jan 2022 23:59:10 +0100
Day 11 C + + exception handling
1, Basic exception handling
Exception handling mechanism: suspend the problem handling, not in the current function, but in other callers (for example, function 1 calls function 2, and function 2 also calls function 3. If an exception is throw n in function n, we can handle it in any of the previous functions.) What is an exception? Anything ...
Posted by rami103 on Sat, 29 Jan 2022 23:53:26 +0100
Virtual functions in C + +
A virtual function is a member function declared in a base class and redefined (overridden) by a derived class. When you reference a derived class object using a pointer or a reference to a base class, you can call a virtual function for the object and execute the function version of the derived class.
Virtual functions ensure that the correct ...
Posted by seanstuart on Sat, 29 Jan 2022 20:00:34 +0100
C language programming variables and expressions
Reading C language programming Chapter 2 variables and arithmetic expressions Author: Geekwyz This series of articles can help you lay a solid foundation
The following is the main body
In the previous section, I mainly introduced Hello,World! This program, today we look at the chapter of variables and expressions
First, ...
Posted by Redlightpacket on Sat, 29 Jan 2022 16:29:38 +0100
On virtual function inheritance thunk technology of "charm of modern C + + design"
Introduction: when debugging this C + + multi inheritance program with LLDB debugger at work, it is found that the pointer address obtained through LLDB print (alias of expression command) command is different from the address of C + + memory model actually understood. So what is the reason?Author Yang FuSource: Ali technical official accountI. ...
Posted by bPHP on Sat, 29 Jan 2022 14:49:08 +0100
Learning notes 17 (StringBuilder and Tokenizing Strings)
1, StringBuilder class
1. Difference from String
The StringBuilder class is similar to the String class. The main difference between the two is that you can change the contents of the StringBuilder object, but you cannot change the contents of the String object. Recall that String objects are immutable. This means that once the content of the ...
Posted by charmedp3 on Sat, 29 Jan 2022 12:32:19 +0100