<div dir="ltr">That was on another thread.<div>Now I get that, so I'll just cc next time.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 30, 2015 at 7:21 AM, Stefan Karlsson <span dir="ltr"><<a href="mailto:stefan.karlsson@oracle.com" target="_blank">stefan.karlsson@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span class="">
On 2015-04-30 16:05, Jungwoo Ha wrote:<br>
<blockquote type="cite">
<div dir="ltr">Well, I just followed what Kim suggested before.
<div>I did that before for JDK-8075288, and no one responded yet
on runtime thread.</div>
<div>There are too many different voices from Oracle, which
confuses me.</div>
</div>
</blockquote>
<br></span>
Kim suggested that you should involve the Runtime team:<span class=""><br>
<pre>"I'm not sure of this, but I think metaspace belongs to runtime rather
than gc. If so, this should go through the hs-rt repository and have
runtime folks involved in the review."</pre></span>
not that you should create a new, separate thread on the hotspot-rt
list.<br>
<br>
StefanK<span class=""><br>
<br>
<blockquote type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Apr 30, 2015 at 6:42 AM, Stefan
Karlsson <span dir="ltr"><<a href="mailto:stefan.karlsson@oracle.com" target="_blank">stefan.karlsson@oracle.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Hi Jungwoo,
<div>
<div><br>
<br>
On 2015-04-30 15:33, Jungwoo Ha wrote:<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span><br>
</span> I agree. This is a nice cleanup,
irrespective of any potential performance
gains.<br>
<br>
<a href="http://cr.openjdk.java.net/%7Ejwha/8079091/webrev.00/src/share/vm/memory/metaspace.cpp.udiff.html" target="_blank">http://cr.openjdk.java.net/~jwha/8079091/webrev.00/src/share/vm/memory/metaspace.cpp.udiff.html</a><br>
<br>
-BlockFreelist::BlockFreelist() :
_dictionary(NULL) {}<br>
+BlockFreelist::BlockFreelist()<br>
+ : _dictionary(new
BlockTreeDictionary()) {<br>
+ assert(_dictionary != NULL, "Failed to
allocate BlockTreeDictionary");<br>
+}<br>
<br>
No need to NULL check CHeapObj
allocations, since the JVM will exit if it
failed to get memory. See AllocateHeap:<br>
if (p == NULL && alloc_failmode
== AllocFailStrategy::EXIT_OOM) {<br>
vm_exit_out_of_memory(size,
OOM_MALLOC_ERROR, "AllocateHeap");<br>
}<br>
<br>
</div>
</blockquote>
<div><br>
</div>
<div><a href="http://cr.openjdk.java.net/%7Ejwha/8079091/webrev.02/" target="_blank">http://cr.openjdk.java.net/~jwha/8079091/webrev.02/</a><br>
</div>
<div><br>
</div>
<div>That part is taken care of on webrev.02. </div>
<div>The conversation is also happening at
runtime mailing list as Kim suggested to
pass it to runtime.</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
Please don't split up a review request that way in the
future. It would have been enough to CC the
hotspot-runtime-dev list.<br>
<br>
I'll leave the rest of my comments on that list.<br>
<br>
Thanks,<br>
StefanK<span><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>I think the general agreement is on using
webrev.02. </div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</span></div>
</blockquote></div><br></div>