chaokunyang commented on PR #1639:
URL: https://github.com/apache/incubator-fury/pull/1639#issuecomment-2118757091
> we call `cleanup()` to clean data which is expired or drain key/value
reference. because cache will hold on data much more time even data is needed
to be clean. so if the cache does't operate frequently enough, we can use
`cleanup()`. maybe it can solve `class leak` question.
I still don't get it. We cleanup the classloader and associated map in:
```java
public void clearClassLoader(ClassLoader loader) {
classLoaderFuryPooledCache.invalidate(loader);
classLoaderLocal.remove();
}
```
Could you share some code?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]