Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the Reference of the metaclass in ClassInfo.java to use a Weak… #968

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 15, 2019

  1. Fixed the Reference of the metaclass in ClassInfo.java to use a Weak…

    …Reference now, so the Reference is cleaned up nearly immediately
    
    after freeing the last strong reference of the metaclass.
    
    Prior it was used a SoftReference which prevents the ClassLoader, the ClassInfo and the Metaclass instances from beeing garbage-collected
    until the JVM runs nearly into an OutOfMemoryException (PermGen). This leads to a JVM which is always near the maximum of memory usage.
    jscherbaum committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    801116c View commit details
    Browse the repository at this point in the history