[
https://issues.apache.org/jira/browse/GERONIMO-4543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681311#action_12681311
]
Janko Heilgeist commented on GERONIMO-4543:
-------------------------------------------
Java6 says "Please use CMSClassUnloadingEnabled in place of
CMSPermGenSweepingEnabled in the future" if it is started with
"-XX:+CMSPermGenSweepingEnabled" so I stopped using this option recently.
I'll admit that this report is not a major issue. I just discovered the leaks
when I debugged an application. They haven't caused any real problems yet.
> EAR classloader not garbage collected
> -------------------------------------
>
> Key: GERONIMO-4543
> URL: https://issues.apache.org/jira/browse/GERONIMO-4543
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Memory Leaks, transaction manager
> Affects Versions: 2.2
> Reporter: Janko Heilgeist
> Priority: Blocker
> Fix For: 2.2
>
> Attachments: ear-with-tx.tar.gz, privileged_currenttime.patch
>
>
> The TransactionTimer$CurrentTime thread inherits the AccessControlContext of
> the first EAR/WAR/EJB-jar that carries out a transaction. Thus, the
> particular EAR/WAR/EJB-jar's classloader is prevented from being GCed.
> See http://www.nabble.com/PermGen-space-issues-td22079768s134.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.