<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-forward-container">
      <pre>This is a backport from jdk9.  The patch applied cleanly.

8031323: Optionally align objects copied to survivor spaces

Add the option to specify an alignment for allocations into the
survivor spaces.  Survivor space allocations will overflow if the
survivor spaces have not been increased.   The expected use
is to align survivor space allocations to cache line sizes.

This is the webrev for the patch from jdk9.

<a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~jmasa/8031323/webrev.00/">http://cr.openjdk.java.net/~jmasa/8031323/webrev.00/</a>

I made a change to the error message in arguments.cpp
here.  This change was based on a review comment I received
after the push to jdk9

<a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~jmasa/8031323/webrev_delta.00/">http://cr.openjdk.java.net/~jmasa/8031323/webrev_delta.00/</a>


     if (SurvivorAlignmentInBytes < ObjectAlignmentInBytes) {
       jio_fprintf(defaultStream::error_stream(),
<span class="removed"><font color="#ff0000">-          "error: SurvivorAlignmentInBytes=%d must be greater than ObjectAlignmentInBytes=%d \n"</font>,</span>
<span class="new"><font color="#3333ff">+          "error: SurvivorAlignmentInBytes=%d must be greater than or equal to ObjectAlignmentInBytes=%d \n"</font>,</span>
           (int)SurvivorAlignmentInBytes, (int)ObjectAlignmentInBytes);
       return false;
     }

Thanks.

Jon
</pre>
      <br>
    </div>
    <br>
  </body>
</html>