RFR: 8262443: GenerateOopMap::do_interpretation can spin for a long time. [v2]

Robbin Ehn rehn at openjdk.java.net
Mon Mar 8 08:21:11 UTC 2021


On Mon, 1 Mar 2021 21:03:53 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>> src/hotspot/share/oops/generateOopMap.cpp line 918:
>> 
>>> 916:         ThreadBlockInVM tbivm(thread->as_Java_thread());
>>> 917:       }
>>> 918:     }
>> 
>> Can you add a comment as to why this is necessary please.
>
> Perhaps something like this above L916:
> 
>   // Since this JavaThread has looped at least once and is _thread_in_vm,
>   // we honor any pending blocking request.

Fixed

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

PR: https://git.openjdk.java.net/jdk/pull/2742


More information about the hotspot-dev mailing list