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

Concurrent cache of generated classes #53

Merged
merged 6 commits into from
Feb 5, 2016
Merged

Commits on Nov 12, 2015

  1. Test for permgen leak

    vlsi committed Nov 12, 2015
    Configuration menu
    Copy the full SHA
    b1a3020 View commit details
    Browse the repository at this point in the history
  2. Stress test hashCode collisions

    vlsi committed Nov 12, 2015
    Configuration menu
    Copy the full SHA
    06a2711 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2015

  1. Fix permgen leak by storing Class instances as String

    Previously KeyFactory generated java.lang.Class fields even with CLASS_BY_NAME customization.
    That might lead to unexpected class and classloader leak.
    The fix ensures KeyFactory uses java.lang.String to store class names.
    It should make no harm as CGLIB uses per-classloader cache, thus class name should be sufficiently unique
    vlsi committed Nov 16, 2015
    Configuration menu
    Copy the full SHA
    c1d6d31 View commit details
    Browse the repository at this point in the history
  2. Implement hashCode customizer for KeyFactory to improve Type.hashCode…

    … calculation performance
    vlsi committed Nov 16, 2015
    Configuration menu
    Copy the full SHA
    1dee658 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4cd1d6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    05f830f View commit details
    Browse the repository at this point in the history