RFR: 8357987: [JVMCI] Add support for retrieving all methods of a ResolvedJavaType [v4]

Tom Rodriguez never at openjdk.org
Tue Jun 3 19:22:22 UTC 2025


On Tue, 3 Jun 2025 17:52:39 GMT, Tom Shull <duke at openjdk.org> wrote:

>> Currently from ResolvedJavaType one can retrieve all declared methods, static methods, and constructors of the given type. However, internally in HotSpot there are also VM-internal methods, such as overpass methods, associated with a given type which we cannot access via the API.
>> 
>> To correct this, we should add a new method which enables VM-internal methods, such as overpass methods, to be accessed.
>
> Tom Shull has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
> 
>  - Merge remote-tracking branch 'origin/master' into JDK-8357987
>  - return List.of() from getAllMethods
>  - format javadoc and update test
>  - implement getAllMethods
>  - address reviewer feedback
>  - Add Support for Retrieving All Non-Static Methods of a ResolvedJavaType.

Looks good.

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

Marked as reviewed by never (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25498#pullrequestreview-2893798998


More information about the hotspot-compiler-dev mailing list