RFR: 8267532: Try/catch block not optimized as expected [v3]

Yudi Zheng yzheng at openjdk.org
Mon Nov 6 09:31:14 UTC 2023


On Mon, 6 Nov 2023 09:04:37 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

>> I think that's fine (@dougxc, fyi).
>
> I also think it's fine but would like @tkrodriguez to confirm as well.

I think it should be straightforward to add this profile for JVMCI compiler at line 693 with

      if (t->bci() != -1) { // did we find a handler in this method?
        sd->method()->set_ex_handler_entered(t->bci()); // profile
      }

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16416#discussion_r1382998917


More information about the hotspot-dev mailing list