Mercurial > hg > truffle
comparison src/share/vm/interpreter/templateInterpreter.hpp @ 1339:09ac706c2623
Merge
author | asaha |
---|---|
date | Wed, 24 Mar 2010 17:16:33 -0700 |
parents | 389049f3f393 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1338:f5dd08ad65df | 1339:09ac706c2623 |
---|---|
108 #ifndef PRODUCT | 108 #ifndef PRODUCT |
109 static EntryPoint _trace_code; | 109 static EntryPoint _trace_code; |
110 #endif // !PRODUCT | 110 #endif // !PRODUCT |
111 static EntryPoint _return_entry[number_of_return_entries]; // entry points to return to from a call | 111 static EntryPoint _return_entry[number_of_return_entries]; // entry points to return to from a call |
112 static EntryPoint _earlyret_entry; // entry point to return early from a call | 112 static EntryPoint _earlyret_entry; // entry point to return early from a call |
113 static EntryPoint _return_unbox_entry; // entry point to unbox a return value from a call | |
114 static EntryPoint _deopt_entry[number_of_deopt_entries]; // entry points to return to from a deoptimization | 113 static EntryPoint _deopt_entry[number_of_deopt_entries]; // entry points to return to from a deoptimization |
115 static EntryPoint _continuation_entry; | 114 static EntryPoint _continuation_entry; |
116 static EntryPoint _safept_entry; | 115 static EntryPoint _safept_entry; |
117 | 116 |
118 static address _return_3_addrs_by_index[number_of_return_addrs]; // for invokevirtual return entries | 117 static address _return_3_addrs_by_index[number_of_return_addrs]; // for invokevirtual return entries |
119 static address _return_5_addrs_by_index[number_of_return_addrs]; // for invokeinterface return entries | 118 static address _return_5_addrs_by_index[number_of_return_addrs]; // for invokeinterface return entries |
120 static address _return_5_unbox_addrs_by_index[number_of_return_addrs]; // for invokedynamic bootstrap methods | |
121 | 119 |
122 static DispatchTable _active_table; // the active dispatch table (used by the interpreter for dispatch) | 120 static DispatchTable _active_table; // the active dispatch table (used by the interpreter for dispatch) |
123 static DispatchTable _normal_table; // the normal dispatch table (used to set the active table in normal mode) | 121 static DispatchTable _normal_table; // the normal dispatch table (used to set the active table in normal mode) |
124 static DispatchTable _safept_table; // the safepoint dispatch table (used to set the active table for safepoints) | 122 static DispatchTable _safept_table; // the safepoint dispatch table (used to set the active table for safepoints) |
125 static address _wentry_point[DispatchTable::length]; // wide instructions only (vtos tosca always) | 123 static address _wentry_point[DispatchTable::length]; // wide instructions only (vtos tosca always) |
157 static address* normal_table() { return _normal_table.table_for(); } | 155 static address* normal_table() { return _normal_table.table_for(); } |
158 | 156 |
159 // Support for invokes | 157 // Support for invokes |
160 static address* return_3_addrs_by_index_table() { return _return_3_addrs_by_index; } | 158 static address* return_3_addrs_by_index_table() { return _return_3_addrs_by_index; } |
161 static address* return_5_addrs_by_index_table() { return _return_5_addrs_by_index; } | 159 static address* return_5_addrs_by_index_table() { return _return_5_addrs_by_index; } |
162 static address* return_5_unbox_addrs_by_index_table() { return _return_5_unbox_addrs_by_index; } | |
163 static int TosState_as_index(TosState state); // computes index into return_3_entry_by_index table | 160 static int TosState_as_index(TosState state); // computes index into return_3_entry_by_index table |
164 | 161 |
165 static address return_entry (TosState state, int length); | 162 static address return_entry (TosState state, int length); |
166 static address deopt_entry (TosState state, int length); | 163 static address deopt_entry (TosState state, int length); |
167 static address return_unbox_entry(TosState state, int length); | |
168 | 164 |
169 // Safepoint support | 165 // Safepoint support |
170 static void notice_safepoints(); // stops the thread when reaching a safepoint | 166 static void notice_safepoints(); // stops the thread when reaching a safepoint |
171 static void ignore_safepoints(); // ignores safepoints | 167 static void ignore_safepoints(); // ignores safepoints |
172 | 168 |