Skip to content

Commit e1439d8

Browse files
authored
Merge pull request Snailclimb#2422 from gyaatrox/patch-1
Update memory-area.md
2 parents 28bfed8 + c8803d3 commit e1439d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/jvm/memory-area.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Java 堆是垃圾收集器管理的主要区域,因此也被称作 **GC 堆(
131131
MaxTenuringThreshold of 20 is invalid; must be between 0 and 15
132132
```
133133

134-
**为什么年龄只能是 0-15? **
134+
**为什么年龄只能是 0-15?**
135135

136136
因为记录年龄的区域在对象头中,这个区域的大小通常是 4 位。这 4 位可以表示的最大二进制数字是 1111,即十进制的 15。因此,对象的年龄被限制为 0 到 15。
137137

0 commit comments

Comments
 (0)