RFR: 8312132: Add tracking of multiple address spaces in NMT [v5]

Johan Sjölen jsjolen at openjdk.org
Sun Apr 21 10:21:57 UTC 2024


On Wed, 17 Apr 2024 05:19:03 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> One annoying part about such a design is that you can't use pointers to values as keys, they must now be wrapped within their own type (like `StackIndex` does). Yes, there's a bit of a smell of YAGNI here, but at least `std::set` agrees with me on `Compare` being a template argument.
>
> Could the comparator be a funktor then? Something with a static compare function?

Sure, I've got a commit changing it out now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18289#discussion_r1573700023


More information about the hotspot-dev mailing list