[15] RFR (T): 8238762: Optimized build is broken

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Mon Feb 10 17:43:28 UTC 2020


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