From f019eb0ff0b9530d2c056c655c08215a076325c4 Mon Sep 17 00:00:00 2001 From: Hearen Date: Sat, 13 Oct 2018 13:05:48 +0800 Subject: [PATCH] JUL is actually java.util.concurrency.lock --- site/src/site/sphinx/en/thread.md | 2 +- site/src/site/sphinx/thread.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/site/src/site/sphinx/en/thread.md b/site/src/site/sphinx/en/thread.md index 21e00d33f..51aff9563 100644 --- a/site/src/site/sphinx/en/thread.md +++ b/site/src/site/sphinx/en/thread.md @@ -139,7 +139,7 @@ $ thread -b - java.util.concurrent.ThreadPoolExecutor$Worker@31a6493e ``` -> Attention: only `synchronized` blocked threads can be located for now, `JUL` not supported yet. +Attention: only `synchronized` blocked threads can be located for now, while `java.util.concurrent.Lock` not supported yet. #### thread -i specify the collecting interval diff --git a/site/src/site/sphinx/thread.md b/site/src/site/sphinx/thread.md index bf2d8411b..2430180fc 100644 --- a/site/src/site/sphinx/thread.md +++ b/site/src/site/sphinx/thread.md @@ -138,7 +138,7 @@ $ thread -b - java.util.concurrent.ThreadPoolExecutor$Worker@31a6493e ``` -> 注意, 目前只支持找出synchronized关键字阻塞住的线程, 如果是JUL的锁, 目前还不支持。 +> 注意, 目前只支持找出synchronized关键字阻塞住的线程, 如果是`java.util.concurrent.Lock`, 目前还不支持。 #### thread -i, 指定采样时间间隔 @@ -162,4 +162,4 @@ $ thread -n 3 -i 1000 Number of locked synchronizers = 1 - java.util.concurrent.ThreadPoolExecutor$Worker@546aeec1 ... -``` \ No newline at end of file +```