Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/c2_globals.hpp @ 23471:70649f10b88c
8129847: Compiling methods generated by Nashorn triggers high memory usage in C2
Summary: Add a new compiler phase, PhaseRenumberLive, that renumbers live nodes.
Reviewed-by: kvn, thartmann, vlivanov, shade
author | zmajo |
---|---|
date | Tue, 15 Dec 2015 09:46:51 +0100 |
parents | 9e69e8d1c900 |
children | cf93dd06db0f |
line wrap: on
line diff
--- a/src/share/vm/opto/c2_globals.hpp Wed Dec 09 10:26:00 2015 -0800 +++ b/src/share/vm/opto/c2_globals.hpp Tue Dec 15 09:46:51 2015 +0100 @@ -669,6 +669,9 @@ product_pd(bool, TrapBasedRangeChecks, \ "Generate code for range checks that uses a cmp and trap " \ "instruction raising SIGTRAP. Used on PPC64.") \ + \ + develop(bool, RenumberLiveNodes, true, \ + "Renumber live nodes") \ C2_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG)