RFR: 8269122: The use of "extern const" for Register definitions generates poor code [v4]
Andrew Haley
aph at openjdk.java.net
Fri Jun 25 15:31:28 UTC 2021
> Register definitions in HotSpot are declared as "extern const"
> for ancient-historical reasons. We should stop doing that: it would
> make the assembler significantly faster and smaller, improving both
> bootstrap time and compilation speed.
>
> This change shaves 2% off the size of the text section of libjvm.so on AArch64.
Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
Remove dead code
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4554/files
- new: https://git.openjdk.java.net/jdk/pull/4554/files/621c25be..a38ec48f
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4554&range=03
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4554&range=02-03
Stats: 60 lines in 1 file changed: 0 ins; 60 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/4554.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4554/head:pull/4554
PR: https://git.openjdk.java.net/jdk/pull/4554
More information about the hotspot-compiler-dev
mailing list