消息的含义“在安全点期间合并的操作” [英] Meaning of message "operations coalesced during safepoint"

查看:468
本文介绍了消息的含义“在安全点期间合并的操作”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Java应用程序运行时使用以下标志:-XX:+ PrintSafepointStatistics,然后
在标准输出控制台上生成以下行:

2个虚拟机操作在安全点合并

任何人都在意解释这是什么意思?

更一般地说 - 是否有一个Java参考手册,用于详细说明所有JVM标志,它们的使用以及最重要的预期输出,并提供相关说明?

解决方案

这里列出了可能的虚拟机操作



当VM处于安全点时处理的每个随后的虚拟机操作都会增加该计数器,即,如果处理1个虚拟操作系统比未增加虚拟操作系统,则处理2个虚拟操作系统会增加一次,如果处理3个虚拟操作系统增加两次(等等)。


A java app runs with the following flag: -XX:+PrintSafepointStatistics, and then produces the following line on the standard output console:

2 VM operations coalesced during safepoint

Anyone cares to explain what this mean ?

More generally - is there a Java reference manual somewhere detailling all JVM flags, their use and, most importantly, the expected output, with relevant explanations ?

解决方案

Here is a list of the possible VM operations.

This counter is incremented for each subsequent vm operation dealt with while the VM is at a safepoint, i.e. if 1 vm op is processed than it is not incremented, if 2 vm ops are processed it is incremented once, if 3 vm ops are processed it is incremented twice (etc etc).

这篇关于消息的含义“在安全点期间合并的操作”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆