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

Andrew Haley aph at
Thu Jan 18 11:09:34 UTC 2018

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.

Anybody who relies on finalizers and reference objects and queues to
do anything in bounded time is already assuming something not in the
spec.  They are already lost; Epsilon will reveal to them the depths
of their error.

Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the jdk-dev mailing list