diff options
author | Luck <git@lucko.me> | 2019-08-03 22:08:26 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2019-08-03 22:08:26 +0100 |
commit | 87c818a71b7102c9a8bcbf8d125a80da599ea965 (patch) | |
tree | 793586c550730fad3f436b80702d82566919fa7e /spark-common/src/main/java/me/lucko/spark | |
parent | 272d2c034502663a9810e247f115f488eb9f29a8 (diff) | |
download | spark-87c818a71b7102c9a8bcbf8d125a80da599ea965.tar.gz spark-87c818a71b7102c9a8bcbf8d125a80da599ea965.tar.bz2 spark-87c818a71b7102c9a8bcbf8d125a80da599ea965.zip |
Fix bug with Regex ThreadDumper not requesting ThreadInfo instances including stack data
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/sampler/ThreadDumper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/sampler/ThreadDumper.java b/spark-common/src/main/java/me/lucko/spark/common/sampler/ThreadDumper.java index e017658..224918e 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/sampler/ThreadDumper.java +++ b/spark-common/src/main/java/me/lucko/spark/common/sampler/ThreadDumper.java @@ -142,7 +142,7 @@ public interface ThreadDumper { this.cache.put(thread.getId(), false); return false; }) - .map(thread -> threadBean.getThreadInfo(thread.getId())) + .map(thread -> threadBean.getThreadInfo(thread.getId(), Integer.MAX_VALUE)) .filter(Objects::nonNull) .toArray(ThreadInfo[]::new); } |