JDK-8361974 : Release Note: Deallocate jmethodID native memory
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 26
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2025-07-11
  • Updated: 2025-07-12
Description
The internal representation of native method pointers `jmethodID` has been changed to no longer be a pointer to the JVM representation of the method.  Native code that breaks the abstraction of `jmethodID` to assume this representation will stop working in JDK 26.  `jmethodID` is now a unique identifier that the JVM maps to the native JVM Method.
Comments
This looks good to me. Thank you, [~coleenp].
12-07-2025