JEP 173: Remove Rarely-Used Combinations of Garbage Collectors
aleksey.shipilev at oracle.com
Thu Dec 20 05:44:44 PST 2012
On 12/20/2012 04:49 PM, Kirk Pepperdine wrote:
> That said.... This it is my opinion that putting all of the eggs into
> the G1 basket isn't a wise move. We need G1 today, we will most
> likely need it for 8.0. Could it be depreciated by 9.0, I hope so...
> and then maybe by 10.0 it can finally vanish. I believe this is a
> less aggressive but safer path to take.
My 2c: I feel sympathetic to Kirk's argument.
I think it's all about the definition of deprecation. Deprecating the GC
with "unsupported" clauses stamped all over the manuals and the code is
one thing, but completely removing it before the user base had migrated
out seems to be the questionable move. That said, "just" printing out
the warning message inviting users to migrate away to something (known)
else is a good move. IMO, user migration will take up another major
release to catch up, and for us to fix all the issues with G1, if any,
spotted during the migration.
More information about the hotspot-gc-dev