https://issues.apache.org/bugzilla/show_bug.cgi?id=44454

--- Comment #24 from Sebb <s...@apache.org> 2010-06-22 08:00:29 EDT ---
Oops, sorry! Though a JVM is not involved here, increment still requires two
separate memory operations.

BTW, shared memory can behave very unexpectedly - e.g. writes by one CPU may
appear out of order to another CPU unless appropriate instructions (memory
barriers) are used. This is in addition to the problems caused by interleaved
reads/writes, which can affect arithmetic operations potentially even on a
single CPU system.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to