VisualVM 图形跳跃是否符合预期

发布于 2024-12-12 09:41:20 字数 419 浏览 1 评论 0原文

我真的很喜欢 VisualVM,并认为它是一个很棒的工具。然而,运行大约一个小时后,图表(cpu、mem 和其他)开始跳跃并需要重新启动。我怀疑这与应用程序尝试对数据集进行采样有关,因为图表上显示的数据太多。

我搜索了问题列表,但没有看到列出的内容。鉴于只要我使用它,它的行为就是这样的,并且 其他人正在抱怨它,我想知道这是否是有意的行为。我想这是第一个问题。

第二个问题是,为什么它保留所有数据点,为什么当新点到达并且缓冲区已满时不丢弃最旧的点?

I really like visualVM and think it's a great tool. However, after running for about an hour the graphs (cpu, mem, and others) start jumping around and requires a restart. I suspect this has something to do with the app trying to sample the dataset because there is too much data to show on the graph.

I've searched the issues list and don't see this listed. Given that's it's behaved like this for as long as I've used it and that others are complaining about it, I'm wondering if it's intended behavior. I guess that's the first question.

The second would be, why is it keeping all the data points, why not throw the oldest point away when a new point arrives and the buffer is full?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

緦唸λ蓇 2024-12-19 09:41:20

对于第一个问题,请参阅:http://java.lang. NET/projects/visualvm/lists/dev/archive/2011-02/message/7
对于第二个问题:VisualVM 不会保留所有数据点,当新点到达且缓冲区已满时,它会丢弃最旧的点。你是怎么得出这个结论的,保留所有数据。

For the first question see this: http://java.net/projects/visualvm/lists/dev/archive/2011-02/message/7.
For second question: VisualVM does not keep all the data points, it throws the oldest point away when a new point arrives and the buffer is full. How did you came to the conclusion, that keeps all data.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文