RFR: JDK-8148951: Remove unused method Generation::performs_in_place_marking()
bengt.rutisson at oracle.com
Wed Feb 3 13:34:12 UTC 2016
On 2016-02-03 14:24, David Lindholm wrote:
> Your change looks good. Reviewed.
> On 2016-02-03 13:47, Bengt Rutisson wrote:
>> Hi everyone,
>> Could I have a couple of reviews for this small cleanup?
>> The methods Generation::performs_in_place_marking() is documented as
>> that it should be used by biased locking. But it is currently unused
>> and a "hg grep performs_in_place_marking" does not indicate that it
>> was ever used.
>> Currently it is only used in two asserts, but these operate on a
>> young or an old generation instance, where
>> performs_in_place_marking() adds no value since it returns true for
>> old generations and false for young.
More information about the hotspot-gc-dev