[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4989?page=c...
]
Alex Snaps updated HHH-4989:
----------------------------
Attachment: conStat4.patch
It wasn't a dead lock (as the point of these stats is to be non blocking), but
obviously in
for (long old = executionMaxTime.get(); (time > old) &&
!executionMinTime.compareAndSet(old, time); old = executionMaxTime.get());
The compareAndSet will never succeed and run in a loop for ever!
conStat4.patch fixes that. Did test runs locally and it all passes now (core and
annotations).
Sorry about that... While I'll blame it on subversion screwing up diffs though ;)
Make Statistics concurrent safe when Java 5 is present (Alex Snaps)
-------------------------------------------------------------------
Key: HHH-4989
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4989
Project: Hibernate Core
Issue Type: Improvement
Components: core
Affects Versions: 3.5.0-CR-2
Reporter: Emmanuel Bernard
Assignee: Emmanuel Bernard
Attachments: conStat3.patch, conStat4.patch
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira