Integrated: JDK-8296665: IGV: Show dialog with stack trace for exceptions

Tobias Holenstein tholenstein at openjdk.org
Mon Nov 14 08:44:16 UTC 2022


On Wed, 9 Nov 2022 13:10:54 GMT, Tobias Holenstein <tholenstein at openjdk.org> wrote:

> Currently in IGV when an exception occurs a small red icon in the bottom right corner appears. The user often does not see this and if he sees it, usually not immediately when the error occurs:
> <img width="447" alt="exception now" src="https://user-images.githubusercontent.com/71546117/200838912-1dab349d-ac60-49bf-8546-95455367ba7f.png">
> 
> The exception reporting level is changed to `1000` (Level.SEVERE) in IGV to show a dialog with the stack-trace. The user can still close it and continue the work: 
> <img width="1529" alt="exception suggestion" src="https://user-images.githubusercontent.com/71546117/200838877-346ef916-72b2-435c-8425-e799663efee5.png">
> 
> To test insert something like the following somewhere in the codebase 
> 
> try {
>     int i=1/0;
> } catch (Exception e) {
>     throw new RuntimeException(e);
> }

This pull request has now been integrated.

Changeset: 68301cde
Author:    Tobias Holenstein <tholenstein at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/68301cdecae861ecb6c910aeb89465a787184454
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8296665: IGV: Show dialog with stack trace for exceptions

Reviewed-by: thartmann, chagedorn

-------------

PR: https://git.openjdk.org/jdk/pull/11060


More information about the hotspot-compiler-dev mailing list