创建堆转储的另外一种方式是使用Rubinius的另一个特性:Query Agent,监测工具可以凭借它访问Rubinius信息并触发某些动作。
An alternative way of creating a heap dump is to use another useful Rubinius feature: the Query Agent, which allows monitoring tools to access Rubinius information as well as trigger certain actions.
在不朽内存中创建审计线程对象,在堆中运行。
Create the auditing thread object in immortal, running in the heap.
jvm会运行一个称为垃圾收集的过程,垃圾收集标出所有创建的对象,然后清理堆的其余部分供以后的分配使用。
A process known as garbage collection, run by the JVM, marks all known created objects and then cleans the rest of the heap for further allocations.
应用推荐