[aarch64-port-dev ] Fix compile thresholds for real hardware

Andrew Haley aph at redhat.com
Fri Jul 26 04:08:50 PDT 2013


The default thresholds for compilation are wrong for real hardware.

Andrew.


## HG changeset patch
# User aph
# Date 1374836709 -3600
# Node ID 839d6883d0842e4ed68e07d78a0db7ef7dc51410
# Parent  cdd6408be9aa2c1617fd48ba800b8317d28cea28
Fix compile thresholds for real hardware.

diff -r cdd6408be9aa -r 839d6883d084 src/cpu/aarch64/vm/c1_globals_aarch64.hpp
--- a/src/cpu/aarch64/vm/c1_globals_aarch64.hpp	Fri Jul 26 11:47:12 2013 +0100
+++ b/src/cpu/aarch64/vm/c1_globals_aarch64.hpp	Fri Jul 26 12:05:09 2013 +0100
@@ -42,8 +42,15 @@
 define_pd_global(bool, ProfileTraps,                 false);
 define_pd_global(bool, UseOnStackReplacement,        true );
 define_pd_global(bool, TieredCompilation,            false);
+#ifdef BUILTIN_SIM
+// We compile very aggressively with the builtin simulator because
+// doing so greatly reduces run times and tests more code.
 define_pd_global(intx, CompileThreshold,             150 );
 define_pd_global(intx, BackEdgeThreshold,            500);
+#else
+define_pd_global(intx, CompileThreshold,             1500 );
+define_pd_global(intx, BackEdgeThreshold,            100000);
+#endif

 define_pd_global(intx, OnStackReplacePercentage,     933  );
 define_pd_global(intx, FreqInlineSize,               325  );



More information about the aarch64-port-dev mailing list