RFR: 8354234: Remove friends for ObjectMonitor
David Holmes
dholmes at openjdk.org
Fri Apr 11 04:43:27 UTC 2025
On Thu, 10 Apr 2025 16:19:38 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Please review this somewhat trivial change to remove unneeded friends from the ObjectMonitor class. Two functions were made public for use with ObjectSynchronizer and avoid referencing fields directly from other places.
> Tested with tier1 sanity.
Cleaning up unused friend declarations is good.
Personally I prefer the friend relationship to making API's public.
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/24580#pullrequestreview-2759125460
More information about the hotspot-runtime-dev
mailing list