RFR: 8263775: C2: igv_print() crash unexpectedly when called from debugger

Christian Hagedorn chagedorn at openjdk.java.net
Thu Mar 18 13:10:41 UTC 2021


On Thu, 18 Mar 2021 09:33:05 GMT, Yi Yang <yyang at openjdk.org> wrote:

>>> (But even if applying this patch, igv_print can not work well since it seems produces an ill-formed ideal graph whose tags are not enclosed, thus can not be recognized by idealgraphvisualizer, this looks like a related by different fix, so I might create another PR to address this?)
>> 
>> When does this happen? Can you reliably reproduce this? I also noticed in the past that sometimes when you want to print the graph during some graph modification then IGV could have problems showing the graph. Yes, please open a new bug for that.
>
> Hi @chhagedorn , thanks for your review! It happens when VM crashes before VM exits normally, the ideal graph xml will be ill-formed, this is fairly a common case when debugging another crash/bug.
> 
> (This PR looks trivial, so one reviewer might enough)

Yes, the fix is trivial. I'll sponsor.

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

PR: https://git.openjdk.java.net/jdk/pull/3065


More information about the hotspot-compiler-dev mailing list