RFR: 8303624: The java.lang.Thread.FieldHolder can be null for JNI attaching threads [v3]

David Holmes dholmes at openjdk.org
Fri Mar 10 03:07:01 UTC 2023


On Thu, 9 Mar 2023 16:00:33 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update comment per @alanb
>
> src/hotspot/share/classfile/javaClasses.cpp line 1603:
> 
>> 1601: 
>> 1602: oop java_lang_Thread::holder(oop java_thread) {
>> 1603:   // Note: may be null if the thread is still attaching
> 
> nit perhaps: s/may be null/may return null/

Changed

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

PR: https://git.openjdk.org/jdk/pull/12892


More information about the hotspot-runtime-dev mailing list