RFR: 8357396: Refactor nmethod::make_not_entrant to use Enum instead of "const char*"

Cesar Soares Lucas cslucas at openjdk.org
Thu May 22 22:38:12 UTC 2025


Please review this refactor to transform the reasons for making an nmethod not entrant from `const char*` into enum values.

Tested on Linux x64 with JTREG tier1-3 in fastdebug and release mode.

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

Commit messages:
 - Refactor nmethod make_not_entrant reason

Changes: https://git.openjdk.org/jdk/pull/25338/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25338&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8357396
  Stats: 60 lines in 15 files changed: 26 ins; 4 del; 30 mod
  Patch: https://git.openjdk.org/jdk/pull/25338.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25338/head:pull/25338

PR: https://git.openjdk.org/jdk/pull/25338


More information about the graal-dev mailing list