[jboss-jira] [JBoss JIRA] (WFLY-11970) SFSB memory leak due to Date() usage
Dennis Reed (Jira)
issues at jboss.org
Wed Apr 10 17:34:00 EDT 2019
Dennis Reed created WFLY-11970:
----------------------------------
Summary: SFSB memory leak due to Date() usage
Key: WFLY-11970
URL: https://issues.jboss.org/browse/WFLY-11970
Project: WildFly
Issue Type: Support Patch
Components: EJB
Affects Versions: 11.0.0.Final
Reporter: Dennis Reed
Assignee: Paul Ferraro
SFSB tracks expiration with "new Date().getTime()" and "System.currentTimeMillis()".
But the expiration threads are scheduled (inside JDK classes) with System.nanoTime().
If the expiration task runs before the bean is considered expired, the expiration check fails and the bean is never expired.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list