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

Severin Gehwolf sgehwolf at openjdk.org
Tue Jun 24 10:54:35 UTC 2025


On Fri, 30 May 2025 13:31:05 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

@zhengyu123 The master bug for this is [JDK-8185348](https://bugs.openjdk.org/browse/JDK-8185348). We should track it as a backport. In this case there is no sha to reference in the PR title. Please use `Backport JDK-8185348` which should work in this case and get the backport label added.

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

PR Comment: https://git.openjdk.org/jdk8u-dev/pull/656#issuecomment-2999799800


More information about the jdk8u-dev mailing list