From 782ef982f6590f2ea6d0765c06e6bb31eb648618 Mon Sep 17 00:00:00 2001 From: Bill Pittore Date: Thu, 3 Jan 2013 15:08:43 -0500 Subject: [PATCH] 8004051: assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/share/vm/c1/c1_LIR.hpp b/hotspot/src/share/vm/c1/c1_LIR.hpp index 122ebe8ce1b..cec92f78c27 100644 --- a/hotspot/src/share/vm/c1/c1_LIR.hpp +++ b/hotspot/src/share/vm/c1/c1_LIR.hpp @@ -2259,7 +2259,7 @@ class LIR_OpVisitState: public StackObj { typedef enum { inputMode, firstMode = inputMode, tempMode, outputMode, numModes, invalidMode = -1 } OprMode; enum { - maxNumberOfOperands = 16, + maxNumberOfOperands = 20, maxNumberOfInfos = 4 };