SELECTIVE STACK TRACE GENERATION DURING JAVA EXCEPTION HANDLING

Patent №

US 11,042,429

Granted

2021-06-22

Filed 2019

Owner

INTERNATIONAL BUSINESS MACHINES CORPORATION

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

16241180

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.

AI hardwareG06F 11/0751G06F 9/4552G06F 11/0712G06F 11/0772G06F 11/0778G06F 11/3636G06F 9/4812G06F 2201/815+1 more

AI classification

AI hardware1.00
Knowledge representation0.00
Planning0.00
Machine learning0.00
Speech0.00
Natural language0.00
Vision0.00
Evolutionary computation0.00

Ownership

INTERNATIONAL BUSINESS MACHINES CORPORATION

assignment · 479190152

Assignors

D'SOUZA, IRWIN, LANGMAN, KEVIN J., HEIDINGA, DANIEL

On an employer assignment, the assignors are typically the inventors.

From the same owner

© 2026 NYSGPT2525 LLC