RFR 8249837: Avoid direct or implicit Thread::current() calls when we already have a current thread variable

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Wed Jul 29 18:28:23 UTC 2020


Thank you Vladimir!
Coleen

On 7/29/20 1:00 PM, Vladimir Kozlov wrote:
> Compiler and jvmci code change slooks good.
>
> Thanks,
> Vladimir K
>
> On 7/29/20 8:54 AM, coleen.phillimore at oracle.com wrote:
>> Summary: Add current thread and/or moved HandleMark to the scope that 
>> it is needed
>>
>> This patch removes HandleMarks from the GC code.  I added a 
>> NoHandleMark to these places and found the locations in the 
>> verification code that needs the HandleMarks, and moved them there.
>>
>> Tested with tier1-6 with no failures.
>>
>> open webrev at 
>> http://cr.openjdk.java.net/~coleenp/2020/8249837.01/webrev
>> bug link https://bugs.openjdk.java.net/browse/JDK-8249837
>>
>> Thanks,
>> Coleen



More information about the hotspot-dev mailing list