RFR: JDK-8296665: IGV: Show dialog with stack trace for exceptions
Christian Hagedorn
chagedorn at openjdk.org
Fri Nov 11 15:33:33 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);
> }
Makes sense to add this back now that IGV is more stable - looks good!
-------------
Marked as reviewed by chagedorn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11060
More information about the hotspot-compiler-dev
mailing list