6589834: deoptimization problem with -XX:+DeoptimizeALot

Relocate the stack pointer adjustment to where uncommon_trap is actually inserted for new_array.

Reviewed-by: kvn, jrose
This commit is contained in:
Changpeng Fang 2009-04-23 14:04:24 -07:00
parent 273a47426e
commit 04fdef79fa
6 changed files with 139 additions and 17 deletions

View file

@ -699,7 +699,7 @@ class GraphKit : public Phase {
Node* slow_test = NULL,
bool raw_mem_only = false,
Node* *return_size_val = NULL);
Node* new_array(Node* klass_node, Node* count_val,
Node* new_array(Node* klass_node, Node* count_val, int nargs,
bool raw_mem_only = false, Node* *return_size_val = NULL);
// Handy for making control flow