From 4b4470b432a621807291edfb86324583098285cd Mon Sep 17 00:00:00 2001 From: yoa1226 Date: Tue, 15 Oct 2024 16:49:25 +0800 Subject: [PATCH] fix format --- _posts/2024-08-05-g1-gc-important-component.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_posts/2024-08-05-g1-gc-important-component.md b/_posts/2024-08-05-g1-gc-important-component.md index 3e38d6b..3377a52 100644 --- a/_posts/2024-08-05-g1-gc-important-component.md +++ b/_posts/2024-08-05-g1-gc-important-component.md @@ -267,7 +267,8 @@ bool G1CardSet::coarsen_container(ContainerPtr volatile* container_addr, Contain ContainerInlinePtr 使用 64 位(64位机器)指针存储,最低两位 bit 为 00 表示容器类型。剩下最低三位表示存储 card 的数量,余下的高位存储 card。ContainerInlinePtr 只能存储 3 至 5 个 card 信息。 -```cpp// MSB LSB +```cpp +// MSB LSB // +------+ +---------------+--------------+-----+ // |unused| ... | card_index1 | card_index0 |SSS00| // +------+ +---------------+--------------+-----+