[jdk8u] RFR: 8348228: Major performance regression in GetMethodDeclaringClass and other JVMTI Method functions

Severin Gehwolf sgehwolf at openjdk.org
Mon Jun 23 14:04:35 UTC 2025


On Mon, 23 Jun 2025 13:31:38 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> Please review this patch for the parity of Oracle's [JDK-8185348](https://bugs.openjdk.org/browse/JDK-8185348).
> 
> Oracle's patch is non-public. This patch is based on @sspitsyn's comments in JDK-8185348 and consistent with JDK9's implementation.
> 
> Before patch, slowjvmti test case from JDK-8185348:
> 16366ms
> 
> After patch:
> 3ms
> 
> PR for jdk8u-dev has been approved: https://github.com/openjdk/jdk8u-dev/pull/656

Why is this being requested as a critical patch? The bug exists since `8u112` - so why the sudden urgency? I'd think this warrants more bake time in the development trees as an 8u only bug. Please close this pr and pursue https://github.com/openjdk/jdk8u-dev/pull/656 instead. Thanks!

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

PR Comment: https://git.openjdk.org/jdk8u/pull/76#issuecomment-2996624631


More information about the jdk8u-dev mailing list