From 0cb7282446080ed5112818bd69161859f827e72f Mon Sep 17 00:00:00 2001 From: Igor Veresov Date: Fri, 8 Aug 2014 13:23:30 -0700 Subject: [PATCH] 8047130: Fewer escapes from escape analysis Treat max_stack attribute as an int in bytecode escape analyzer Reviewed-by: kvn, twisti, ahgross --- hotspot/src/share/vm/ci/bcEscapeAnalyzer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hotspot/src/share/vm/ci/bcEscapeAnalyzer.cpp b/hotspot/src/share/vm/ci/bcEscapeAnalyzer.cpp index ae9def38b26..4c0cd3d8083 100644 --- a/hotspot/src/share/vm/ci/bcEscapeAnalyzer.cpp +++ b/hotspot/src/share/vm/ci/bcEscapeAnalyzer.cpp @@ -89,8 +89,8 @@ class BCEscapeAnalyzer::StateInfo { public: ArgumentMap *_vars; ArgumentMap *_stack; - short _stack_height; - short _max_stack; + int _stack_height; + int _max_stack; bool _initialized; ArgumentMap empty_map;