java - 忽略选项 -Xprof; 10.0 中移除了支持

标签 java profiler

什么是 -Xprof 标志的正确替代品?

使用带有 -Xprof 标志的 JDK 11 运行 java 程序会产生以下输出:

Ignoring option -Xprof; support was removed in 10.0

最佳答案

list of deprecated features as of Java 9 看一下 JDK-8176098 的描述:

This technology is no longer relevant and is a source of root scanning for the GC and contains bugs. We want to remove flatprofiler in JDK 10 and therefore deprecated it in JDK 9.

点击链接的相关报告 JDK-8173715 显示:

We assume that this technology is no longer in use and is a source of root scanning for the GC.

不幸的是,在删除有缺陷的 -Xprof 功能的结论上达成了一致,并假设删除该功能对某人的影响风险最小。

关于java - 忽略选项 -Xprof; 10.0 中移除了支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56402253/

相关文章:

java - YourKit 是否报告 ReentrantLocks?

php - Symfony 分析器 : show response content?

.net - ASP.Net Web 应用程序的分析器?

java - Android 上的 Jsoup - OutOfMemory 错误

java - 从 ArrayList 中删除所有重复的元素

java - Guice:在 ServletModule 中注入(inject)拦截器

performance - 在 Linux 下可以使用哪些免费的、低开销(统计)分析器?

java - OWLAPI : Use of 'Imports' enum

java - 您可以按属性类型对 JSON 序列化进行分组吗

java - 我的 VisualVM 仅显示 Glassfish 和 Netbeans,而不是我在 Netbeans 中打开的一些项目