chaokunyang opened a new issue, #1410: URL: https://github.com/apache/incubator-fury/issues/1410
## Is your feature request related to a problem? Please describe. When there is a memory pressure, serializer class got recompiled, which makes the serialization slow. ## Describe the solution you'd like `CodeGenerator` use soft reference to cache the generated serializer. When there is a memory pressure, the `CodeGenerator` will be gc. We can hold strong reference in `Fury` instance if possible, and use a mixed `WeakReference` and `SoftReference` to delay the reference be set to null by garbage collector. -- 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]
