Unused GC causes

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Wed Sep 23 19:33:44 UTC 2015


Hi,

I found that there are a few GC causes that are unused:

_allocation_profiler
_tenured_generation_full
_cms_generation_full
_old_generation_expanded_on_last_scavenge
_old_generation_too_full_to_scavenge

A few of these are used in asserts and similar, but none of them are ever used 
to set the cause for a GC.

Is there a reason to why these exists but are unused, is it a bug that they are 
unused, or should we just remove them?

Thanks,
/Jesper



More information about the hotspot-gc-dev mailing list