RFR: Minor cleanup and refactoring
Vladimir Kozlov
kvn at openjdk.org
Sat Sep 27 17:27:55 UTC 2025
On Fri, 26 Sep 2025 20:04:20 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:
> Removed unused parameter `aot_code_entry` in `ciEnv::register_method`.
> Removed `preload` local variable in `ciEnv::register_method` as it is always false.
> Refactored `ciEnv::is_compilation_valid` a bit.
Just one comment
src/hotspot/share/ci/ciEnv.cpp line 986:
> 984: }
> 985:
> 986: // is_aot_code = true implies loading compiled code from AOT code cache
Suggestion: `is_aot_code` -> `is_loading_aot_code`
-------------
PR Review: https://git.openjdk.org/leyden/pull/101#pullrequestreview-3275032720
PR Review Comment: https://git.openjdk.org/leyden/pull/101#discussion_r2384252502
More information about the leyden-dev
mailing list