RFR: 8297572: Remove unused PrecisionStyle::Precise

Y. Srinivas Ramakrishna ysr at openjdk.org
Mon Dec 19 20:13:52 UTC 2022


On Mon, 19 Dec 2022 20:09:02 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> src/hotspot/share/gc/shared/space.cpp line 62:
>> 
>>> 60:         // later card.  Figure out where the object ends.
>>> 61:         // Use the block_size() method of the space over which
>>> 62:         // the iteration is being done.  That space (e.g. CMS) may have
>> 
>> What is "CMS" here?
>
> No idea; probably outdated comments.

The code uses `size()` rather than `block_size()`. So my guess is this comment is somewhat obsolete and the comment verbage would need minor updates.

-------------

PR: https://git.openjdk.org/jdk/pull/11676


More information about the hotspot-gc-dev mailing list