Patent · US Active

Selective stack trace generation during java exception handling

US11042429B2 · kind B2 · utility

1Cited by
9References
17Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJan 7, 2019
Grant dateJun 22, 2021
Priority date
Expiry dateMay 26, 2039

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2209/481
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.