<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I have hit this ReentrantLock issue a lot in the past.  Since I
    could prove anything about ReentrantLock, I didn't bother filing the
    bug.  Sorry.  My workaround was to switch over to synchronized.  I
    now avoid ReentrantLock.  It would be nice to get this fixed.<br>
    <pre class="moz-signature" cols="72">-Nathan</pre>
    <div class="moz-cite-prefix">On 3/19/2015 11:04 PM, Kirk Pepperdine
      wrote:<br>
    </div>
    <blockquote
      cite="mid:9C4A4607-7532-4FB6-B33B-5B9AC9D99929@kodewerk.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      I see app’s survive OOME because only the offending thread gets
      shot down. After the request that causes the OOME is shot down,
      the rest of the app works fine.. for some definition of fine.
      <div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Kirk</div>
        <div><br>
          <div>
            <div>On Mar 19, 2015, at 9:52 PM, Dmitry Zaslavsky <<a
                moz-do-not-send="true"
                href="mailto:dmitry.zaslavsky@gmail.com">dmitry.zaslavsky@gmail.com</a>>
              wrote:</div>
            <br class="Apple-interchange-newline">
            <blockquote type="cite">
              <meta http-equiv="content-type" content="text/html;
                charset=windows-1252">
              <div dir="auto">
                <div>I doubt it's one of those conditions.</div>
                <div>I would expect the process to die but it's
                  perfectly fine otherwise. Due to this issue it looks
                  like a deadlocked process</div>
                <div><br>
                  Sent from mobile device</div>
                <div><br>
                  On Mar 19, 2015, at 4:50 PM, Vladimir Sitnikov <<a
                    moz-do-not-send="true"
                    href="mailto:sitnikov.vladimir@gmail.com">sitnikov.vladimir@gmail.com</a>>
                  wrote:<br>
                  <br>
                </div>
                <blockquote type="cite">
                  <p dir="ltr">I typically observe 'invalid' state of
                    ReentrantLock due to
                    StackOverflowError/OutOfMemoryError.</p>
                  <p dir="ltr">Can you try your application with
                    extended stack size and/or check for SOE/OOM?</p>
                  <p dir="ltr">Regards,<br>
                    Vladimir Sitnikov</p>
                </blockquote>
              </div>
              _______________________________________________<br>
              Concurrency-interest mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:Concurrency-interest@cs.oswego.edu">Concurrency-interest@cs.oswego.edu</a><br>
              <a class="moz-txt-link-freetext" href="http://cs.oswego.edu/mailman/listinfo/concurrency-interest">http://cs.oswego.edu/mailman/listinfo/concurrency-interest</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Concurrency-interest mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Concurrency-interest@cs.oswego.edu">Concurrency-interest@cs.oswego.edu</a>
<a class="moz-txt-link-freetext" href="http://cs.oswego.edu/mailman/listinfo/concurrency-interest">http://cs.oswego.edu/mailman/listinfo/concurrency-interest</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>