RFR: 8269934: RunThese24H.java failed with EXCEPTION_ACCESS_VIOLATION in java_lang_Thread::get_thread_status
sspitsyn at openjdk.java.net
Tue Aug 3 10:56:27 UTC 2021
On Tue, 3 Aug 2021 06:38:55 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> I was thinking about the same. If we always use _threadObj() then there is no need to make sure the threadObj is still valid.
> I'm not quite sure what point is being made here. We don't have to do anything to "make sure the threadObj is still valid" as we don't have any code here that could expose a "naked oop". We only need/want to use a handle when we have to ensure the oop is preserved across calls. That is not the case here.
I agree, it is not the case here. Thanks.
More information about the hotspot-runtime-dev