Skip to content

Commit

Permalink
Issue #5725 Review preventers. (#5839)
Browse files Browse the repository at this point in the history
Note that any Preventer that is documented as being fixed prior to jdk11
should be deleted from jetty-10/11 when this change is merged through.

Signed-off-by: Jan Bartel <janb@webtide.com>
  • Loading branch information
janbartel committed Dec 24, 2020
1 parent ea24a81 commit 29c00eb
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
Expand Up @@ -30,7 +30,10 @@
*
* Note that according to the bug report, a heap dump may not identify the GCRoot, making
* it difficult to identify the cause of the leak.
*
* @deprecated reported as fixed in jdk 7, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6916498
*/
@Deprecated
public class DOMLeakPreventer extends AbstractLeakPreventer
{

Expand Down
Expand Up @@ -34,7 +34,10 @@
* RMI.
*
* Inspired by Tomcat JreMemoryLeakPrevention.
*
* @deprecated fixed in jdvm 9b130, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8157570
*/
@Deprecated
public class GCThreadLeakPreventer extends AbstractLeakPreventer
{

Expand Down
Expand Up @@ -25,7 +25,11 @@
* before webapp classloaders are created.
*
* See https://issues.apache.org/bugzilla/show_bug.cgi?id=51687
*
* @deprecated fixed in jdk 9, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6489540
*
*/
@Deprecated
public class Java2DLeakPreventer extends AbstractLeakPreventer
{

Expand Down
Expand Up @@ -27,7 +27,10 @@
* load the LdapPoolManager.
*
* Inspired by Tomcat JreMemoryLeakPrevention
*
* @deprecated fixed in jdk 8u192
*/
@Deprecated
public class LDAPLeakPreventer extends AbstractLeakPreventer
{

Expand Down
Expand Up @@ -26,7 +26,9 @@
* that by invoking the classloading here.
*
* Inspired by Tomcat JreMemoryLeakPrevention
* @deprecated classloader does not seem to be held any more
*/
@Deprecated
public class LoginConfigurationLeakPreventer extends AbstractLeakPreventer
{

Expand Down
Expand Up @@ -28,7 +28,10 @@
* is not a webapp classloader.
*
* Inspired by Tomcat JreMemoryLeakPrevention
*
* @deprecated sun.security.pkcs11.SunPKCS11 class explicitly sets thread classloader to null
*/
@Deprecated
public class SecurityProviderLeakPreventer extends AbstractLeakPreventer
{

Expand Down

0 comments on commit 29c00eb

Please sign in to comment.