java中的nullpoInterException,没有stacktrace for OpenJDK
我们正在通过 OpenJDK 64位服务器VM(构建25.91-B14,混合模式),Java 8
在我的组织中,
org.slf4j.Logger.error("ERROR in while processing data", e);
。有关隐式期望的无堆栈跟踪的相关文章(例如NPE),并在JVM中找到了运行命令-XX:-OMITSTACKTRACEINFASTTHOW
。
但是,我还读到,这是Hotspot JVM(由Oracle)的原因和解决方案(由Oracle)
在我的JVM中的解决方案是什么?
如果是-XX:-OMITSTACKTRACEINFASTTHROW
,请教育如何和何处运行此命令。
In my organisation we are running our projects on OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode), java 8.
I am logging my error in a fashion shown below:
org.slf4j.Logger.error("ERROR in while processing data", e);
I have went through relevant articles regarding no stack trace for implicit expections(like NPE) and found running the command -XX:-OmitStackTraceInFastThrow
in the JVM.
However, I have also read that this is a cause and solution for Hotspot JVM(By Oracle)
What is the solution for this in My JVM?
If it is -XX:-OmitStackTraceInFastThrow
, please educate as to how and where to run this command.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论