RFR: 8266973: Migrate to ClassHierarchyIterator when enumerating subclasses

Vladimir Ivanov vlivanov at openjdk.java.net
Wed May 12 15:11:25 UTC 2021


On Wed, 12 May 2021 13:30:09 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

> Replace ad-hoc recursion when enumerating subclasses with `ClassHierarchyIterator`.
> 
> Found 3 occurrences:
> - `Dependencies::find_finalizable_subclass()`
> - `reinitialize_vtable_of()`
> - `VM_RedefineClasses::increment_class_counter()`
> 
> Testing:
> - [x] hs-tier1 - hs-tier4

Thanks for the review, Vladimir.

> I don't see link to testing in RFE.

Fixed.

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

PR: https://git.openjdk.java.net/jdk/pull/3995


More information about the hotspot-runtime-dev mailing list