OpenJDK 在 processWorkerExit 上中断,没有断点
我
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.10.2)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
通过 Eclipse 在调试模式下在 OpenJDK 上运行 tomcat 7.0.21。
在服务任意数量的请求后,OpenJDK 会定期在以下位置中断:
此时堆栈很少左边,通常是:
,并且很少有可能导致问题的原因......
任何人都有任何见解可能会发生什么?
I'm running tomcat 7.0.21 on OpenJDK
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.10.2)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
in debug mode via Eclipse.
Periodically after serving an arbitrary number of requests, OpenJDK starts to break at:
At this point there is very little stack left, usually:
and very little to go on as far as what might have cause the issue...
Anyone have any insight on what might be happening?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
默认情况下,在 Eclipse 的调试模式下,会检查未捕获异常的中断。由于这里没有 catch 方法,因此很可能会引发未捕获的异常,并且调试器会在引发异常之前立即为您中断。您可以在“Java”->“调试”下的首选项中将其关闭。
In debug mode in eclipse by default, break on uncaught exceptions is checked. Since you don't have a catch method here, it's likely that an uncaught exception is being thrown and the debugger is breaking for you immediately before the exception is thrown. You can turn it off in preferences under Java->Debug.
准确地说,2015 年仍然与最新的 Eclipse 相关。确保绿色突出显示圆圈下的复选框保持未选中状态。
我添加图像以突出显示更改
Spot on, still relevant in 2015 with latest Eclipse too. Make sure to keep the check-box under green highlight circle to be unchecked.
I am adding image to highlight the change