[aarch64-port-dev ] Another Milestone: C2 compiler now runs javac!
Andrew Dinn
adinn at redhat.com
Mon Sep 23 10:35:02 PDT 2013
After a small tweak to the arraycopy fixes Andrew introduced last week I
can now run javac on Hello.java to completion with all methods compiled
by C2!
Attached below my sig are timings for 6 different javac runs (well, 12
-- 2 runs for each case) for the possible combinations of interpreted,
C1 compiled and C2 compiled. They probably don't mean too much until we
adjust the invocation thresholds but it's nice that we are in a position
to do that now :-). The pairs of timings are for the following
configurations:
running with -Xcomp (always compile methods) combined with either
exclusively C1
exclusively C2
tiered (compile with C1 but recompile hot methods with C2)
running with --Xmixed (interpret then compile hot methods) with
exclusively C1
exclusively C2
tiered
I have not yet pulled down into my tree Ed's updates to take hotspot up
to b85. So, the push of my fixes will happen once I have assimilated
those changes.
regards,
Andrew Dinn
-----------
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-server-slowdebug/images/j2sdk-image/bin/javac
-J-server -J-Xcomp Hello.java
real 1m54.973s
user 1m59.059s
sys 0m3.066s
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-server-slowdebug/images/j2sdk-image/bin/javac
-J-server -J-Xcomp Hello.java
real 1m53.041s
user 1m57.160s
sys 0m3.167s
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-client-slowdebug/images/j2sdk-image/bin/javac
-J-client -J-Xcomp Hello.java
real 1m39.451s
user 1m41.260s
sys 0m2.440s
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-client-slowdebug/images/j2sdk-image/bin/javac
-J-client -J-Xcomp Hello.java
real 1m38.437s
user 1m40.204s
sys 0m2.207s
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-server-slowdebug/images/j2sdk-image/bin/javac
-J-server -J-Xcomp -J-XX:+TieredCompilation Hello.java
real 3m1.810s
user 3m4.430s
sys 0m1.688s
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-server-slowdebug/images/j2sdk-image/bin/javac
-J-server -J-Xcomp -J-XX:+TieredCompilation Hello.java
real 3m3.156s
user 3m5.551s
sys 0m1.201s
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-server-slowdebug/images/j2sdk-image/bin/javac
-J-server -J-Xmixed -J-XX:-TieredCompilation Hello.java
real 2m14.487s
user 2m20.234s
sys 0m3.559s
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-server-slowdebug/images/j2sdk-image/bin/javac
-J-server -J-Xmixed -J-XX:-TieredCompilation Hello.java
real 2m12.304s
user 2m17.191s
sys 0m2.007s
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-client-slowdebug/images/j2sdk-image/bin/javac
-J-client -J-Xmixed Hello.java
real 1m0.382s
user 1m6.551s
sys 0m2.317s
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-client-slowdebug/images/j2sdk-image/bin/javac
-J-client -J-Xmixed Hello.java
real 1m0.278s
user 1m6.340s
sys 0m2.385s
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-server-slowdebug/images/j2sdk-image/bin/javac
-J-server -J-Xmixed -J-XX:+TieredCompilation Hello.java
real 1m51.451s
user 2m5.395s
sys 0m2.422s
[adinn at zenade jdk8-aarch64]$ time
build/linux-aarch64-normal-server-slowdebug/images/j2sdk-image/bin/javac
-J-server -J-Xmixed -J-XX:+TieredCompilation Hello.java
real 1m46.543s
user 2m2.328s
sys 0m2.886s
More information about the aarch64-port-dev
mailing list