<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Arno,</p>
    <p>exclusiveAccess.dirs is what you are looking for. The text in the
      description should be improved to indicate that the lock applies
      to all tests in all the nominated directories.</p>
    <p>For example, this would be a reasonable update to the spec:</p>
    <p><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black;mso-fareast-language:DE"
        lang="EN-US"> - should ensure that all tests in the specified
        directories are run when no other tests in <font
          color="#ff0000">the same directory is </font>being run.</span><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black;mso-fareast-language:DE"
        lang="EN-US"><br>
        + should ensure that all tests in the specified directories are
        run when no other tests in <font color="#009900">any of the
          given directories are</font> being run.</span></p>
    <div class="moz-cite-prefix">-- Jon</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 2/8/19 8:03 AM, Zeller, Arno wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:664ff22ffeff4606a4662155e577e2f9@sap.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
code
        {mso-style-priority:99;
        font-family:"Courier New",serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoPlainText">Hello,<o:p></o:p></p>
        <p class="MsoPlainText"><o:p> </o:p></p>
        <p class="MsoPlainText"><span lang="EN-US">while I am
            investigating a problem with a jtreg test that fails because
            the test machine is running out of native memory I hoped to
            find a tag that ensures the test will run with no other test
            running in parallel – even when I start the jtreg harness
            with -conc:<x>  and  x > 1.<o:p></o:p></span></p>
        <p class="MsoPlainText"><span lang="EN-US">There are a few test
            that start the VM with a big heap (4 or 8GB) heap and if
            these might run concurrent it will always lead to problems.
            There might be other test that use special resources that
            might be limited.<o:p></o:p></span></p>
        <p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoPlainText"><span lang="EN-US">I looked at the tag
            specification (<a
              href="http://openjdk.java.net/jtreg/tag-spec.html"
              moz-do-not-send="true">http://openjdk.java.net/jtreg/tag-spec.html</a>)
            but did not find a tag for this.<o:p></o:p></span></p>
        <p class="MsoPlainText"><span lang="EN-US">What I found is the
            following keyword for TEST.properties files:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New",serif;color:black;mso-fareast-language:DE"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New",serif;color:black;mso-fareast-language:DE"
            lang="EN-US">exclusiveAccess.dirs <i><directories></i></span><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black;mso-fareast-language:DE"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:6.0pt;margin-left:36.0pt"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black;mso-fareast-language:DE"
            lang="EN-US">Directories containing tests which should not
            be run concurrently at the same time as other tests. A
            harness that supports concurrent test execution should
            ensure that all tests in the specified directories are run
            when no other tests in the same directory is being run.<o:p></o:p></span></p>
        <p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoPlainText"><span lang="EN-US">But as far as I
            understand this only ensures that test in the same directory
            are not run concurrently - still other test from a different
            directory could run concurrently and might compete for
            limited resources. Did I get this right?<o:p></o:p></span></p>
        <p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoPlainText"><span lang="EN-US">Is there another
            possibility to specify that test should run alone?<o:p></o:p></span></p>
        <p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoPlainText"><span lang="EN-US">Best regards,<o:p></o:p></span></p>
        <p class="MsoPlainText"><span lang="EN-US">Arno<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">                <o:p></o:p></span></p>
      </div>
    </blockquote>
  </body>
</html>