RFC: Epsilon GC JEP

Andrew Haley aph at redhat.com
Fri Dec 15 08:38:45 UTC 2017


On 14/12/17 21:29, Micha Berger wrote:
> On Thu, Dec 14, 2017 at 09:42:53PM +0100, Roman Kennke wrote:
>> Am 14.12.2017 um 21:18 schrieb Aleksey Shipilev:
>>> On 12/14/2017 01:15 AM, mberger wrote:
>>>> I think Epsilon supporting System.gc() / Runtime.getRuntime().gc() would be very useful. And if the
>>>> behavior isn't wanted, well there is always -XX:+DisableExplicitGC.
> 
>>> And that will do what? System.gc() requests are ignored by Epsilon, because there is nothing to do.
> 
>> I believe he wanted to say that it'd be useful if it *did* something
>> (i.e. collect garbage). I presume the idea is to never do GC, except
>> when explicitely requested.
> 
> Yes, I was saying that in contrast to doing no GC, I would find it useful
> to have a GC system that only collects on demand.

OK, but that is not one of the goals of Epsilon.  It's a reasonable idea,
but it's another project.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the hotspot-gc-dev mailing list