JVM quick start

1. JVM exploration? Several interview questions: 1. Would you please talk about your understanding of jvm? Java 8 virtual machine and previous changes update? 2. What is oom? What is stack overflow? How to analyze? 3. What are the common tuning parameters for the jvm? 4. How to capture memory snapshots and analyze Dump files? 5. What ...

Posted on Mon, 06 Dec 2021 15:16:03 -0500 by Im Jake

makeFile learning diary II (C + +) variables, automatic derivation, style and clearing in makeFile

edit : main.o kbd.o command.o dislplay,o \ insert.o search.o files.o utils.o cc -o edit main.o kbd.o command.o dislplay,o \ insert.o search.o files.o utils.o main.o : main.c defs.h cc -c main.c kbd.o : kbd.c defs.h command.h cc -c kbd.c command.o :command.c defs.h command.h cc -c insert.c display.o :display.c defs.h buffer.h cc -c display ...

Posted on Mon, 06 Dec 2021 15:12:21 -0500 by breath18

N suggestions for improving Java programs

Recommendation 22: handle currency with integer type I thought about this a long time ago. At that time, I saw that the currencies returned by many e-commerce interfaces were in the unit of "points". So I thought that taking "Yuan" as the unit was more reasonable and more in line with people's thinking logic? Let's look at ...

Posted on Mon, 06 Dec 2021 15:11:09 -0500 by killsite

Interview question: how to solve the circular dependency problem of Spring

Circular dependency in Spring What is circular dependency What is circular dependency? It can be divided into two parts: loop and dependency. Loop refers to the loop in the computer field, and the execution process forms a closed loop; Dependency is the prerequisite for completing this action, which is generally consistent with the meaning of d ...

Posted on Mon, 06 Dec 2021 15:06:17 -0500 by teege84

C++STL standard library learning notes sort

preface: Recently, I'm learning STL standard library, making a note and sorting it out, which is convenient for me to sort out my knowledge, find it later, and facilitate others to learn. It's the best of both worlds. It's fast! Here, I will take 12 chapters and 13 chapters of "programming and algorithm (I) C language programming" by ...

Posted on Mon, 06 Dec 2021 14:58:34 -0500 by psunshine

Lambda expressions that have puzzled themselves for a long time

preface   today, let's talk about Lambda, which has puzzled me for a long time. Why do you say that? Because I never took the initiative to learn Lambda before. I didn't think about a lot of code using Lambda expressions. But recently, this Lambda expression appeared a little frequently, which affected my next study, so I went to learn it ...

Posted on Mon, 06 Dec 2021 14:49:41 -0500 by scuzzo84

docker storage volume management

COW mechanism Docker image is composed of multiple read-only layers. When the container is started, docker will load the read-only image layer and add a read-write layer at the top of the image stack. If the running container modifies an existing file, the file will be copied from the read-only layer below the read-write layer to the read ...

Posted on Mon, 06 Dec 2021 14:43:05 -0500 by satal keto

Sequential list chain list stack binary tree data structure

Sequence table Sequence table commonly used are static sequence table and dynamic sequence table   Common dynamic sequence table   The code implements the sequence table, including the pushhead pushback poppead pop back of the sequence table, which can be combined with the previous address book:   Exercise remove the array of dup ...

Posted on Mon, 06 Dec 2021 14:13:16 -0500 by Prodigal Son

[Log] Log framework logback and log4j2 in Java

[Log] Log framework in Java (I) JUL, Log4j [Log] Log framework in Java (middle) JCL and SLF [Log] Log framework in Java (Part 2): logback and log4j2 1. logback learning 1.1 logback introduction logback is another open source log component designed by the founder of log4j, and its performance is better than log4j logback is mainly divided in ...

Posted on Mon, 06 Dec 2021 14:10:51 -0500 by Tsukiyomi

Encapsulation of three object-oriented features of Python

1, Introduce Object oriented programming has three characteristics: encapsulation, inheritance and polymorphism; One of the most important features is encapsulation. Encapsulation refers to the integration of data and functions. Does it sound familiar? Yes, the word "integration" we mentioned earlier is actually a popular term for enc ...

Posted on Mon, 06 Dec 2021 14:00:01 -0500 by KI114