<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
On 01/25/13 15:12, Hiroshi Yamauchi wrote:<br>
<br>
...
<blockquote
cite="mid:CAASM7N+MVgDeVa4GjWOU_jxk9NDmTg1=H1C6ToCmZp5y5k1oTA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div style="">In server applications, this sort of workload
variations can happen for reasons such as capacity
redundancy and time-of-day variations, etc. On desktops,
one might keep open all sorts of applications at the same
time such as web browsers, developer tools, graphics
tools, etc. but might put significant workload (or a
temporary memory usage increase) on only one application
at a time. In such an environment, if an application that
was running with high workload in the past can release
some RAM, it'd be much nicer for other applications.</div>
<div style=""><br>
</div>
<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"><br>
2) applications with many objects larger than a page so
that freeing<br>
those objects could free memory.<br>
</blockquote>
<div><br>
</div>
<div>Yes, but objects don't necessarily have to be larger
than a page as long as free chunks that are left after
they are freed get coalesced together into a free chunk
that's larger than a page.<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
So when a coalesced page gets added back to the free lists it can
deallocate<br>
memory even if the neither of the objects coalesced was greater than
a <br>
page in size. Cool.<br>
<br>
Do you see any increase in the sweeping times? Or the young gen<br>
collection times?<br>
<br>
You mention that you don't deallocate the headers of objects on the
free list.<br>
Was that because you tried deallocation that included the headers
and that<br>
was worse?<br>
<br>
I'll get feedback from the other GC guys and let you know what we<br>
want to do. <br>
<br>
Jon<br>
</body>
</html>