<div dir="ltr">Hi Marius,<div><br></div><div>We'd support this proposal, although our use case is a bit different. We'd really like to track file open/close pairs. We also support a desktop app on Windows and unfortunately occasionally we've allowed file handle leaks through because we mostly develop on UNIX. Being able to get stack traces for file opens and closes in jfr logs would allow the creation of a tool that processes these logs to find the source of handle leaks.</div><div><br></div><div>Do you still plan to add more events to the FS layer? If so, could you add file open/close too?</div><div><br></div><div>These events don't have to be enabled all the time in production to be useful. We can use them in CI runs to detect leaks right after they get committed, but before they reach prod. I didn't quite follow the argument that unless events can be thresholded nobody will use them, as by default the JVM doesn't make JFR logs anyway. It's always opt in.</div><div><br></div><div>thanks,</div><div>-mike</div></div>