Integrated: 8266973: Migrate to ClassHierarchyIterator when enumerating subclasses

Vladimir Ivanov vlivanov at openjdk.java.net
Tue May 18 12:50:06 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

This pull request has now been integrated.

Changeset: 9d168e25
Author:    Vladimir Ivanov <vlivanov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/9d168e25d1e2e8b662dc7aa6cda7516c423cef7d
Stats:     101 lines in 9 files changed: 8 ins; 54 del; 39 mod

8266973: Migrate to ClassHierarchyIterator when enumerating subclasses

Reviewed-by: kvn, coleenp

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

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


More information about the hotspot-runtime-dev mailing list