垃圾收集未针对代码缓存内存池运行 [英] Garbage Collection not running for Code Cache Memory Pool
本文介绍了垃圾收集未针对代码缓存内存池运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我使用GarbageCollectorMXBean打印垃圾收集的详细信息时,输出将显示以下信息:-
When I am printing the details of garbage collection using GarbageCollectorMXBean the output shows me the following information:-
Name: PS ScavengeCollection
count: 72
Collection time: 3041
Memory Pools: PS Eden Space PS Survivor Space
Name: PS MarkSweepCollection
count: 5
Collection time: 4922
Memory Pools: PS Eden Space PS Survivor Space PS Old Gen
现在非常正确地,ScavengeCollection和MarkSweep集合涵盖了5个可用内存池中的4个,但不包括
Now quite rightly the ScavengeCollection and MarkSweep collection covers 4 of the 5 available memory pool excluding
代码缓存(非堆内存).
Code Cache (Non Heap Memory).
我想知道为什么垃圾收集从来没有参加过
I want to know why the Garbage Collection never ran for
由CodeCacheManager内存池管理的代码缓存内存池.
Code Cache Memory Pool managed by CodeCacheManager Memory Pool.
是否暗示GC永远不会从CodeCacheManager内存池中垃圾收集对象?
Does it imply that GC never garbage collect objects from CodeCacheManager Memory Pool??
相同的意义吗?
推荐答案
查看全文