Archive 2022

Java memory model

<h1 id="java-memory-model">java memory model</h1> <p><strong>Java memory model (Java Memory Model (JMM) is a specification that meets the memory model, blocking the differences between the visits of

Java class loading mechanism

<h3 id="java-class-loading-mechanism">java class loading mechanism</h3> <p><strong>Class loading mechanism</strong></p> <p>The so -called class loading mechanism is that the JVM virtual machine loads

Five ways to create objects in Java

<h3 id="five-ways-to-create-objects-in-java">Five ways to create objects in Java</h3> <p>This article will introduce five ways to create a Java object:</p> <ul> <li>use the new keyword</li> <li>use

go language basic value transfer

<h3 id="go-language-basic-value-transfer">go language basic value transfer</h3> <h6 id="there-is-only-value-passing-in-go-language-no-reference-passing">There is only value passing in go language, no

Go language basic type keyword

<h3 id="go-language-basic-type-keyword">go language basic type keyword</h3> <p>The type keyword has the following uses: define structure, define interface, type alias, type definition, type query</p>

Java basic sleep and interrupt

<h3 id="java-basic-sleep-and-interrupt">Java basic sleep and interrupt</h3> <ol> <li> <p>interrupt is used to send a termination notification signal to the thread, which will affect the interrupt flag

Mermaid Getting Started Tutorial

<h3 id="mermaid-getting-started-tutorial">Mermaid Getting Started Tutorial</h3> <p>Mermaid is a Javascript-based drawing tool that uses a Markdown-like syntax, Allows users to create charts through

MySQL execution plan analysis

<h3 id="mysql-execution-plan-analysis">MySQL execution plan analysis</h3> <table> <thead> <tr> <th>column name</th> <th style="text-align:center">meaning</th> </tr> </thead> <tbody> <tr> <td>The

SQL Optimization Tips Summary

<h3 id="sql-optimization-tips-summary">SQL Optimization Tips Summary</h3> <p>The summary is as follows:</p> <p>Decompose SQL</p> <p>The most typical case of query segmentation is paging query</p>