[15] RFR (T): 8238762: Optimized build is broken
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Tue Feb 11 08:17:16 UTC 2020
Thanks, Coleen.
Best regards,
Vladimir Ivanov
On 10.02.2020 20:43, coleen.phillimore at oracle.com wrote:
> Looks good!
> Coleen
>
> On 2/10/20 9:47 AM, Vladimir Ivanov wrote:
>> https://bugs.openjdk.java.net/browse/JDK-8238762
>>
>> Trivial fix for a build problem with optimized build:
>>
>> diff --git a/src/hotspot/share/runtime/mutex.hpp
>> b/src/hotspot/share/runtime/mutex.hpp
>> --- a/src/hotspot/share/runtime/mutex.hpp
>> +++ b/src/hotspot/share/runtime/mutex.hpp
>> @@ -81,7 +81,7 @@
>> char _name[MUTEX_NAME_LEN]; // Name of mutex/monitor
>>
>> // Debugging fields for naming, deadlock detection, etc. (some only
>> used in debug mode)
>> -#ifdef ASSERT
>> +#ifndef PRODUCT
>> bool _allow_vm_block;
>> int _rank; // rank (to avoid/detect potential
>> deadlocks)
>> Mutex* _next; // Used by a Thread to link up owned
>> locks
>>
>> Best regards,
>> Vladimir Ivanov
>
More information about the hotspot-dev
mailing list