[ 
https://issues.apache.org/jira/browse/LUCENE-5716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014246#comment-14014246
 ] 

Dawid Weiss commented on LUCENE-5716:
-------------------------------------

Option (3) is feasible, I just checked (same project as above, jvmti branch). 
Even though FileInputStream is already loaded, it can be redefined with 
(relative) ease. If we used asm we could just inject some simple before/after 
hooks that would call to some normal (not-asmified) code.

> 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.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to