Integrated: 8299191: Unnecessarily global friend functions for relocInfo

Kim Barrett kbarrett at openjdk.org
Thu Dec 22 17:35:17 UTC 2022


On Wed, 21 Dec 2022 10:17:12 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this small cleanup around the relocInfo class.  It declares a
> couple of global functions as friends, so they have access to private
> constructors and helper functions.  But there is no reason for these functions
> to be at global scope.  It is more natural for them to be static factory
> functions in relocInfo.
> 
> Testing:
> mach5 tier1

This pull request has now been integrated.

Changeset: 62a033ec
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/62a033ecd7058f4a4354ebdcd667b3d7991e1f3d
Stats:     23 lines in 3 files changed: 5 ins; 12 del; 6 mod

8299191: Unnecessarily global friend functions for relocInfo

Reviewed-by: chagedorn, kvn

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

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


More information about the hotspot-compiler-dev mailing list