RFR: 8367689: Revert removal of several compilation-related vmStructs fields [v3]

Kevin Walls kevinw at openjdk.org
Thu Sep 18 08:03:04 UTC 2025


On Wed, 17 Sep 2025 18:54:19 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:

>> #23782 ([JDK-8315488](https://bugs.openjdk.org/browse/JDK-8315488)) removed several vmStructs fields. A small subset was used in Async-Profiler:
>> 
>> CiEnv* _env
>> CompileTask* _task
>> ciMethod* _method
>> 
>> 
>> I propose a small patch to bring them back. It helps third-party tools in building useful features on the JDK. For example, Async-Profiler uses these fields to display the current method being compiled in a compiler thread.
>
> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
> 
>   comment

src/hotspot/share/runtime/vmStructs.cpp line 673:

> 671:   /* to ease their migration to a future alternative.                                       */                                       \
> 672:   /******************************************************************************************/                                       \
> 673:                                                                                                                                      \

oops just a missing close ), but yes other than that I think we're done 8-)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27318#discussion_r2357942557


More information about the graal-dev mailing list