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

Severin Gehwolf sgehwolf at openjdk.org
Tue Aug 5 16:31:16 UTC 2025


On Thu, 3 Jul 2025 09:39:00 GMT, Severin Gehwolf <sgehwolf 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 https://github.com/openjdk/jdk8u-dev/pull/656#issuecomment-2999799800 needs to be addressed before this can be approved.

> @jerboaa Sorry for replying late. I would like to clarify that there is _not_ public patch for [JDK-8185348](https://bugs.openjdk.org/browse/JDK-8185348), so that it is not possible to have direct back port.

Yes, I believe for that reason there is the `Backport JDK-8185348` trick or `Backport 8185348` as PR title as alluded to in [this comment](https://github.com/openjdk/jdk8u-dev/pull/656#issuecomment-2999799800) to massage the bots to recognize it as backport. Please try that. See https://bugs.openjdk.org/browse/SKARA-1076

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

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


More information about the jdk8u-dev mailing list