您现在的位置是:主页 > news > 怎样做网站发布信息/杭州网站
怎样做网站发布信息/杭州网站
admin2025/5/7 18:17:06【news】
简介怎样做网站发布信息,杭州网站,网站研发流程,网站建设的会计分录VisualVM具有一个称为“ VisualGC”的官方插件.在VisualGC选项卡中,有一个“编译时间”表,显示编译次数和花费的时间.无论指定了哪种GC方法/参数,该仪表都会在具有OpenJDK JVM 6和Oracle Hotspot JVM 6的任何操作系统上显示.“编译时间”是什么意思?如果编译“花费的…
VisualVM具有一个称为“ VisualGC”的官方插件.在VisualGC选项卡中,有一个“编译时间”表,显示编译次数和花费的时间.
无论指定了哪种GC方法/参数,该仪表都会在具有OpenJDK JVM 6和Oracle Hotspot JVM 6的任何操作系统上显示.
“编译时间”是什么意思?
如果编译“花费的时间”显示很多分钟,是否会引起关注?
解决方法:
Compile Time This panel plots the amount of time spent compiling Java
byte codes into native code. The height of this display is not scaled
to any particular value. A non zero value in this graph indicates that
compilation activity occurred during the last interval. A narrow pulse
indicates a relatively short duration and a wide pulse indicates a
long duration. The title bar indicates the number of compilation tasks
and the accumulated compilation time since the start of the
application.
当visualgc监视JVM时,这很有意义.您可能知道,JVM的主要任务之一是将虚拟机(字节代码)“转换”为具体的体系结构指令.
在我的机器上,我观察到这次是almos始终为零,因为我的JVM似乎使用了JIT.
标签:visualvm,java
来源: https://codeday.me/bug/20191121/2055382.html