在线程转储中理解与ehcache相关的stacktrace

z18hc3ub  于 2021-07-06  发布在  Java
关注(0)|答案(0)|浏览(198)

我花了一些时间试图理解这个堆栈跟踪意味着什么,但只是徒劳

> priority:5 - threadId:0x00007f66d400b000 - nativeId:0x3c22 - nativeId (decimal):15394 - state:TIMED_WAITING
stackTrace:
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at net.sf.ehcache.util.SlewClock.timeMillis(SlewClock.java:100)
at net.sf.ehcache.util.Timestamper.next(Timestamper.java:63)
at org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory.nextTimestamp(AbstractEhcacheRegionFactory.java:124)
at org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory.nextTimestamp(SingletonEhCacheRegionFactory.java:47)
at org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1622)
at org.hibernate.internal.SessionFactoryImpl.openSession(SessionFactoryImpl.java:982)
at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:332)
at org.springframework.orm.hibernate4.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:309)
at org.springframework.orm.hibernate4.HibernateTemplate.get(HibernateTemplate.java:419)
at org.springframework.orm.hibernate4.HibernateTemplate.get(HibernateTemplate.java:412)
at com.dummyCompany.common.AbstractDBMapper.implementFindById(AbstractDBMapper.java:304)

大量线程都被这个堆栈跟踪卡住了。为了执行一些数据库操作,使用了hibernate。当线程尝试创建会话对象时,它需要一些由timestamp创建的时间戳。
有什么能帮助我们破译这是什么意思吗?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题