View | Details | Raw Unified | Return to bug 53267
Collapse All | Expand All

(-)java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java (-1 / +1 lines)
Lines 292-298 Link Here
292
                        Method method = clazz.getDeclaredMethod(
292
                        Method method = clazz.getDeclaredMethod(
293
                                "requestLatency",
293
                                "requestLatency",
294
                                new Class[] {long.class});
294
                                new Class[] {long.class});
295
                        method.invoke(null, Long.valueOf(3600000));
295
                        method.invoke(null, Long.getLong("org.apache.catalina.core.jreMemoryLeakPreventionGCDaemonPeriod", Long.MAX_VALUE));
296
                    } catch (ClassNotFoundException e) {
296
                    } catch (ClassNotFoundException e) {
297
                        if (System.getProperty("java.vendor").startsWith(
297
                        if (System.getProperty("java.vendor").startsWith(
298
                                "Sun")) {
298
                                "Sun")) {

Return to bug 53267