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

Doug Simon dnsimon at openjdk.org
Tue Jun 3 06:32:54 UTC 2025


On Mon, 2 Jun 2025 20:36:37 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 incrementally with one additional commit since the last revision:
> 
>   return List.of() from getAllMethods

Still looks good to me.

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

Marked as reviewed by dnsimon (Reviewer).

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


More information about the hotspot-compiler-dev mailing list