当前位置: 首页 > article >正文

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。

http://www.lryc.cn/news/2414102.html

相关文章:

  • 酷炫的网站合集-
  • C++中内存块置0的三种方法:memset, ZeroMemory和SecurZeroMemory
  • vlan的基本配置
  • LEETCODE-DAY27
  • 创建个人网站(一) 如何申请一个网站
  • 电脑蓝屏显示0x000000f4怎么办的四个解决方法
  • Class类的newInstance方法抛出InstantiationException异常
  • js中prompt()的用法
  • C语言socket编程----实现TCP通信
  • 【C语言】常见面笔试题(10道)
  • 全景图像拼接
  • 关于led电源设计
  • c++中静态函数与动态函数的区别
  • 深度学习(四)卷积神经网络-卷积神经网络(3) -Andrew Ng
  • sockaddr和sockaddr_in的区别
  • printf输出格式
  • 167.Web前端网页制作 大气的UI设计平台网页实例 大学生期末大作业
  • Cache(三):cache的常见名词与Cache一致性问题简介
  • mysql安装程序错误代码2503,Win10安装程序错误2502/2503的解决方法
  • CompareNoCase与Compare
  • matlab函数imfilter和 opencv中filter2D函数的对应关系
  • Windows 开机启动 | 启动项管理
  • 在IOS中使用AVPlayer去播放在线音频文件,并设置音量
  • 有道翻译接口逆向_python有道翻译api(2)
  • JSP基于web2.0的超市商品管理系统3sq6z程序+源码+数据库+调试部署+开发环境
  • 【学习资源】C#初学者学习资源推荐
  • Rosetta Tutorial 5/7/9 翻译 | 主要为 Scoring Packer Tutorial 部分
  • MPEG TS流简介
  • 云计算比赛私有云题目
  • git创建分支,提交分支,删除分支的开发流程