RFR: 8299191: Unnecessarily global friend functions for relocInfo

Christian Hagedorn chagedorn at openjdk.org
Thu Dec 22 15:18:49 UTC 2022


On Thu, 22 Dec 2022 02:29:56 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> src/hotspot/share/code/relocInfo.cpp line 89:
>> 
>>> 87:   }
>>> 88:   // cannot compact, so just update the count and return the limit pointer
>>> 89:   (*this) = prefix_info(plen);       // write new datalen
>> 
>> Just a minor thing: Is there a specific reason for these additional whitespaces?
>
> No, I've no idea where those spaces came from.  I thought maybe I'd hit `meta-;` (emacs indent for comment), but nope, that puts a different number of spaces there.  And it's not manually lined up with other comments in the function.

Okay :-)

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

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


More information about the hotspot-compiler-dev mailing list