RFR: 8373615: Improve HotSpot debug functions findclass() and findmethod [v2]

Ioi Lam iklam at openjdk.org
Fri Dec 12 23:26:30 UTC 2025


On Fri, 12 Dec 2025 16:49:08 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

>> Ioi Lam has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - sort includes
>>  - @ashu-mehra and @matias9927 review comments
>
> src/hotspot/share/classfile/classPrinter.cpp line 111:
> 
>> 109:   }
>> 110: 
>> 111:   static int compare_klasses_alphadetically(InstanceKlass** a, InstanceKlass** b) {
> 
> Typo here:
> alphadetically -> alphabetically
> 
> You might even want to use alphanumerically or even just "by name" as klasses can have numbers or other characters in their name.

I fixed the typo. There's existing code that uses "alphabetically", so I will stick with that.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28796#discussion_r2615830844


More information about the hotspot-runtime-dev mailing list