On Tue, 24 Jun 2025 13:04:19 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:
> The jmethodID table is so that jmethodID isn't a stale pointer itself and > doesn't require us to hold a stale pointer, but whether it can return a stale > Method* (now and before this change) is something we should figure out how it > should work. That's fine. I (per my response to Thomas) thought the new approach also closed the door on unsafe usage of the `jMethodID`, but that is not the case. It probably does close the door quite a bit in relation to current approach though. ------------- PR Comment: https://git.openjdk.org/jdk/pull/25267#issuecomment-3002503846