RFR: 8266973: Migrate to ClassHierarchyIterator when enumerating subclasses

Vladimir Kozlov kvn at openjdk.java.net
Wed May 12 15:02:55 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

Seems good.
I don't see link to testing in RFE.

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

Marked as reviewed by kvn (Reviewer).

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


More information about the hotspot-runtime-dev mailing list