Integrated: 8359064: Expose reason for marking nmethod non-entrant to JVMCI client
Cesar Soares Lucas
cslucas at openjdk.org
Thu Jun 19 18:05:36 UTC 2025
On Mon, 9 Jun 2025 23:57:46 GMT, Cesar Soares Lucas <cslucas at openjdk.org> wrote:
> We recently introduced a way to set the reason why a nmethod was being marked as `not entrant`, see [here](https://github.com/openjdk/jdk/pull/23980) and [here](https://github.com/openjdk/jdk/pull/25338).
>
> This PR is to expose in the JVMCI interface the reason why the nmethod was flagged as `not entrant`. This will allow JVMCI-based compilers to implement heuristics to handle re-compilations differently based on what happened to earlier versions of a method, for instance, this will likely be used to address this [RFE in Truffle](https://github.com/oracle/graal/issues/11045
> ).
>
> Tested on Linux x86_64, ARM with JTREG tier 1-3.
This pull request has now been integrated.
Changeset: 2fe12984
Author: Cesar Soares Lucas <cslucas at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2fe12984474656a08c4525c04a351d85be73f658
Stats: 278 lines in 25 files changed: 177 ins; 7 del; 94 mod
8359064: Expose reason for marking nmethod non-entrant to JVMCI client
Reviewed-by: dnsimon, never
-------------
PR: https://git.openjdk.org/jdk/pull/25706
More information about the graal-dev
mailing list