<i id='bSPIf'><tr id='bSPIf'><dt id='bSPIf'><q id='bSPIf'><span id='bSPIf'><b id='bSPIf'><form id='bSPIf'><ins id='bSPIf'></ins><ul id='bSPIf'></ul><sub id='bSPIf'></sub></form><legend id='bSPIf'></legend><bdo id='bSPIf'><pre id='bSPIf'><center id='bSPIf'></center></pre></bdo></b><th id='bSPIf'></th></span></q></dt></tr></i><div id='bSPIf'><tfoot id='bSPIf'></tfoot><dl id='bSPIf'><fieldset id='bSPIf'></fieldset></dl></div>

      <bdo id='bSPIf'></bdo><ul id='bSPIf'></ul>

      <tfoot id='bSPIf'></tfoot>

      <small id='bSPIf'></small><noframes id='bSPIf'>

      <legend id='bSPIf'><style id='bSPIf'><dir id='bSPIf'><q id='bSPIf'></q></dir></style></legend>
    1. 默认线程,如 DestroyJavaVM、Reference Handler、Signal Dispatcher

      Default threads like, DestroyJavaVM, Reference Handler, Signal Dispatcher(默认线程,如 DestroyJavaVM、Reference Handler、Signal Dispatcher)
        <tbody id='OXvOP'></tbody>

        <bdo id='OXvOP'></bdo><ul id='OXvOP'></ul>

            <tfoot id='OXvOP'></tfoot>
          • <legend id='OXvOP'><style id='OXvOP'><dir id='OXvOP'><q id='OXvOP'></q></dir></style></legend>

          • <i id='OXvOP'><tr id='OXvOP'><dt id='OXvOP'><q id='OXvOP'><span id='OXvOP'><b id='OXvOP'><form id='OXvOP'><ins id='OXvOP'></ins><ul id='OXvOP'></ul><sub id='OXvOP'></sub></form><legend id='OXvOP'></legend><bdo id='OXvOP'><pre id='OXvOP'><center id='OXvOP'></center></pre></bdo></b><th id='OXvOP'></th></span></q></dt></tr></i><div id='OXvOP'><tfoot id='OXvOP'></tfoot><dl id='OXvOP'><fieldset id='OXvOP'></fieldset></dl></div>

                <small id='OXvOP'></small><noframes id='OXvOP'>

                本文介绍了默认线程,如 DestroyJavaVM、Reference Handler、Signal Dispatcher的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                在我自己的分析器上工作,我想解释一下我所看到的.即使在最简单的程序中,也会始终出现一些默认线程:

                Working on a profiler of my own, I would like to explain what I see. There are some default threads which always appear, even in the simplest program:

                • 销毁JavaVM
                • 信号调度器
                • 终结器
                • 引用处理程序

                虽然他们的名字很自证,但我想了解更多信息.这些线程似乎没有记录,是否有人知道挖掘这些信息的来源,甚至确切地知道这些线程的作用?

                Although their names are quite self-documenting, I would like to get a little bit more information. It seems these threads are not documented, does someone know a source to dig for these information or even knows exactly what these threads do?

                推荐答案

                1. DestroyJavaVM 是在程序中卸载 Java VM 的线程出口.大多数情况下,它应该等待,直到您的虚拟机出现末日.
                2. Signal Dispatcher 是一个线程,用于处理操作系统发送到 jvm 的本机信号.
                3. 终结器线程从终结队列中拉取对象并调用它的终结方法.
                4. Reference Handler 是一个高优先级线程,用于将待处理的 参考文献.它在 java.lang.ref.References.java 中定义
                1. DestroyJavaVM is a thread that unloads the Java VM on program exit. Most of the time it should be waiting, until apocalypse of your VM.
                2. Signal Dispatcher is a thread that handles the native signals sent by the OS to your jvm.
                3. Finalizer threads pull objects from the finalization queue and calls it finalize method.
                4. Reference Handler is a high-priority thread to enqueue pending References. Its defined in java.lang.ref.References.java

                这篇关于默认线程,如 DestroyJavaVM、Reference Handler、Signal Dispatcher的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Bytecode features not available in the Java language(Java 语言中不可用的字节码功能)
                ClassCastException because of classloaders?(ClassCastException 因为类加载器?)
                How can I add a Javaagent to a JVM without stopping the JVM?(如何在不停止 JVM 的情况下将 Javaagent 添加到 JVM?)
                Cannot load 64-bit SWT libraries on 32-bit JVM ( replacing SWT file )(无法在 32 位 JVM 上加载 64 位 SWT 库(替换 SWT 文件))
                Encourage the JVM to GC rather than grow the heap?(鼓励 JVM 进行 GC 而不是增加堆?)
                Why a sawtooth shaped graph?(为什么是锯齿形图形?)
                    <tbody id='mlGs5'></tbody>
                    <bdo id='mlGs5'></bdo><ul id='mlGs5'></ul>

                    <legend id='mlGs5'><style id='mlGs5'><dir id='mlGs5'><q id='mlGs5'></q></dir></style></legend>
                    <i id='mlGs5'><tr id='mlGs5'><dt id='mlGs5'><q id='mlGs5'><span id='mlGs5'><b id='mlGs5'><form id='mlGs5'><ins id='mlGs5'></ins><ul id='mlGs5'></ul><sub id='mlGs5'></sub></form><legend id='mlGs5'></legend><bdo id='mlGs5'><pre id='mlGs5'><center id='mlGs5'></center></pre></bdo></b><th id='mlGs5'></th></span></q></dt></tr></i><div id='mlGs5'><tfoot id='mlGs5'></tfoot><dl id='mlGs5'><fieldset id='mlGs5'></fieldset></dl></div>
                    <tfoot id='mlGs5'></tfoot>

                    • <small id='mlGs5'></small><noframes id='mlGs5'>