Java线程挂在本机方法中

时间:2019-07-17 10:26:13

标签: java jvm threadpool hang thread-dump

在解析日期字符串时,线程挂在本机方法中。线程在最近18小时内以相同的状态停止(不同时间的线程哑显示相同的线程,显示相同的堆栈)。

请提示可能是什么错误

"DateParsingThread - 001" #228 daemon prio=5 os_prio=0 tid=0x00007f98e0029000 nid=0x9c2 runnable [0x00007f98016ee000]
   java.lang.Thread.State: RUNNABLE
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.util.resources.LocaleData.getBundle(LocaleData.java:163)
    at sun.util.resources.LocaleData.getDateFormatData(LocaleData.java:127)
    at sun.util.locale.provider.LocaleResources.getCalendarNames(LocaleResources.java:325)
    at sun.util.locale.provider.CalendarNameProviderImpl.getDisplayNamesImpl(CalendarNameProviderImpl.java:157)
    at sun.util.locale.provider.CalendarNameProviderImpl.getDisplayNames(CalendarNameProviderImpl.java:139)
    at sun.util.locale.provider.CalendarDataUtility$CalendarFieldValueNamesMapGetter.getObject(CalendarDataUtility.java:178)
    at sun.util.locale.provider.CalendarDataUtility$CalendarFieldValueNamesMapGetter.getObject(CalendarDataUtility.java:154)
    at sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl(LocaleServiceProviderPool.java:281)
    at sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObject(LocaleServiceProviderPool.java:265)
    at sun.util.locale.provider.CalendarDataUtility.retrieveFieldValueNames(CalendarDataUtility.java:88)
    at java.util.Calendar.getDisplayNames(Calendar.java:2178)
    at java.text.SimpleDateFormat.getDisplayNamesMap(SimpleDateFormat.java:2366)
    at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1972)
    at java.text.SimpleDateFormat.parse(SimpleDateFormat.java
    at java.text.DateFormat.parse(DateFormat.java:364)

欢迎找到解决方案的任何建议。

0 个答案:

没有答案