jprofiler - JProfiler 中的 Net IO 是什么意思?

标签 jprofiler

JProfiler 中的 Net IO 时间是什么意思?

JProfilerguide 说以下内容,但我不知道它到底是什么意思?是花在网络上的时间还是等待网络的时间?如果网络 io 时间过长该怎么解决?

During network operations, many calls in the Java standard libraries can block because they're waiting for more data. This kind of blocking is called "Net I/O" in JProfiler. JProfiler knows the list of methods in the JRE that lead to blocked net I/O and instruments them at load time.

最佳答案

Net I/O 是套接字等待数据的时间。

  • 正在等待连接的服务器套接字处于网络 I/O 线程状态。这并不表示存在性能问题。

  • 等待数据库返回结果的 JDBC 调用处于网络 I/O 状态。在这种情况下,您可以在调用树中看到关联的 SQL 字符串。

关于jprofiler - JProfiler 中的 Net IO 是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52692561/

相关文章:

linux - 当我的 GUI 在 Windows 操作系统上时,如何在远程 Linux 服务器上使用 jprofiler 进行配置?

java - 在 iSeries/AS400 上运行 jprofiler 时出现问题

java - 简单的 Jprofiler 设置不起作用

javascript - 配置文件 Nashorn Javascript 执行?

linux - 如何让 jprofiler 找到正在运行的 tomcat 服务器的 PID?

java - JProfiler UnsatisfiedLinkError 启动时

jprofiler - 清除记录的 CPU 调用树

ubuntu - 如何卸载jprofiler,ubuntu?

java - visualvm 对比 JProbe 对比 JProfiler