Mercurial > hg > graal-compiler
comparison src/share/vm/c1/c1_LIRAssembler.cpp @ 900:9987d9d5eb0e
6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
Summary: developed a reexecute logic for the interpreter to reexecute the bytecode when deopt happens
Reviewed-by: kvn, never, jrose, twisti
author | cfang |
---|---|
date | Fri, 31 Jul 2009 17:12:33 -0700 |
parents | eb28cf662f56 |
children | 89e0543e1737 |
comparison
equal
deleted
inserted
replaced
899:55cb84cd1247 | 900:9987d9d5eb0e |
---|---|
377 for (int n = 0; ; n++) { | 377 for (int n = 0; ; n++) { |
378 int s_bci = bci; | 378 int s_bci = bci; |
379 ValueStack* s = nth_oldest(vstack, n, s_bci); | 379 ValueStack* s = nth_oldest(vstack, n, s_bci); |
380 if (s == NULL) break; | 380 if (s == NULL) break; |
381 IRScope* scope = s->scope(); | 381 IRScope* scope = s->scope(); |
382 debug_info->describe_scope(pc_offset, scope->method(), s_bci); | 382 //Always pass false for reexecute since these ScopeDescs are never used for deopt |
383 debug_info->describe_scope(pc_offset, scope->method(), s_bci, false/*reexecute*/); | |
383 } | 384 } |
384 | 385 |
385 debug_info->end_non_safepoint(pc_offset); | 386 debug_info->end_non_safepoint(pc_offset); |
386 } | 387 } |
387 | 388 |