- Mastering High Performance with Kotlin
- Igor Kucherenko
- 172字
- 2021-06-25 20:55:21
Garbage collection
Garbage collection is a strategy for automatically detecting memory allocated to objects that are no longer usable in a program and returning that allocated memory to the pool of free memory locations. All memory management techniques, including garbage collection, take a significant proportion of a program's total processing time and, as a result, can greatly influence performance. With modern, optimized garbage collection algorithms, memory can be released faster than with manual memory management. But depending on the application, the opposite can also be true, and many developers prefer to deallocate memory themselves. One of the biggest advantages that manual memory management has is the ability to reclaim resources before an object is destroyed. This process is referred to as finalization, and we'll touch on it further because it can also be a performance issue.
Memory management is an essential process that's applied to the computer memory. Since the JVM uses automatic memory management with the garbage collection strategy we should know what it is and how it works.
- Java語言程序設計
- 數據科學實戰手冊(R+Python)
- Arduino開發實戰指南:LabVIEW卷
- Servlet/JSP深入詳解
- Java Web程序設計
- Full-Stack React Projects
- AutoCAD VBA參數化繪圖程序開發與實戰編碼
- WordPress 4.0 Site Blueprints(Second Edition)
- C語言程序設計
- Python爬蟲、數據分析與可視化:工具詳解與案例實戰
- JavaScript腳本特效編程給力起飛
- Learning Jakarta Struts 1.2: a concise and practical tutorial
- Visual C++程序設計與項目實踐
- Java自然語言處理(原書第2版)
- JavaScript Unit Testing