blob: 8f8e7381fdd9dddd9e53ca14f6e7efd1767e592f [file]
<html>
<body>
Reports Runnable passed to Cleaner.register() capturing reference that leads to memory leak.
Possible sources of this problem:
<ul>
<li>Lambda using non static methods, fields or this itself</li>
<li>Non static inner class (anonymous or not) always captures this reference</li>
<li>Instance method reference</li>
<li>Access to outer class non static members from non static inner class</li>
</ul>
<p>This inspection is available since Java 9 only.</p>
<p><small>New in 2018.1</small></p>
</body>
</html>