Skip to content

Commit 2c001d5

Browse files
committed
更新
1 parent a1d334f commit 2c001d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MD/newObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
也可以将内存分配安排在每个线程独有的空间进行,每个线程首先在堆内存中分配一小块内存,称为本地分配缓存(`TLAB : Thread Local Allocation Buffer`)。
2424

25-
之后分配内存时,只需要在自己的分配缓存中分配即可,由于这个内存区域是线程私有的,所以不会出现并发问题。
25+
分配内存时,只需要在自己的分配缓存中分配即可,由于这个内存区域是线程私有的,所以不会出现并发问题。
2626

2727
可以使用 `-XX:+/-UseTLAB` 参数来设定 JVM 是否开启 `TLAB`
2828

0 commit comments

Comments
 (0)