Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy to GitHub pages
Browse files Browse the repository at this point in the history
github-actions[bot] authored Nov 9, 2023
0 parents commit 66c787c
Showing 745 changed files with 28,424 additions and 0 deletions.
26 changes: 26 additions & 0 deletions 404.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blog.jsfr.work
39 changes: 39 additions & 0 deletions Git版本管理/Github老仓库将主分支重命名成main.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Git版本管理/Git修改提交时间.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Git版本管理/Git删除误提交的内容.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions Git版本管理/Git合并代码到上游分支.html

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions Git版本管理/Git的gitignore不生效解决.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Git版本管理/Git设置代理.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Git版本管理/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Java语言相关/Idea版本推荐.html

Large diffs are not rendered by default.

763 changes: 763 additions & 0 deletions Java语言相关/Java8-fature.html

Large diffs are not rendered by default.

101 changes: 101 additions & 0 deletions Java语言相关/JavaG1GC例子.html

Large diffs are not rendered by default.

161 changes: 161 additions & 0 deletions Java语言相关/Java流式转换超大文本的字符编码.html

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions Java语言相关/Spring/String-practice-chp1.html

Large diffs are not rendered by default.

89 changes: 89 additions & 0 deletions Java语言相关/Spring/aop.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Java语言相关/Spring/index.html

Large diffs are not rendered by default.

65 changes: 65 additions & 0 deletions Java语言相关/Spring/resove-http-error-code-400-and-415.html

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions Java语言相关/Spring/spring-boot-with-junit-test.html

Large diffs are not rendered by default.

141 changes: 141 additions & 0 deletions Java语言相关/Spring/spring-transaction.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

47 changes: 47 additions & 0 deletions Java语言相关/Spring/use-toml-config-in-spring-boot.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Java语言相关/arthas.html

Large diffs are not rendered by default.

511 changes: 511 additions & 0 deletions Java语言相关/design-model.html

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Java语言相关/gluon.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Java语言相关/index.html

Large diffs are not rendered by default.

1,291 changes: 1,291 additions & 0 deletions Java语言相关/io-stream.html

Large diffs are not rendered by default.

121 changes: 121 additions & 0 deletions Java语言相关/j2ee/cookie.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Java语言相关/j2ee/index.html

Large diffs are not rendered by default.

99 changes: 99 additions & 0 deletions Java语言相关/j2ee/jsp.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Java语言相关/j2ee/mvc-arch.html

Large diffs are not rendered by default.

119 changes: 119 additions & 0 deletions Java语言相关/j2ee/servlet.html

Large diffs are not rendered by default.

301 changes: 301 additions & 0 deletions Java语言相关/j2ee/session.html

Large diffs are not rendered by default.

79 changes: 79 additions & 0 deletions Java语言相关/java-gc.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Java语言相关/maven/index.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Java语言相关/maven/use-maven-dl-src.html

Large diffs are not rendered by default.

1,727 changes: 1,727 additions & 0 deletions Java语言相关/muitl-thread.html

Large diffs are not rendered by default.

59 changes: 59 additions & 0 deletions Java语言相关/mybatis/Mapper文件idea爆红解决.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Java语言相关/mybatis/index.html

Large diffs are not rendered by default.

447 changes: 447 additions & 0 deletions Java语言相关/reflect.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Java语言相关/sso.html

Large diffs are not rendered by default.

131 changes: 131 additions & 0 deletions Java语言相关/swagger-ui/api-doc-produce-practice.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Java语言相关/swagger-ui/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Linux系统/Centos使用.html

Large diffs are not rendered by default.

125 changes: 125 additions & 0 deletions Linux系统/Frp使用心得.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Linux系统/Linux一键换源.html

Large diffs are not rendered by default.

131 changes: 131 additions & 0 deletions Linux系统/Ngrok使用方式.html

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions Linux系统/WSL安装CODE-SERVER.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Linux系统/index.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Linux系统/iptables端口转发.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Linux系统/linux-server-move-place.html

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Linux系统/rustdesk服务端搭建.html

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions Linux系统/为frp配置反向代理.html

Large diffs are not rendered by default.

77 changes: 77 additions & 0 deletions Linux系统/压缩和解压Linux文件.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

453 changes: 453 additions & 0 deletions Linux系统/快速部署frp.html

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions Linux系统/给服务器添加公钥登录.html

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions Linux系统/编译安装openssl-3.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Linux系统/虚拟机安装ubuntu服务器.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Linux系统/解决telegram-bot-api缺少libso.html

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Linux系统/记录服务器升级失败.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

127 changes: 127 additions & 0 deletions Nginx/Nginx做cdn缓存.html

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions Nginx/Nginx开启gzip.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Nginx/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions NodeJS学习/Yarn换源文件可以放到项目目录下.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions NodeJS学习/index.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions NodeJS学习/nodejs介绍.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions NodeJS学习/开源electron模板应用.html

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions NodeJS学习/用nvm管理node版本.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Readme.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Rust语言/index.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Rust语言/rust介绍.html

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions Rust语言/使用Rust编写Hello-World.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Web开发/index.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Web开发/npm、npx、pnmp、cnpm、yarn都是什么.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Web开发/uni-app相关/index.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Web开发/uni-app相关/新闻app/index.html

Large diffs are not rendered by default.

395 changes: 395 additions & 0 deletions Web开发/uni-app相关/新闻app/uni-app-news-app.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Web开发/uni-app相关/股票k线/index.html

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions Web开发/uni-app相关/股票k线/uni-app-show-stock.html

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions Web开发/vue项目加快启动速度.html

Large diffs are not rendered by default.

153 changes: 153 additions & 0 deletions Web开发/哔哩哔哩批量取关脚本.html

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Windows系统/Hyper-V端口占用解决.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Windows系统/Win10关闭更新.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Windows系统/Windows-批量版-激活.html

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions Windows系统/Windows10-IDEA卡顿修复-虚拟内存过大.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Windows系统/Windows常用路径.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Windows系统/index.html

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Windows系统/windows搜索界面出现白屏.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Windows系统/可执行文件安装成windows服务.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Windows系统/实用的bat脚本/index.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Windows系统/实用的bat脚本/vbox虚拟机开机关闭bat.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Windows系统/实用的bat脚本/windows重启关机bat.html

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Windows系统/开启windows的虚拟化功能.html

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Windows系统/快速关闭windows.html

Large diffs are not rendered by default.

Binary file added assets/2020-02-15-00-41-13.83f5d04e.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-42-04.9be85962.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-42-22.ddbde50d.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-43-20.a19d1e78.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-43-48.cbb67fd5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-45-02.f9e49c4a.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-47-24.20f53513.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-48-08.2a955c8d.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-48-40.17fa1cc1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-52-18.ca6b50ca.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-53-52.a3eaf43f.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-54-44.9cb7ab4b.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-15-00-55-41.0af20995.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-19-18-52-19.498bba62.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-19-18-52-57.9888f0a4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-19-18-54-38.48c0ad35.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-20-16-17-53.f659dea5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-20-16-42-01.0162986d.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-24-14-25-41.9ec81468.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-24-14-34-13.c109133f.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-25-01-09-25.e2576947.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-25-01-27-13.c00f09c3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-25-20-30-33.afc52ed1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-26-23-53-54.a192f52b.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-02-26-23-54-08.508d55c6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2020-03-04-22-54-43.cf51ec61.jpg
Binary file added assets/2020-03-04-22-55-34.372f1b6f.jpg
Binary file added assets/2020-03-04-22-55-59.45458569.jpg
Binary file added assets/2020-03-04-22-57-20.0330fa30.jpg
Binary file added assets/2020-03-04-23-50-03.de8a17f1.jpg
Binary file added assets/2020-03-05-23-09-05.150952b5.jpg
Binary file added assets/2020-03-05-23-30-12.305638a5.jpg
Binary file added assets/2020-03-05-23-33-17.cd8346c5.jpg
Binary file added assets/2020-03-06-18-30-38.a73790fd.jpg
Binary file added assets/2020-03-07-19-52-39.2d3ad495.jpg
Binary file added assets/2020-03-07-19-54-03.757d3c5b.jpg
Binary file added assets/2020-03-07-19-56-03.585311a3.jpg
Binary file added assets/2020-03-07-19-58-15.32b6bf12.jpg
Binary file added assets/2020-03-07-20-02-14.52ea379c.jpg
Binary file added assets/2020-03-07-20-03-50.463dea9b.jpg
Binary file added assets/2020-03-07-20-05-59.b12fdc6e.jpg
Binary file added assets/2020-03-07-20-30-50.b45d3e6c.jpg
Binary file added assets/2020-03-07-22-39-02.8840d569.jpg
Binary file added assets/2020-03-07-23-03-54.8edf3699.jpg
Binary file added assets/2020-03-07-23-04-50.8c705823.jpg
Binary file added assets/2020-03-08-23-43-50.5bdc16ef.jpg
Binary file added assets/2020-03-08-23-44-40.1ebb1e91.jpg
Binary file added assets/2020-03-08-23-46-09.a59aedc1.jpg
Binary file added assets/2020-03-08-23-46-53.7c12ac8f.jpg
Binary file added assets/2020-03-08-23-47-38.a6fad118.jpg
Binary file added assets/2020-03-08-23-48-27.4569f21c.jpg
Binary file added assets/2020-03-08-23-49-52.c407341d.jpg
Binary file added assets/2020-03-08-23-50-16.f45038c3.jpg
Binary file added assets/2020-03-11-17-09-35.c5184a29.jpg
Binary file added assets/2020-03-11-22-19-21.e708e5d7.jpg
Binary file added assets/2020-03-12-01-15-53.39959783.jpg
Binary file added assets/2020-03-12-22-16-46.fc94fc80.jpg
Binary file added assets/2020-03-12-22-32-22.e9fb2f32.jpg
Binary file added assets/2020-03-12-23-18-20.56abb505.jpg
Binary file added assets/2020-03-12-23-20-05.503cc916.jpg
Binary file added assets/2020-03-13-00-37-11.807cd1ec.jpg
Binary file added assets/2020-03-13-00-44-08.b042fc7f.jpg
Binary file added assets/2020-05-14-01-00-49.6ecd4a4e.jpg
Binary file added assets/2020-05-14-01-02-03.f76fd60b.jpg
Binary file added assets/2020-06-22-02-23-28.ebe3541b.jpg
Binary file added assets/2020-06-22-03-57-01.c4bb1381.jpg
Binary file added assets/2020-07-04-01-45-42.2184c580.jpg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions assets/Git版本管理_Git设置代理.md.b4cd7246.js
1 change: 1 addition & 0 deletions assets/Git版本管理_Git设置代理.md.b4cd7246.lean.js
1 change: 1 addition & 0 deletions assets/Git版本管理_index.md.e6639139.js
1 change: 1 addition & 0 deletions assets/Git版本管理_index.md.e6639139.lean.js
1 change: 1 addition & 0 deletions assets/Java语言相关_Idea版本推荐.md.983ee167.js
735 changes: 735 additions & 0 deletions assets/Java语言相关_Java8-fature.md.2399d717.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/Java语言相关_Java8-fature.md.2399d717.lean.js
73 changes: 73 additions & 0 deletions assets/Java语言相关_JavaG1GC例子.md.2171705b.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
import{_ as s,o as n,c as a,Q as e}from"./chunks/framework.99077d8f.js";const C=JSON.parse('{"title":"Java G1GC例子带注释","description":"","frontmatter":{},"headers":[],"relativePath":"Java语言相关/JavaG1GC例子.md","filePath":"Java语言相关/JavaG1GC例子.md","lastUpdated":1693236612000}'),p={name:"Java语言相关/JavaG1GC例子.md"},l=e(`<h1 id="java-g1gc例子带注释" tabindex="-1">Java G1GC例子带注释 <a class="header-anchor" href="#java-g1gc例子带注释" aria-label="Permalink to &quot;Java G1GC例子带注释&quot;">​</a></h1><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki github-dark vp-code-dark"><code><span class="line"><span style="color:#e1e4e8;"># gc设置 beg</span></span>
<span class="line"><span style="color:#e1e4e8;"># 初始化堆内存</span></span>
<span class="line"><span style="color:#e1e4e8;">-Xms10G</span></span>
<span class="line"><span style="color:#e1e4e8;"># 最大堆内存</span></span>
<span class="line"><span style="color:#e1e4e8;">-Xmx20G</span></span>
<span class="line"><span style="color:#e1e4e8;"># 设置新生代大小为5GB</span></span>
<span class="line"><span style="color:#e1e4e8;">-Xmn5G</span></span>
<span class="line"><span style="color:#e1e4e8;"># 使用G1垃圾收集器</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:+UseG1GC</span></span>
<span class="line"><span style="color:#e1e4e8;"># 设置GC最大停顿时间为200ms</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:MaxGCPauseMillis=200</span></span>
<span class="line"><span style="color:#e1e4e8;"># 开启字符串去重</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:+UseStringDeduplication</span></span>
<span class="line"><span style="color:#e1e4e8;"># 优化字符串连接</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:+OptimizeStringConcat</span></span>
<span class="line"><span style="color:#e1e4e8;"># 设置垃圾收集线程数为8</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:ParallelGCThreads=8</span></span>
<span class="line"><span style="color:#e1e4e8;"># 设置并发垃圾收集线程数为2</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:ConcGCThreads=2</span></span>
<span class="line"><span style="color:#e1e4e8;"># 使用线程本地分配缓冲区</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:+UseTLAB</span></span>
<span class="line"><span style="color:#e1e4e8;"># 优化NUMA架构的内存分配</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:+UseNUMA</span></span>
<span class="line"><span style="color:#e1e4e8;"># 不自动选择堆区大小</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:-UseAdaptiveSizePolicy</span></span>
<span class="line"><span style="color:#e1e4e8;"># 打印GC详细日志</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:+PrintGCDetails</span></span>
<span class="line"><span style="color:#e1e4e8;"># 打印GC时间戳</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:+PrintGCTimeStamps</span></span>
<span class="line"><span style="color:#e1e4e8;"># 打印GC日期戳</span></span>
<span class="line"><span style="color:#e1e4e8;">-XX:+PrintGCDateStamps</span></span>
<span class="line"><span style="color:#e1e4e8;"># 设置GC日志文件的输出路径</span></span>
<span class="line"><span style="color:#e1e4e8;">-Xloggc:gc.log</span></span>
<span class="line"><span style="color:#e1e4e8;">#设置内存dump文件的输出路径</span></span>
<span class="line"><span style="color:#e1e4e8;"># -XX:HeapDumpPath=heapdump.hprof</span></span>
<span class="line"><span style="color:#e1e4e8;"># -XX:+HeapDumpOnOutOfMemoryError</span></span>
<span class="line"><span style="color:#e1e4e8;"># gc设置 end</span></span></code></pre><pre class="shiki github-light vp-code-light"><code><span class="line"><span style="color:#24292e;"># gc设置 beg</span></span>
<span class="line"><span style="color:#24292e;"># 初始化堆内存</span></span>
<span class="line"><span style="color:#24292e;">-Xms10G</span></span>
<span class="line"><span style="color:#24292e;"># 最大堆内存</span></span>
<span class="line"><span style="color:#24292e;">-Xmx20G</span></span>
<span class="line"><span style="color:#24292e;"># 设置新生代大小为5GB</span></span>
<span class="line"><span style="color:#24292e;">-Xmn5G</span></span>
<span class="line"><span style="color:#24292e;"># 使用G1垃圾收集器</span></span>
<span class="line"><span style="color:#24292e;">-XX:+UseG1GC</span></span>
<span class="line"><span style="color:#24292e;"># 设置GC最大停顿时间为200ms</span></span>
<span class="line"><span style="color:#24292e;">-XX:MaxGCPauseMillis=200</span></span>
<span class="line"><span style="color:#24292e;"># 开启字符串去重</span></span>
<span class="line"><span style="color:#24292e;">-XX:+UseStringDeduplication</span></span>
<span class="line"><span style="color:#24292e;"># 优化字符串连接</span></span>
<span class="line"><span style="color:#24292e;">-XX:+OptimizeStringConcat</span></span>
<span class="line"><span style="color:#24292e;"># 设置垃圾收集线程数为8</span></span>
<span class="line"><span style="color:#24292e;">-XX:ParallelGCThreads=8</span></span>
<span class="line"><span style="color:#24292e;"># 设置并发垃圾收集线程数为2</span></span>
<span class="line"><span style="color:#24292e;">-XX:ConcGCThreads=2</span></span>
<span class="line"><span style="color:#24292e;"># 使用线程本地分配缓冲区</span></span>
<span class="line"><span style="color:#24292e;">-XX:+UseTLAB</span></span>
<span class="line"><span style="color:#24292e;"># 优化NUMA架构的内存分配</span></span>
<span class="line"><span style="color:#24292e;">-XX:+UseNUMA</span></span>
<span class="line"><span style="color:#24292e;"># 不自动选择堆区大小</span></span>
<span class="line"><span style="color:#24292e;">-XX:-UseAdaptiveSizePolicy</span></span>
<span class="line"><span style="color:#24292e;"># 打印GC详细日志</span></span>
<span class="line"><span style="color:#24292e;">-XX:+PrintGCDetails</span></span>
<span class="line"><span style="color:#24292e;"># 打印GC时间戳</span></span>
<span class="line"><span style="color:#24292e;">-XX:+PrintGCTimeStamps</span></span>
<span class="line"><span style="color:#24292e;"># 打印GC日期戳</span></span>
<span class="line"><span style="color:#24292e;">-XX:+PrintGCDateStamps</span></span>
<span class="line"><span style="color:#24292e;"># 设置GC日志文件的输出路径</span></span>
<span class="line"><span style="color:#24292e;">-Xloggc:gc.log</span></span>
<span class="line"><span style="color:#24292e;">#设置内存dump文件的输出路径</span></span>
<span class="line"><span style="color:#24292e;"># -XX:HeapDumpPath=heapdump.hprof</span></span>
<span class="line"><span style="color:#24292e;"># -XX:+HeapDumpOnOutOfMemoryError</span></span>
<span class="line"><span style="color:#24292e;"># gc设置 end</span></span></code></pre></div>`,2),o=[l];function c(t,i,r,y,X,G){return n(),a("div",null,o)}const m=s(p,[["render",c]]);export{C as __pageData,m as default};
1 change: 1 addition & 0 deletions assets/Java语言相关_JavaG1GC例子.md.2171705b.lean.js

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions assets/Java语言相关_Spring_aop.md.99052567.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/Java语言相关_Spring_aop.md.99052567.lean.js
1 change: 1 addition & 0 deletions assets/Java语言相关_Spring_index.md.976a50c4.js
1 change: 1 addition & 0 deletions assets/Java语言相关_Spring_index.md.976a50c4.lean.js
Loading

0 comments on commit 66c787c

Please sign in to comment.