<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Memory visibility would be guaranteed. If there is no happens-before ordering then one thread's put is not always visible to another thread's get even if they happen in the proper order. Also corruption of the table could result in a dead table.</div><div><br></div><div>E.g.</div><div><br></div><div>1. Thread A -> put Kz</div><div>2. Other stuff</div><div>3. Thread B -> get Kz </div><div>(Returns cached stale value, null)</div><div><br></div><div><br></div><div>Granted there could still be some ordering problem. Like we are allowing requests to get handled before the server is started.</div><div><br></div><div><br>Sent from my iPhone</div><div><br>On Dec 29, 2013, at 4:54 AM, Ales Justin <<a href="mailto:ales.justin@gmail.com">ales.justin@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>How would proper map sync help here then?</div><div><br></div><div>Are you saying there is a put and get going on at the same time?</div><div>Imo, this then means WF' dependencies are not done right.</div><div><br></div><div>btw: when do you "corrupt" a HashMap? (wrt my diff manifestation)</div><div>With multiple concurrent puts/removes, or can it be mixture of puts/gets/removes?</div><div><br>On Dec 29, 2013, at 2:56, Jason Greene <<a href="mailto:jgreene@redhat.com">jgreene@redhat.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>It looks exactly how it would manifest. Something isn't in the map that should be, so an error is thrown.</div><div><br>On Dec 27, 2013, at 1:26 PM, Ales Justin <<a href="mailto:ales.justin@gmail.com">ales.justin@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><div>That's one thing -- dunno how that did pop-up before. ;-)</div><div><br></div><div>But I doubt that just non-synchronised collections/maps cause this -- it would manifest differently.</div><div>Imo, it must also be a race-condition in WF.</div><br><div><div>On 27 Dec 2013, at 17:50, Anil Saldhana <<a href="mailto:Anil.Saldhana@redhat.com">Anil.Saldhana@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Stefan merged the fixes recently. I
guess we need a PicketBox upgrade in WF.<br>
<br>
On 12/27/2013 06:54 AM, Ales Justin wrote:<br>
</div>
<blockquote cite="mid:11D264CE-737F-46D8-A888-C44831A2EDEB@gmail.com" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
I often get this error:
<div>* <a moz-do-not-send="true" href="https://gist.github.com/alesj/8146623">https://gist.github.com/alesj/8146623</a></div>
<div><br>
</div>
<div>I guess it's related to <a moz-do-not-send="true" href="https://issues.jboss.org/browse/SECURITY-777">https://issues.jboss.org/browse/SECURITY-777</a> ?</div>
<div><br>
</div>
<div>Do we have a JIRA for WF as well?</div>
<div><br>
</div>
<div>-Ales</div>
<br>
</blockquote>
</div>
_______________________________________________<br>wildfly-dev mailing list<br><a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></blockquote></div><br></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>wildfly-dev mailing list</span><br><span><a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></span></div></blockquote></div></blockquote></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>wildfly-dev mailing list</span><br><span><a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></span></div></blockquote></body></html>