摘要:
垃圾回收 引用計數(shù)法和可達性分析 引用計數(shù)法 即記錄對象的 reference count 若≠0則保留 a, b對象相互引用, 不可回收, 造成內(nèi)存泄露 可達性分析(JVM主流使用) 從GC Root出發(fā)的樹狀結(jié)構(gòu) 若對象不可達則回收 💡 GC Roots 包括(但不限于)如下幾種: Java 閱讀全文
posted @ 2025-06-18 23:12
crhl-yy
閱讀(54)
評論(0)
推薦(0)
摘要:
單詞搜索(079) class Solution { int m, n; public boolean exist(char[][] board, String word) { m = board.length; n = board[0].length; char[] words = word.to 閱讀全文
posted @ 2025-06-18 01:10
crhl-yy
閱讀(33)
評論(0)
推薦(0)
浙公網(wǎng)安備 33010602011771號