8041481: JVM crashes with collect_args_for_profiling

Method handle call to c1 intrinsic tries to profile popped argument

Reviewed-by: kvn, twisti
This commit is contained in:
Roland Westrelin 2014-04-25 09:22:16 +02:00
parent 54479bee2c
commit 633a96c2e3
4 changed files with 111 additions and 14 deletions

View file

@ -392,6 +392,7 @@ class GraphBuilder VALUE_OBJ_CLASS_SPEC {
Values* args_list_for_profiling(ciMethod* target, int& start, bool may_have_receiver);
Values* collect_args_for_profiling(Values* args, ciMethod* target, bool may_have_receiver);
void check_args_for_profiling(Values* obj_args, int expected);
public:
NOT_PRODUCT(void print_stats();)