You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The structural type implementation retains a strong reference to a class object when a method is invoked. This prevents the class loader for that referenced class (and all other classes loaded by that class loader) from being garbage collected.
The attached test case demonstrates that this can cause OOME: PermGen errors.
The text was updated successfully, but these errors were encountered:
@harrah said:
I forgot to mention that this test is against the 2.8 implementation in trunk. The 2.7 implementation is problematic as well, but would require a different test.
The structural type implementation retains a strong reference to a class object when a method is invoked. This prevents the class loader for that referenced class (and all other classes loaded by that class loader) from being garbage collected.
The attached test case demonstrates that this can cause OOME:
PermGen
errors.The text was updated successfully, but these errors were encountered: