tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49972] Double-check idiom. Possible data-race.
Date Thu, 23 Sep 2010 08:03:41 GMT

--- Comment #8 from Kostya Serebryany <> 2010-09-23
04:03:35 EDT ---
>> If there were no possibility of an exception, your statement would be true.
I am not sure about this particular case, but in general a compiler (JIT) may
statically figure out that an exception will never be thrown and eliminate the
exception handling code completely -- and then shuffle the code in arbitrary
I don't think that 'this code may throw exception' may be used as

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message