RFR: 8313816: Accessing jmethodID might lead to spurious crashes [v11]

Coleen Phillimore coleenp at openjdk.org
Mon Dec 4 12:36:58 UTC 2023


On Mon, 4 Dec 2023 11:11:27 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Okay so why does this happen and is it a reasonable thing to be happening? On the surface it sounds wrong to deallocate anything associated with a live classloader.

If we didn't deallocate these old methods, there would be a memory leak when using class redefinition. It would be a lot simpler if we didn't have to do this though.

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

PR Comment: https://git.openjdk.org/jdk/pull/16662#issuecomment-1838543829


More information about the serviceability-dev mailing list