在需要输出一个类型的多个实例的情况下 —— 在这个示例中,有两只猫和一只狗 —— 需要以匿名散列的匿名数组的形式收集散列。
Where there is more than one instance of the type to output -- in this case, where you have two cats but one dog -- you need to collect the hashes as an anonymous array of anonymous hashes.
在另一种形式的跟踪收集器——复制收集器中,堆被分成两个大小相等的半空间,其中一个包含活跃的数据,另一个未使用。
In a copying collector, another form of tracing collector, the heap is divided into two equally sized semi-spaces, one of which contains active data and the other is unused.
图1中以图表形式说明了存在内存泄漏的应用程序在垃圾收集周期之后的可用内存(该图表使用内部IBM工具)。
The chart in Figure 1 is an example of the charted free memory after a GC cycle in an application with a memory leak (the chart was using an internal IBM tool).
应用推荐