8004051: assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow
authorbpittore
Thu, 03 Jan 2013 15:08:43 -0500
changeset 15108 25a01874cc47
parent 15085 e0b0c4bbad19
child 15109 088b1ea04490
8004051: assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow Summary: assert is triggered when number of register based arguments passed to a java method exceeds 16. Reviewed-by: roland, vladidan
hotspot/src/share/vm/c1/c1_LIR.hpp
--- a/hotspot/src/share/vm/c1/c1_LIR.hpp	Fri Dec 21 10:27:49 2012 -0800
+++ b/hotspot/src/share/vm/c1/c1_LIR.hpp	Thu Jan 03 15:08:43 2013 -0500
@@ -2259,7 +2259,7 @@
   typedef enum { inputMode, firstMode = inputMode, tempMode, outputMode, numModes, invalidMode = -1 } OprMode;
 
   enum {
-    maxNumberOfOperands = 16,
+    maxNumberOfOperands = 20,
     maxNumberOfInfos = 4
   };