发明名称 Handling caught exceptions
摘要 Embodiments of the invention relate to exceptions. In a Java embodiment, if the count of a program statement that causes the exception reaches a threshold, then the Java Virtual Machine (JVM) searches for the throw statement corresponding to that program statement. The JVM then identifies the catch clause corresponding to the throw statement, and depending on implementations, the JVM may replace the throw statement with the catch block or replace the throw statement with a jump to the catch block. As a result, in both situations, program execution, when being supposed to execute the throw statement, executes instructions of the catch block, and avoids execution of the throw statement that would invoke the exception handler, which improves system performance.
申请公布号 US2006282828(A1) 申请公布日期 2006.12.14
申请号 US20050152466 申请日期 2005.06.13
申请人 MEHTA VIRENDRA K 发明人 MEHTA VIRENDRA K.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址