You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2015/12/23 09:45:46 UTC
[jira] [Commented] (LUCENE-5716) Track file handle leaks
(FileDescriptor, NIO Path SPI and Socket mostly).
[ https://issues.apache.org/jira/browse/LUCENE-5716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069388#comment-15069388 ]
Dawid Weiss commented on LUCENE-5716:
-------------------------------------
This is just a note to self. I requested an open source license for the most recent YourKit profiler (graciously donated by the company -- yay!). There is a new feature I haven't seen before -- probes, exactly in the shape and form I always imagined them to be (I have been a fan of aspectj, but this is done via agents, so it allows modifications of system classes I believe).
Very cool. This could be used to track other resource leaks (sockets, etc.). If combined with JUnit rules, it could even detect such leaks at class or method level.
https://www.yourkit.com/docs/java/help/probes.jsp
https://www.yourkit.com/docs/java/help/event_method_call.jsp
> Track file handle leaks (FileDescriptor, NIO Path SPI and Socket mostly).
> -------------------------------------------------------------------------
>
> Key: LUCENE-5716
> URL: https://issues.apache.org/jira/browse/LUCENE-5716
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Minor
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org