Integrated: 8264797: Do not include klassVtable.hpp from instanceKlass.hpp
Ioi Lam
iklam at openjdk.java.net
Wed Apr 7 03:48:31 UTC 2021
On Tue, 6 Apr 2021 17:07:23 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> instanceKlass.hpp is a popular header, included by 647 of about 1000 HotSpot .o files. It unnecessarily includes klassVtable.hpp (only forward class declarations are needed).
>
> After refactoring, the number of .o files that includes klassVtable.hpp reduces from 647 to 132.
This pull request has now been integrated.
Changeset: c3abdc9a
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/c3abdc9a
Stats: 6 lines in 5 files changed: 5 ins; 1 del; 0 mod
8264797: Do not include klassVtable.hpp from instanceKlass.hpp
Reviewed-by: coleenp, stefank
-------------
PR: https://git.openjdk.java.net/jdk/pull/3360
More information about the hotspot-runtime-dev
mailing list