OpenJDK在没有断点的processWorkerExit上中断 [英] OpenJDK breaks on processWorkerExit with no breakpoint

查看:122
本文介绍了OpenJDK在没有断点的processWorkerExit上中断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在OpenJDK上运行tomcat 7.0.21

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)

在提供任意数量的请求后,OpenJDK会定期启动打破:

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?

推荐答案

默认情况下,在eclipse的调试模式下,会检查未捕获的异常中断。由于此处没有catch方法,因此可能会抛出未捕获的异常,并且在抛出异常之前调试器会立即中断。您可以在Java-> Debug下的首选项中将其关闭。

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.

这篇关于OpenJDK在没有断点的processWorkerExit上中断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆