JDK-8329628 : Additional changes after JDK-8329332
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-04-03
  • Updated: 2024-04-16
  • Resolved: 2024-04-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23 b18Fixed
Related Reports
Relates :  
Relates :  
Description
During review of JDK-8329332 changes there were few suggestions which can be done separately to not complicate already big JDK-8329332.

 - Renaming:
     CompiledMethod_lock -> NMethod_lock
     NMethodIterator::all_blobs -> NMethodIterator::all
 - Move get_deopt_original_pc() method from `nmethod` to `frame` class
 - CodeCache::find_blob() and CodeCache::find_nmethod() should be consistence in returning nullptr and consider adding _or_null() variants.
 - Use `for (CodeHeap* heap : *_nmethod_heaps) ` in `CodeCache::nmethod_count()`.
Comments
Changeset: 6736792b Author: Vladimir Kozlov <kvn@openjdk.org> Date: 2024-04-09 15:32:15 +0000 URL: https://git.openjdk.org/jdk/commit/6736792b9a711b82b21a5f32cde55f2a3f15ffda
09-04-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18665 Date: 2024-04-05 23:39:49 +0000
05-04-2024