aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java/me/lucko/spark/common/heapdump
diff options
context:
space:
mode:
authorlucko <git@lucko.me>2023-01-28 11:07:45 +0000
committerGitHub <noreply@github.com>2023-01-28 11:07:45 +0000
commit06b794dcea806150770fb88d43e366a3496a9d0f (patch)
tree15ed2a6b7de22d90844b67291250dab4ec14eeda /spark-common/src/main/java/me/lucko/spark/common/heapdump
parentd83e49128ad59308f4b3ff19cf4b22b53236be8d (diff)
downloadspark-06b794dcea806150770fb88d43e366a3496a9d0f.tar.gz
spark-06b794dcea806150770fb88d43e366a3496a9d0f.tar.bz2
spark-06b794dcea806150770fb88d43e366a3496a9d0f.zip
Stream live data to the viewer using WebSockets (#294)
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common/heapdump')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java b/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java
index c0980e7..eaedd31 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java
@@ -130,7 +130,7 @@ public final class HeapDumpSummary {
.setPlatformMetadata(platform.getPlugin().getPlatformInfo().toData().toProto())
.setCreator(creator.toData().toProto());
try {
- metadata.setPlatformStatistics(platform.getStatisticsProvider().getPlatformStatistics(null));
+ metadata.setPlatformStatistics(platform.getStatisticsProvider().getPlatformStatistics(null, true));
} catch (Exception e) {
e.printStackTrace();
}