Thread "out-of-synch" 错误

debug一段代码的时候eclipse里出现:

    The out of synch notification in the debug view means that the code in the VM
is not the same as the code in the workspace.
At this time, our resolution is at the type level. If a type has changed in
the workspace but that change is not present in the stack frame displayed in
the debug view, we show that it is "out of synch." Stack frames may get out
of synch in three ways - the VM doesn't support hot code replace (HCR), a
particular attempt at HCR has failed (not all VMs support all redefinitions),
or the HCR succeeded but the VM was unable to pop the frame running old code.
This last case can occur, for example, when the type in which a main method
resides is successfully changed. The main method will display "out of synch"
because the VM cannot pop the main method from the stack until the program
exits.
    We cannot know what code is executing in a running thread, so the best that
we can do is to say that a running thread "may be out of synch" after an HCR
fails. That is, it may or may not be running the code which wasn't updated.

可能是机器内存太小的原因,解决方法,重新发布工程,不行就重启tomcat和eclipse。

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值