<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I've filed<br>
    <br>
    7143807: ResourceMark nesting problem in stringStream<br>
    <br>
    for this and assigned it to the runtime group since it's not
    actually a compiler bug.<br>
    <br>
    Paul<br>
    <br>
    On 2/7/12 9:28 AM, Wang, Yang wrote:
    <blockquote
cite="mid:A33718F64608D1479C5B2AE81DFFAD4D0ABCC8E1F3@DEWDFECCR08.wdf.sap.corp"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:2043436503;
        mso-list-type:hybrid;
        mso-list-template-ids:-2075872544 67567631 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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="MsoNormal"><span lang="EN-US">Hi folks,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">&nbsp;&nbsp; </span><span
            style="font-size:10.0pt" lang="EN-US">We found that Hotspot
            allows ResourceMark nesting for stringStream object</span><span
            style="font-size:10.0pt" lang="EN-US">. This can corrupt
            memory when the stringStream object is expanded under the
            second level ResourceMark. <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">&nbsp;&nbsp;&nbsp;Detailed
            descriptions could be found in webrev &nbsp;<span
              style="color:black"><a moz-do-not-send="true"
                href="http://www.sapjvm.com/yw/webrevs/ResourceMark_nesting/">http://www.sapjvm.com/yw/webrevs/ResourceMark_nesting/</a></span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#1F497D" lang="EN-US"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">&nbsp;&nbsp;
            I don&#8217;t have a bugID yet. Please kindly open one bug for
            this issue.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Thanks,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Yang<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy"
              lang="EN-US">Yang Wang<br>
            </span></b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray"
            lang="EN-US">Software Engineer<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray"
            lang="EN-US">TIP Core AS&amp;VM Technology (AG)</span><b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy"
              lang="EN-US"><br>
            </span></b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray"
            lang="EN-US">SAP JVM JIT Compiler</span><i><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray"
              lang="EN-GB"><o:p></o:p></span></i></p>
        <p class="MsoNormal" style="text-autospace:none"><b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">SAP
              AG</span></b><b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy"><br>
            </span></b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">Dietmar-Hopp-Allee
            16<br>
            69190 Walldorf, Germany<b><o:p></o:p></b></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">T
            +49 6227 7-50320</span><b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy"><br>
            </span></b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">F
            +49 6227 78-48541</span><b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy"><br>
            </span></b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">Email
            : <a moz-do-not-send="true"
              href="mailto:yang02.wang@sap.com">yang02.wang@sap.com</a></span><b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy"><br>
            </span></b><a moz-do-not-send="true" href="www.sap.com"><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy">www.sap.com</span></a><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray"><o:p></o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy"><br>
            </span></b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">Pflichtangaben/Mandatory
            Disclosure Statements: </span><a moz-do-not-send="true"
            href="http://www.sap.com/company/legal/impressum.epx"><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy">http://www.sap.com/company/legal/impressum.epx</span></a><b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy"><br>
              <br>
            </span></b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">Diese
            E-Mail kann Betriebs- oder Gesch&auml;ftsgeheimnisse oder
            sonstige vertrauliche Informationen enthalten. Sollten Sie
            diese E-Mail irrt&uuml;mlich erhalten haben, ist Ihnen eine
            Kenntnisnahme des Inhalts, eine Vervielf&auml;ltigung oder
            Weitergabe der E-Mail ausdr&uuml;cklich untersagt. Bitte
            benachrichtigen Sie uns und vernichten Sie die empfangene
            E-Mail. </span><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray"
            lang="EN-US">Vielen Dank. </span><b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy"
              lang="EN-US"><br>
              <br>
            </span></b><span
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray"
            lang="EN-US">This e-mail may contain trade secrets or
            privileged, undisclosed, or otherwise confidential
            information. If you have received this e-mail in error, you
            are hereby notified that any review, copying, or
            distribution of it is strictly prohibited. Please inform us
            immediately and destroy the original transmittal. Thank you
            for your cooperation.</span><span lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
      </div>
    </blockquote>
  </body>
</html>