Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/thread.hpp @ 3558:bc95d122df79
added runtime call to supply info upon deoptimization
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 24 Aug 2011 17:40:12 +0200 |
parents | 22d11b3bc561 |
children | 0e8a2a629afb |
comparison
equal
deleted
inserted
replaced
3557:b2cd623a93ad | 3558:bc95d122df79 |
---|---|
838 private: | 838 private: |
839 | 839 |
840 // graal needs some place to put the dimensions | 840 // graal needs some place to put the dimensions |
841 jint graal_multinewarray_storage[256]; | 841 jint graal_multinewarray_storage[256]; |
842 | 842 |
843 volatile oop _graal_deopt_info; | |
844 | |
843 StackGuardState _stack_guard_state; | 845 StackGuardState _stack_guard_state; |
844 | 846 |
845 // Compiler exception handling (NOTE: The _exception_oop is *NOT* the same as _pending_exception. It is | 847 // Compiler exception handling (NOTE: The _exception_oop is *NOT* the same as _pending_exception. It is |
846 // used to temp. parsing values into and out of the runtime system during exception handling for compiled | 848 // used to temp. parsing values into and out of the runtime system during exception handling for compiled |
847 // code) | 849 // code) |
1192 void set_vm_result_2 (oop x) { _vm_result_2 = x; } | 1194 void set_vm_result_2 (oop x) { _vm_result_2 = x; } |
1193 | 1195 |
1194 MemRegion deferred_card_mark() const { return _deferred_card_mark; } | 1196 MemRegion deferred_card_mark() const { return _deferred_card_mark; } |
1195 void set_deferred_card_mark(MemRegion mr) { _deferred_card_mark = mr; } | 1197 void set_deferred_card_mark(MemRegion mr) { _deferred_card_mark = mr; } |
1196 | 1198 |
1199 oop graal_deopt_info() const { return _graal_deopt_info; } | |
1200 void set_graal_deopt_info(oop o) { _graal_deopt_info = o; } | |
1201 | |
1197 // Exception handling for compiled methods | 1202 // Exception handling for compiled methods |
1198 oop exception_oop() const { return _exception_oop; } | 1203 oop exception_oop() const { return _exception_oop; } |
1199 int exception_stack_size() const { return _exception_stack_size; } | 1204 int exception_stack_size() const { return _exception_stack_size; } |
1200 address exception_pc() const { return _exception_pc; } | 1205 address exception_pc() const { return _exception_pc; } |
1201 address exception_handler_pc() const { return _exception_handler_pc; } | 1206 address exception_handler_pc() const { return _exception_handler_pc; } |
1273 static ByteSize vm_result_offset() { return byte_offset_of(JavaThread, _vm_result ); } | 1278 static ByteSize vm_result_offset() { return byte_offset_of(JavaThread, _vm_result ); } |
1274 static ByteSize vm_result_2_offset() { return byte_offset_of(JavaThread, _vm_result_2 ); } | 1279 static ByteSize vm_result_2_offset() { return byte_offset_of(JavaThread, _vm_result_2 ); } |
1275 static ByteSize thread_state_offset() { return byte_offset_of(JavaThread, _thread_state ); } | 1280 static ByteSize thread_state_offset() { return byte_offset_of(JavaThread, _thread_state ); } |
1276 static ByteSize saved_exception_pc_offset() { return byte_offset_of(JavaThread, _saved_exception_pc ); } | 1281 static ByteSize saved_exception_pc_offset() { return byte_offset_of(JavaThread, _saved_exception_pc ); } |
1277 static ByteSize osthread_offset() { return byte_offset_of(JavaThread, _osthread ); } | 1282 static ByteSize osthread_offset() { return byte_offset_of(JavaThread, _osthread ); } |
1283 static ByteSize graal_deopt_info_offset() { return byte_offset_of(JavaThread, _graal_deopt_info ); } | |
1278 static ByteSize exception_oop_offset() { return byte_offset_of(JavaThread, _exception_oop ); } | 1284 static ByteSize exception_oop_offset() { return byte_offset_of(JavaThread, _exception_oop ); } |
1279 static ByteSize exception_pc_offset() { return byte_offset_of(JavaThread, _exception_pc ); } | 1285 static ByteSize exception_pc_offset() { return byte_offset_of(JavaThread, _exception_pc ); } |
1280 static ByteSize exception_handler_pc_offset() { return byte_offset_of(JavaThread, _exception_handler_pc); } | 1286 static ByteSize exception_handler_pc_offset() { return byte_offset_of(JavaThread, _exception_handler_pc); } |
1281 static ByteSize exception_stack_size_offset() { return byte_offset_of(JavaThread, _exception_stack_size); } | 1287 static ByteSize exception_stack_size_offset() { return byte_offset_of(JavaThread, _exception_stack_size); } |
1282 static ByteSize is_method_handle_return_offset() { return byte_offset_of(JavaThread, _is_method_handle_return); } | 1288 static ByteSize is_method_handle_return_offset() { return byte_offset_of(JavaThread, _is_method_handle_return); } |