S先生の筆記📒


Book Troubleshooting Java

最近在读一本Larentiu Spilca写的关于Java的调试和性能刨析的书。

第六章:Identifying resource consumption problems using profiling techniques

I consider learning to use a profiler a must for all developers, as it can be a compass to guide you to the cause of a seemingly hopeless problem.

作者推荐VisualVM,一款免费的profiler。此外还可以选:

A memory leak is when an app stores and keeps references to unused objects.

LeakCanary