RFR: 8333653: Remove MallocHeader::get_stack

Thomas Stuefe stuefe at openjdk.org
Wed Jun 5 14:43:58 UTC 2024


On Wed, 5 Jun 2024 14:28:10 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

> Hi,
> 
> A small and trivial enhancement, I think. Today, MallocHeader knows about the `MallocSiteTable` and vice versa. That seems a bit strange to me, as it is just a data carrier. Just have only MallocSiteTable be aware of MallocHeader by deleting a method from MallocHeader.

Yes. Good decoupling.

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

Marked as reviewed by stuefe (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19562#pullrequestreview-2099431931


More information about the hotspot-runtime-dev mailing list