[concurrency-interest] On A Formal Definition of 'Data-Race'
thurstonn
thurston at nomagicsoftware.com
Tue Apr 16 14:57:09 EDT 2013
Just curious, how is String#hashCode() racy?
Strings are immutable in java; I looked at the code a bit and I didn't see
anything that looked racy.
The only thing I guess could be:
private char[] value
Although that array is never modified in the String class, so . . .
--
View this message in context: http://jsr166-concurrency.10961.n7.nabble.com/On-A-Formal-Definition-of-Data-Race-tp9408p9445.html
Sent from the JSR166 Concurrency mailing list archive at Nabble.com.
More information about the Concurrency-interest
mailing list