Integrated: 8288537: Move Devirtualizer out of hotspot/share/memory/iterator.hpp

Ioi Lam iklam at openjdk.org
Tue Jun 21 20:58:45 UTC 2022


On Thu, 16 Jun 2022 02:14:37 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> HotSpot build time has regressed quite a bit since JDK 17 (1m46s vs 2m20s on my machine). Now it's time to do some header file cleanup.
> 
> iterator.hpp contains a hodge-podge of unrelated classes. Some of these classes have dependencies on other headers (e.g., `Devirtualizer` depends on bitMap.hpp) that slow down C++ compilation.
> 
> This patch moves two infrequently used classes, `Devirtualizer` and `SerializeClosure`, to their own header files. This reduces the total number of C++ lines compiled for libjvm.so for about 1%.

This pull request has now been integrated.

Changeset: 9f8bfab2
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9f8bfab29009299e81f4929b5dbd399c21f34d7c
Stats:     387 lines in 15 files changed: 227 ins; 154 del; 6 mod

8288537: Move Devirtualizer out of hotspot/share/memory/iterator.hpp

Reviewed-by: stefank, coleenp

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

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


More information about the shenandoah-dev mailing list