This is an automated email from the ASF dual-hosted git repository.
NSAmelchev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new 1f73a30e557 IGNITE-29086 Fixed loss of performance statistics records
on stop for JDK 21 (#13642)
1f73a30e557 is described below
commit 1f73a30e55758fdbb0ecc45ed72dfcd7b18512b9
Author: Aleksandr Chesnokov <[email protected]>
AuthorDate: Mon Oct 5 16:15:52 2026 +0300
IGNITE-29086 Fixed loss of performance statistics records on stop for JDK
21 (#13642)
---
.../performancestatistics/FilePerformanceStatisticsWriter.java | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git
a/modules/core/src/main/java/org/apache/ignite/internal/processors/performancestatistics/FilePerformanceStatisticsWriter.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/performancestatistics/FilePerformanceStatisticsWriter.java
index 4d757177d78..2b0d3f362e7 100644
---
a/modules/core/src/main/java/org/apache/ignite/internal/processors/performancestatistics/FilePerformanceStatisticsWriter.java
+++
b/modules/core/src/main/java/org/apache/ignite/internal/processors/performancestatistics/FilePerformanceStatisticsWriter.java
@@ -554,7 +554,7 @@ public class FilePerformanceStatisticsWriter {
try {
synchronized (this) {
- if (writtenToFile / flushSize ==
writtenToBuf.get() / flushSize)
+ if (!isCancelled() && writtenToFile / flushSize ==
writtenToBuf.get() / flushSize)
wait();
}
}
@@ -583,6 +583,13 @@ public class FilePerformanceStatisticsWriter {
}
}
+ /** {@inheritDoc} */
+ @Override protected void onCancel(boolean firstCancelRequest) {
+ synchronized (this) {
+ notifyAll();
+ }
+ }
+
/**
* Flushes to disk available bytes from the ring buffer.
*