RFR: 8267532: C2: Profile and prune untaken exception handlers [v5]

Vladimir Ivanov vlivanov at openjdk.org
Wed Nov 15 03:17:34 UTC 2023


On Wed, 15 Nov 2023 01:31:29 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> P.S. for now I've changed it to only have the ProfileExceptionHandlers flag, which then also implicitly turns on the optimization.

The only purpose I see is to simplify diagnosis of possible issues in production. The logic (both profiling and the optimization) will be unconditionally enabled irrespective of configuration. Since profiling-related code is scattered across runtime and compiler areas, the corresponding flag belongs to `globals.hpp`.

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

PR Comment: https://git.openjdk.org/jdk/pull/16416#issuecomment-1811742684


More information about the hotspot-dev mailing list