Skip to content

Commit

Permalink
Merge pull request #144 from crossoverJie/fix
Browse files Browse the repository at this point in the history
🐛 Fixing a bug.#131
  • Loading branch information
crossoverJie authored Mar 4, 2019
2 parents dec4366 + 30d1431 commit 56eda6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MD/GarbageCollection.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
### 标记-清除算法

标记清除算法分为两个步骤,标记和清除。
首先将需要回收的对象标记起来,然后统一清除。但是存在两个主要的问题:
首先将**不需要回收的对象**标记起来,然后再清除其余可回收对象。但是存在两个主要的问题:
- 标记和清除的效率都不高。
- 清除之后容易出现不连续内存,当需要分配一个较大内存时就不得不需要进行一次垃圾回收。

Expand Down
2 changes: 1 addition & 1 deletion docs/jvm/GarbageCollection.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
### 标记-清除算法

标记清除算法分为两个步骤,标记和清除。
首先将需要回收的对象标记起来,然后统一清除。但是存在两个主要的问题:
首先将**不需要回收的对象**标记起来,然后再清除其余可回收对象。但是存在两个主要的问题:
- 标记和清除的效率都不高。
- 清除之后容易出现不连续内存,当需要分配一个较大内存时就不得不需要进行一次垃圾回收。

Expand Down

0 comments on commit 56eda6a

Please sign in to comment.