RFR: Use method offset as the hash for storing nmethods

Ashutosh Mehra asmehra at openjdk.org
Thu Aug 14 13:55:49 UTC 2025


On Thu, 14 Aug 2025 13:07:35 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> it looks like we don't need AOTCodeEntry::_method anymore since you are saving offset as hash in _id field. We can always reconstruct method* where it is needed. Which is now only in invalidate_entry() since you need only offset in find_entry().

yeah, good point. We can get rid of that.

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

PR Comment: https://git.openjdk.org/leyden/pull/91#issuecomment-3188543194


More information about the leyden-dev mailing list