[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    RE: RFR : [XS] 8214373: adjust usage of ReleaseLongArrayElements in MacosxDebuggerLocal
From:       "Baesken, Matthias" <matthias.baesken () sap ! com>
Date:       2018-11-28 8:18:19
Message-ID: VI1PR02MB4384FE3A5D0C128EF01579E793D10 () VI1PR02MB4384 ! eurprd02 ! prod ! outlook ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]

Hi Thomas and JC , thanks for the  reviews !

Best regards, Matthias


From: JC Beyler <jcbeyler@google.com>
Sent: Dienstag, 27. November 2018 16:48
To: Baesken, Matthias <matthias.baesken@sap.com>
Cc: hotspot-dev Source Developers <hotspot-dev@openjdk.java.net>; \
                serviceability-dev@openjdk.java.net
Subject: Re: RFR : [XS] 8214373: adjust usage of ReleaseLongArrayElements in \
MacosxDebuggerLocal

Hi Matthias,

Not a reviewer but looks good to me :). I checked if other releases were not in the \
right place and they all seemed good as well. Jc

On Tue, Nov 27, 2018 at 7:09 AM Baesken, Matthias \
<matthias.baesken@sap.com<mailto:matthias.baesken@sap.com>> wrote: Hello, please \
review this small fix .

In  MacosxDebuggerLocal.m ,  at a few places  the  functions   GetLongArrayElements  \
and  ReleaseLongArrayElements  are used.

However  there is one place  where in an early return  the ReleaseLongArrayElements \
call has been forgotten .

Additionally at another place  ReleaseLongArrayElements   is at the wrong place \
(although this is probably not a big issue  currently).


Bug/webrev:

https://bugs.openjdk.java.net/browse/JDK-8214373

http://cr.openjdk.java.net/~mbaesken/webrevs/8214373.0/



Thanks, Matthias


--

Thanks,
Jc


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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;}
/* 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.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	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]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Hi Thomas \
and JC , thanks for the &nbsp;reviews !<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" \
style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Best regards, \
Matthias<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" \
style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p> <div \
style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"> <div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> JC \
Beyler &lt;jcbeyler@google.com&gt; <br>
<b>Sent:</b> Dienstag, 27. November 2018 16:48<br>
<b>To:</b> Baesken, Matthias &lt;matthias.baesken@sap.com&gt;<br>
<b>Cc:</b> hotspot-dev Source Developers &lt;hotspot-dev@openjdk.java.net&gt;; \
serviceability-dev@openjdk.java.net<br> <b>Subject:</b> Re: RFR : [XS] 8214373: \
adjust usage of ReleaseLongArrayElements in MacosxDebuggerLocal<o:p></o:p></span></p> \
</div> </div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Hi Matthias,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Not a reviewer but looks good to me :). I checked if other \
releases were not in the right place and they all seemed good as well.<o:p></o:p></p> \
</div> <div>
<p class="MsoNormal">Jc<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">On Tue, Nov 27, 2018 at 7:09 AM Baesken, Matthias &lt;<a \
href="mailto:matthias.baesken@sap.com">matthias.baesken@sap.com</a>&gt; \
wrote:<o:p></o:p></p> </div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm \
6.0pt;margin-left:4.8pt;margin-right:0cm"> <p class="MsoNormal">Hello, please review \
this small fix .<br> <br>
In&nbsp; MacosxDebuggerLocal.m ,&nbsp; at a few places&nbsp; the&nbsp; \
functions&nbsp; &nbsp;GetLongArrayElements&nbsp; and&nbsp; \
ReleaseLongArrayElements&nbsp; are used.<br> <br>
However&nbsp; there is one place&nbsp; where in an early return&nbsp; the \
ReleaseLongArrayElements call has been forgotten .<br> <br>
Additionally at another place&nbsp; ReleaseLongArrayElements&nbsp; &nbsp;is at the \
wrong place (although this is probably not a big issue&nbsp; currently).<br> <br>
<br>
Bug/webrev:<br>
<br>
<a href="https://bugs.openjdk.java.net/browse/JDK-8214373" \
target="_blank">https://bugs.openjdk.java.net/browse/JDK-8214373</a><br> <br>
<a href="http://cr.openjdk.java.net/~mbaesken/webrevs/8214373.0/" \
target="_blank">http://cr.openjdk.java.net/~mbaesken/webrevs/8214373.0/</a><br> <br>
<br>
<br>
Thanks, Matthias<o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<div>
<p class="MsoNormal">Jc<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic