The throughput collector will throw an out-of-memory exception if too much time is being spent doing garbage collection. For example, if the JVM is spending more than 98% of the total time doing garbage collection and is recovering less than 2% of the heap, it will throw an out-of-memory expection. The implementation of this feature has changed in 1.5. The policy is the same but there may be slight differences in behavior due to the new implementation.
使用有些麻烦,不好掌控,需要继续研究
Java垃圾回收——throughput collector
最新推荐文章于 2020-08-14 22:38:42 发布