Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
yoa1226 committed Oct 15, 2024
1 parent 6fa79bb commit 4b4470b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _posts/2024-08-05-g1-gc-important-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -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|
// +------+ +---------------+--------------+-----+
Expand Down

0 comments on commit 4b4470b

Please sign in to comment.