Integrated: 8264868: Reduce inclusion of registerMap.hpp and register.hpp
Ioi Lam
iklam at openjdk.java.net
Sat Apr 10 06:12:25 UTC 2021
On Wed, 7 Apr 2021 21:03:10 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> Register.hpp is included 815 times, and registerMap.hpp is include 862 times (out of about 1000 HotSpot .o files).
>
> This can be reduced by refactoring the popular header file **frame.hpp**, so that it doesn't include registerMap.hpp anymore. This reduces the number of .o files that include register.hpp to 612, and that of registerMap.hpp to 109.
>
> The total number of lines of C++ code compiled for HotSpot is reduced by about 0.5%.
This pull request has now been integrated.
Changeset: c15680e7
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/c15680e7
Stats: 263 lines in 27 files changed: 203 ins; 51 del; 9 mod
8264868: Reduce inclusion of registerMap.hpp and register.hpp
Reviewed-by: coleenp, dholmes
-------------
PR: https://git.openjdk.java.net/jdk/pull/3384
More information about the hotspot-dev
mailing list