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

Tom Shull duke at openjdk.org
Mon Jun 2 20:36:37 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25498/files
  - new: https://git.openjdk.org/jdk/pull/25498/files/0de1feae..ae81d46f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25498&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25498&range=01-02

  Stats: 5 lines in 1 file changed: 0 ins; 4 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/25498.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25498/head:pull/25498

PR: https://git.openjdk.org/jdk/pull/25498


More information about the hotspot-compiler-dev mailing list