Skip to content

Commit

Permalink
add some note
Browse files Browse the repository at this point in the history
  • Loading branch information
yoa1226 committed Oct 22, 2024
1 parent f680eb2 commit 7c4c5bb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 0 additions & 2 deletions _posts/2024-08-01-region-pinning-for-g1.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,5 +395,3 @@ JEP 423 优化了 G1 的短板,提高了 G1 的可用性。如果你使用的
15 changes: 14 additions & 1 deletion assets/ygc-pre/note.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,17 @@ void G1CollectedHeap::retire_gc_alloc_region(G1HeapRegion* alloc_region, size_t
从日志文件中可以看到报错的调用栈,确实是在 GC 收尾时将 region 加入到 cset 中。
<image src="/assets/ygc-pre/g1-ygc-pre-cset-retire-gc-alloc-region.png" width="80%">
<image src="/assets/ygc-pre/g1-ygc-pre-cset-retire-gc-alloc-region.png" width="80%">
最近在看 G1 垃圾收集器的相关代码,将理解内容整理成文章输出。
最开始在掘金更新,后来发现不好管理、图片有水印、发布需要被审核等原因,逐步迁移到 github。
文章地址为:https://yoa1226.github.io
觉得有用的朋友点个🌟🌟😘
https://github.com/yoa1226/yoa1226.github.io

0 comments on commit 7c4c5bb

Please sign in to comment.