RFR 8235515: TestBasicLogOutput.java crashes due to EXCEPTION_ACCESS_VIOLATION in HandshakeThreadsOperation::do_handshake

Doerr, Martin martin.doerr at sap.com
Tue Dec 10 17:50:37 UTC 2019


+1

Best regards,
Martin


> -----Original Message-----
> From: hotspot-runtime-dev <hotspot-runtime-dev-
> bounces at openjdk.java.net> On Behalf Of Daniel D. Daugherty
> Sent: Dienstag, 10. Dezember 2019 18:43
> To: Patricio Chilano <patricio.chilano.mateo at oracle.com>; hotspot-runtime-
> dev at openjdk.java.net
> Subject: Re: RFR 8235515: TestBasicLogOutput.java crashes due to
> EXCEPTION_ACCESS_VIOLATION in
> HandshakeThreadsOperation::do_handshake
> 
> On 12/10/19 10:06 AM, Patricio Chilano wrote:
> > Hi,
> >
> > Could you review this small fix? Signaling the _done semaphore has to
> > be done after logging, otherwise we could be accessing an already
> > destroyed HandshakeThreadsOperation object when executing name().
> >
> > Bug: https://bugs.openjdk.java.net/browse/JDK-8235515
> > Webrev: http://cr.openjdk.java.net/~pchilanomate/8235515/v01/webrev/
> 
> src/hotspot/share/runtime/handshake.cpp
>      No comments.
> 
> Nice catch! Looks like that "name()" call in the logging message
> is the culprit here.
> 
> Thumbs up. I think this qualifies as a trivial fix.
> 
> Dan
> 
> 
> 
> >
> > Thanks!
> > Patricio



More information about the hotspot-runtime-dev mailing list