首页>
外国专利>
SELECTIVE STACK TRACE GENERATION DURING JAVA EXCEPTION HANDLING
SELECTIVE STACK TRACE GENERATION DURING JAVA EXCEPTION HANDLING
展开▼
机译:JAVA异常处理期间的选择性堆栈跟踪生成
展开▼
页面导航
摘要
著录项
相似文献
摘要
Systems and methods for selective stack trace generation during Java exception handling are disclosed. In embodiments, a method includes determining, by a Java virtual machine (JVM) of a computing device, that an exception object escapes a catch block of Java bytecodes; setting, by the JVM of the computing device, an escaped flag based on the determining that the exception object escapes the catch block; walking, by the JVM of the computing device, a call stack to locate an applicable catch block for the exception object, wherein the applicable catch block is the catch block; determining, by the JVM of the computing device, that the escaped flag is set in response to locating the applicable catch block; and creating, by the JVM of the computing device, a stack trace based on the determining that the escaped flag is set.
展开▼