RFR: JDK-8296665: IGV: Show dialog with stack trace for exceptions
Tobias Holenstein
tholenstein at openjdk.org
Mon Nov 14 08:42:32 UTC 2022
On Fri, 11 Nov 2022 15:14:54 GMT, Tobias Hartmann <thartmann 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);
>> }
>
> Okay, thanks for the details. It's probably best to leave the patch as is then.
thanks @TobiHartmann and @chhagedorn for the reviews!
-------------
PR: https://git.openjdk.org/jdk/pull/11060
More information about the hotspot-compiler-dev
mailing list