RFR: 8264797: Do not include klassVtable.hpp from instanceKlass.hpp

Ioi Lam iklam at openjdk.java.net
Wed Apr 7 03:48:30 UTC 2021


On Tue, 6 Apr 2021 20:04:38 GMT, Stefan Karlsson <stefank 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.
>
> Marked as reviewed by stefank (Reviewer).

Thanks @stefank and @coleenp for the review!

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

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


More information about the hotspot-runtime-dev mailing list