RFR: 8365192: post_meth_exit should be in vm state when calling get_jvmti_thread_state [v2]

Serguei Spitsyn sspitsyn at openjdk.org
Wed Aug 13 21:23:12 UTC 2025


On Wed, 13 Aug 2025 07:16:05 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   simplified after feedback
>
> src/hotspot/share/prims/jvmtiExport.cpp line 1837:
> 
>> 1835:   JvmtiThreadState *state = nullptr;
>> 1836:   {
>> 1837:     ThreadInVMfromJava __tiv(thread);
> 
> Nit: Maybe rename: `__tiv` => `tiv`. The prefix `__` is normally used in macros to avoid potential naming conflicts.

Thank you for the update on this!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26713#discussion_r2274671305


More information about the serviceability-dev mailing list