Integrated: 8329628: Additional changes after JDK-8329332
Vladimir Kozlov
kvn at openjdk.org
Tue Apr 9 15:37:13 UTC 2024
On Fri, 5 Apr 2024 23:39:49 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> Additional clean up based on comments (mostly Stefan's) during reviews for [JDK-8329332: Remove CompiledMethod and CodeBlobLayout classes](https://bugs.openjdk.org/browse/JDK-8329332).
> - Renamed `CompiledMethod_lock` to `NMethod_lock`. (I decided to not change JVMTI's `CompiledMethod[Load|Unload]` names).
> - Renamed `NMethodIterator::all_blobs` to `NMethodIterator::all`.
> - Moved `get_deopt_original_pc()` method from `nmethod` to `frame` class.
> - Reverted `CodeCache::find_nmethod()` to previous functionality to allow return `nullptr` and be consistent with `find_blob()`.
> - Cleanup some `(nmethod*)` casts.
> - Use `for (CodeHeap* heap : *_nmethod_heaps) ` in `CodeCache::nmethod_count()` (it was @stefank suggestion, I don't know how this C++ magic works). I verified it running with `-XX:+PrintNMethodStatistics`.
>
> Testing tier1-3,xcomp,stress
This pull request has now been integrated.
Changeset: 6736792b
Author: Vladimir Kozlov <kvn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6736792b9a711b82b21a5f32cde55f2a3f15ffda
Stats: 128 lines in 37 files changed: 23 ins; 21 del; 84 mod
8329628: Additional changes after JDK-8329332
Reviewed-by: stefank, eosterlund
-------------
PR: https://git.openjdk.org/jdk/pull/18665
More information about the graal-dev
mailing list