aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java/me/lucko/spark
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2019-08-03 22:08:26 +0100
committerLuck <git@lucko.me>2019-08-03 22:08:26 +0100
commit87c818a71b7102c9a8bcbf8d125a80da599ea965 (patch)
tree793586c550730fad3f436b80702d82566919fa7e /spark-common/src/main/java/me/lucko/spark
parent272d2c034502663a9810e247f115f488eb9f29a8 (diff)
downloadspark-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.java2
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);
}