binarywang / WxJava

微信开发 Java SDK ,支持包括微信支付,开放平台,小程序,企业微信,视频号,公众号等的后端开发
Apache License 2.0
30k stars 8.69k forks source link

本项目提现频率大概10秒一次,,,十天左右出现一次cpu 100%情况. #2003

Closed hiteny closed 3 years ago

hiteny commented 3 years ago

简要描述

本项目提现频率大概10秒一次,,,十天左右出现一次cpu 100%情况. 一共出现了3次了

模块版本情况

详细描述

报错地点: "clusteredScheduler_Worker-1" #19 prio=5 os_prio=0 tid=0x00007efd16c42000 nid=0x30e1 runnable [0x00007efcf9fd9000] java.lang.Thread.State: RUNNABLE at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at com.thoughtworks.xstream.XStream.registerConverterDynamically(XStream.java:1131) at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:1075) at com.thoughtworks.xstream.XStream.(XStream.java:593) at com.thoughtworks.xstream.XStream.(XStream.java:515) at com.thoughtworks.xstream.XStream.(XStream.java:484) at com.thoughtworks.xstream.XStream.(XStream.java:430) at com.thoughtworks.xstream.XStream.(XStream.java:411) at me.chanjar.weixin.common.util.xml.XStreamInitializer.getInstance(XStreamInitializer.java:44) at com.github.binarywang.wxpay.bean.result.BaseWxPayResult.fromXML(BaseWxPayResult.java:148) at com.github.binarywang.wxpay.service.impl.EntPayServiceImpl.entPay(EntPayServiceImpl.java:51) at org.teny.lm.service.CashMoneyService.entPay(CashMoneyService.java:63)

日志

a.txt

tangdu commented 3 years ago

找到一个帖子,看是否对你有帮忙; 解决方案是将对象做了缓存;https://blog.csdn.net/weixin_43767602/article/details/114824028

hiteny commented 3 years ago

找到一个帖子,看是否对你有帮忙; 解决方案是将对象做了缓存;https://blog.csdn.net/weixin_43767602/article/details/114824028

多谢,我也看到了这个帖子,但我看wxJava框架是在内部使用的Xtream,我无法修改

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

binarywang commented 3 years ago

找到一个帖子,看是否对你有帮忙; 解决方案是将对象做了缓存;https://blog.csdn.net/weixin_43767602/article/details/114824028

多谢,我也看到了这个帖子,但我看wxJava框架是在内部使用的Xtream,我无法修改

明显你可以修改的,直接贡献代码就可以,欢迎自行修改并调试,确定没问题后PR即可

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.