Mercurial > hg > truffle
comparison src/share/vm/runtime/vframe_hp.hpp @ 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 | a61af66fc99e |
children | 89e0543e1737 |
comparison
equal
deleted
inserted
replaced
899:55cb84cd1247 | 900:9987d9d5eb0e |
---|---|
23 */ | 23 */ |
24 | 24 |
25 class compiledVFrame: public javaVFrame { | 25 class compiledVFrame: public javaVFrame { |
26 public: | 26 public: |
27 // JVM state | 27 // JVM state |
28 methodOop method() const; | 28 methodOop method() const; |
29 int bci() const; | 29 int bci() const; |
30 StackValueCollection* locals() const; | 30 bool should_reexecute() const; |
31 StackValueCollection* expressions() const; | 31 StackValueCollection* locals() const; |
32 GrowableArray<MonitorInfo*>* monitors() const; | 32 StackValueCollection* expressions() const; |
33 GrowableArray<MonitorInfo*>* monitors() const; | |
33 | 34 |
34 void set_locals(StackValueCollection* values) const; | 35 void set_locals(StackValueCollection* values) const; |
35 | 36 |
36 // Virtuals defined in vframe | 37 // Virtuals defined in vframe |
37 bool is_compiled_frame() const { return true; } | 38 bool is_compiled_frame() const { return true; } |