Skip to content

Commit d6f3e9e

Browse files
committed
jstack
1 parent 7d280b6 commit d6f3e9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Java/AdvancedLearning/JvmTool.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ categories:
4040
- 6.6. [IBM Heap Analyzer](#ibm-heap-analyzer)
4141
- 6.7. [IntelliJ IDEA](#intellij-idea)
4242

43-
💠 2024-12-06 19:28:00
43+
💠 2024-12-27 15:59:09
4444
****************************************
4545

4646
# JVM 监控&诊断
@@ -60,9 +60,8 @@ categories:
6060
# JVMTI
6161
`JVM Tool Interface`
6262

63-
6463
# JDK自带工具
65-
> 都是jdk的bin目录下的工具,注意使用时要和目标JVM同一个JDK版本,以及同一个用户。
64+
> 都是jdk的bin目录下的工具,注意使用时要和目标JVM同一个JDK版本,以及同一个用户,衍生的工具如Arthas等等同理
6665
6766
## java
6867
> 使用方式:
@@ -199,6 +198,7 @@ categories:
199198
### 实现原理
200199
- [Jstack 源码分析](https://zhuanlan.zhihu.com/p/36224094)
201200

201+
通常来说 jstack pid 报错无法attach时,意味着是高负载情况了,可以加-F参数尝试
202202
[jmap -F and jstack -F](https://stackoverflow.com/questions/26140182/running-jmap-getting-unable-to-open-socket-file)`jmap和jstack 默认及加-F选项背后实现机制及优缺点`
203203
- [Dynamic Attach Mechanism](http://openjdk.java.net/groups/hotspot/docs/Serviceability.html#battach)
204204
- [HotSpot Serviceability Agent](http://openjdk.java.net/groups/hotspot/docs/Serviceability.html#bsa)

0 commit comments

Comments
 (0)