TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

JEP 349: JFR Event Streaming Targeted (Java)

2 pointsby haglinover 5 years ago

1 comment

haglinover 5 years ago
In JDK 14, Flight Recorder events will be available for monitoring.<p><pre><code> try (var rs = new RecordingStream()) { rs.onEvent(&quot;jdk.GCPhasePause&quot;, event -&gt; { System.out.println(event.getDuration()); }); }</code></pre>