10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
23 */
24
25 class compiledVFrame: public javaVFrame {
26 public:
27 // JVM state
28 methodOop method() const;
29 int bci() const;
30 StackValueCollection* locals() const;
31 StackValueCollection* expressions() const;
32 GrowableArray<MonitorInfo*>* monitors() const;
33
34 void set_locals(StackValueCollection* values) const;
35
36 // Virtuals defined in vframe
37 bool is_compiled_frame() const { return true; }
38 vframe* sender() const;
39 bool is_top() const;
40
41 // Casting
42 static compiledVFrame* cast(vframe* vf) {
43 assert(vf == NULL || vf->is_compiled_frame(), "must be compiled frame");
44 return (compiledVFrame*) vf;
45 }
46
47 public:
48 // Constructors
49 compiledVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread, nmethod* nm);
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
23 */
24
25 class compiledVFrame: public javaVFrame {
26 public:
27 // JVM state
28 methodOop method() const;
29 int bci() const;
30 bool should_reexecute() const;
31 StackValueCollection* locals() const;
32 StackValueCollection* expressions() const;
33 GrowableArray<MonitorInfo*>* monitors() const;
34
35 void set_locals(StackValueCollection* values) const;
36
37 // Virtuals defined in vframe
38 bool is_compiled_frame() const { return true; }
39 vframe* sender() const;
40 bool is_top() const;
41
42 // Casting
43 static compiledVFrame* cast(vframe* vf) {
44 assert(vf == NULL || vf->is_compiled_frame(), "must be compiled frame");
45 return (compiledVFrame*) vf;
46 }
47
48 public:
49 // Constructors
50 compiledVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread, nmethod* nm);
|