Skip to content

Commit

Permalink
更新 弱引用
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcaffebabe committed Jul 1, 2020
1 parent 3700fab commit b70a190
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file added assets/批注 2020-07-01 142633.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions 编程语言/JAVA/JVM/垃圾回收.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ obj = null;
- 比软引用强度更弱些
- 只能生存到下一次垃圾收集发生之前

作用在于当强引用丢失之后,这个对象就会被回收

![批注 2020-07-01 142633](/assets/批注%202020-07-01%20142633.png)

### 虚引用

```java
Expand Down

0 comments on commit b70a190

Please sign in to comment.