tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jess <i...@webjam.com>
Subject TID 170923 Re: svn commit: r886774 - /tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java
Date Fri, 04 Dec 2009 09:44:41 GMT
You have emailed Webjam Customer Support.

To send a message to the intended recipient, please use their email
address (if known)
OR
Go to their network, click on their network name (top left-hand side
of the top bar) and click on the 'Contact the editor' link to send a
message.

Alternatively find their username within the network you both use,
click on this to view their Mini-profile to 'Send message'.

===


> Author: markt
> Date: Thu Dec 3 13:24:15 2009
> New Revision: 886774
>
> URL: http://svn.apache.org/viewvc?rev=886774&view=rev
> Log:
> Only log missing class as an error on Sun JVMs. Likely to be an non-
issue for other vendors.
>
> Modified:
> tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionLi
stener.java
>
> Modified: tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPr
eventionListener.java
> URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catal
ina/core/JreMemoryLeakPreventionListener.java?rev=886774&r1=886773&r2=
886774&view=diff
> ====================================================================
==========
> --- tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventi
onListener.java (original)
> +++ tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventi
onListener.java Thu Dec 3 13:24:15 2009
> @@ -184,7 +184,13 @@
> new Class[] {long.class});
> method.invoke(null, Long.valueOf(3600000));
> } catch (ClassNotFoundException e) {
> - log.error(sm.getString("jreLeakListener.gcDaemonFail"), e);
> + if (System.getProperty("java.vendor").startsWith("Sun")) {
> + log.error(sm.getString(
> + "jreLeakListener.gcDaemonFail"), e);
> + } else {
> + log.debug(sm.getString(
> + "jreLeakListener.gcDaemonFail"), e);
> + }
> } catch (SecurityException e) {
> log.error(sm.getString("jreLeakListener.gcDaemonFail"), e);
> } catch (NoSuchMethodException e) {
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>

-- 
Kind regards
* * *
Webjam Customer Services

Webjam - your social networks made easy
www.webjam.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message