RFR: 8233281: Obsolete UseSemaphoreGCThreadsSynchronization

Thomas Schatzl thomas.schatzl at oracle.com
Fri Aug 14 13:49:58 UTC 2020


Hi,

On 14.08.20 15:42, Stefan Karlsson wrote:
> Hi all,
> 
> Please review this patch to obsolete the diagnostic 
> UseSemaphoreGCThreadsSynchronization JVM option.
> 
> https://bugs.openjdk.java.net/browse/JDK-8233281
> https://cr.openjdk.java.net/~stefank/8233281/webrev.01
> 
> I added this flag when implementing:
> 8087324: Use semaphores when starting and stopping GC task threads
> 
> It was intended to be a fallback solution if the new semaphore 
> implementation failed to to work for any reason. We've used the 
> semaphore code for many years now, and the Mutex implementation has bit 
> rottened.
> 
> The proposed patch both obsoletes the the JVM flag, and removes the 
> Mutex dispatch mechanism.

   lgtm.

Thomas



More information about the hotspot-gc-dev mailing list