diff src/share/vm/opto/chaitin.hpp @ 6632:a1c7f6472621

7148109: C2 compiler consumes too much heap resources Summary: Add split_arena to allocate temporary arrays in PhaseChaitin::Split() and free them on method's exit. Reviewed-by: twisti
author kvn
date Mon, 27 Aug 2012 09:46:38 -0700
parents 8c92982cbbc4
children 056ab43544a4
line wrap: on
line diff
--- a/src/share/vm/opto/chaitin.hpp	Fri Aug 24 16:23:59 2012 -0700
+++ b/src/share/vm/opto/chaitin.hpp	Mon Aug 27 09:46:38 2012 -0700
@@ -470,7 +470,7 @@
 
   // Split uncolorable live ranges
   // Return new number of live ranges
-  uint Split( uint maxlrg );
+  uint Split(uint maxlrg, ResourceArea* split_arena);
 
   // Copy 'was_spilled'-edness from one Node to another.
   void copy_was_spilled( Node *src, Node *dst );