JEP proposed to target JDK 11: 318: Epsilon: An Arbitrarily Low-Overhead Garbage Collector

Aleksey Shipilev shade at
Thu Jan 18 10:22:08 UTC 2018

On 01/18/2018 11:15 AM, Andrew Dinn wrote:
> On 18/01/18 10:10, Erik Österlund wrote:
>> I do not feel too comfortable with this being a product flag regardless
>> of the name. There is existing code that assumes that for example
>> System.gc() will actually do something. Similar for assumptions that
>> language features like finalizers and reference objects and queues will
>> do anything at all. That makes me feel uncomfortable. Do you feel
>> comfortable with exposing a product flag that breaks code relying on
>> those features?
> Honestly, if we are at the point where we need to cater for those who
> pass in -XX:+UseNoGC and still expect "System.gc() will actually do
> something" the I believe all hope for civilization is a faint and
> distant pipe dream.
> Have we not bike-shedded this JEP enough already?

The best venue for bike-shedding is obviously Twitter, so I started The Ultimately Representative
Social Study(tm) here:


More information about the jdk-dev mailing list