<legend id='w7uQa'><style id='w7uQa'><dir id='w7uQa'><q id='w7uQa'></q></dir></style></legend>

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

      <tfoot id='w7uQa'></tfoot>

        为什么在 -server 模式下运行的 Java 说版本是“混合模式"?

        Why does Java , running in -server mode, say that the version is quot;mixed-modequot;?(为什么在 -server 模式下运行的 Java 说版本是“混合模式?)

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

        <legend id='MXpY7'><style id='MXpY7'><dir id='MXpY7'><q id='MXpY7'></q></dir></style></legend>

        <tfoot id='MXpY7'></tfoot>

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

              <tbody id='MXpY7'></tbody>

            • <i id='MXpY7'><tr id='MXpY7'><dt id='MXpY7'><q id='MXpY7'><span id='MXpY7'><b id='MXpY7'><form id='MXpY7'><ins id='MXpY7'></ins><ul id='MXpY7'></ul><sub id='MXpY7'></sub></form><legend id='MXpY7'></legend><bdo id='MXpY7'><pre id='MXpY7'><center id='MXpY7'></center></pre></bdo></b><th id='MXpY7'></th></span></q></dt></tr></i><div id='MXpY7'><tfoot id='MXpY7'></tfoot><dl id='MXpY7'><fieldset id='MXpY7'></fieldset></dl></div>
                • 本文介绍了为什么在 -server 模式下运行的 Java 说版本是“混合模式"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  为什么在 -server 模式下运行的 Java 说版本是混合模式"?当我看到时,这是否意味着 JVM 并没有真正以纯服务器模式加载?

                  Why does Java , running in -server mode, say that the version is "mixed-mode" ? When I see that, does it mean that the JVM didn't truly load in pure server mode?

                  推荐答案

                  服务器模式并不意味着不混合".这些是不同的设置.

                  server mode does not mean "not mixed". Those are different settings.

                  混合确实意味着 JVM 将混合编译和解释代码.您可以选择使用开关 -Xint 切换到完全解释模式(通常您不想这样做).

                  Mixed does mean that the JVM will mix compiled and interpreted code. You could optionally switch to fully interpreted mode with the switch -Xint (usually you don't want to do this).

                  服务器模式意味着热点编译器将使用服务器设置运行.一般的假设是服务器模式下的虚拟机是长时间运行的,因此在进行优化时会考虑到这一点.

                  Server mode means that the hot-spot-compiler will run with server-settings. The general assumption is that VMs in server-mode are long-running, so optimizations will be done with this in mind.

                  因此,如果您看到混合模式,这并不表明您的 VM 未在服务器模式下运行.

                  So if you see mixed mode, that is no sign that your VM is not running in server-mode.

                  如果您想检查真正运行的内容,请尝试

                  If you want to check what is really running, try the output of

                  System.out.println(System.getProperty("java.vm.name"));
                  System.out.println(System.getProperty("java.vm.info"));
                  

                  至少对于 Sun VM 或 OpenJDK,这会给您一个提示.您可能会注意到,如果您在 64 位系统上,您将始终运行服务器 VM.

                  At least for the Sun VM or OpenJDK this will give you a hint. You might notice that you'll always run the Server VM if you are on a 64 bit system.

                  这篇关于为什么在 -server 模式下运行的 Java 说版本是“混合模式"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)
                  <i id='MdkSM'><tr id='MdkSM'><dt id='MdkSM'><q id='MdkSM'><span id='MdkSM'><b id='MdkSM'><form id='MdkSM'><ins id='MdkSM'></ins><ul id='MdkSM'></ul><sub id='MdkSM'></sub></form><legend id='MdkSM'></legend><bdo id='MdkSM'><pre id='MdkSM'><center id='MdkSM'></center></pre></bdo></b><th id='MdkSM'></th></span></q></dt></tr></i><div id='MdkSM'><tfoot id='MdkSM'></tfoot><dl id='MdkSM'><fieldset id='MdkSM'></fieldset></dl></div>
                  <tfoot id='MdkSM'></tfoot>
                  <legend id='MdkSM'><style id='MdkSM'><dir id='MdkSM'><q id='MdkSM'></q></dir></style></legend>

                    <tbody id='MdkSM'></tbody>
                        • <bdo id='MdkSM'></bdo><ul id='MdkSM'></ul>
                        • <small id='MdkSM'></small><noframes id='MdkSM'>