Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/thread.hpp @ 7936:c6c72de0537e
Remove setDeoptInfo functionality. Start getting rid of scratch register usages.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 05 Mar 2013 19:20:05 +0100 |
parents | 291ffc492eb6 |
children | 5fc51c1ecdeb |
comparison
equal
deleted
inserted
replaced
7935:0799a7efbe7b | 7936:c6c72de0537e |
---|---|
901 }; | 901 }; |
902 | 902 |
903 private: | 903 private: |
904 | 904 |
905 #ifdef GRAAL | 905 #ifdef GRAAL |
906 volatile oop _graal_deopt_info; | |
907 address _graal_alternate_call_target; | 906 address _graal_alternate_call_target; |
908 DebugScopedValue* _debug_scope; | 907 DebugScopedValue* _debug_scope; |
909 #endif | 908 #endif |
910 #ifdef HIGH_LEVEL_INTERPRETER | 909 #ifdef HIGH_LEVEL_INTERPRETER |
911 bool _high_level_interpreter_in_vm; | 910 bool _high_level_interpreter_in_vm; |
1280 | 1279 |
1281 MemRegion deferred_card_mark() const { return _deferred_card_mark; } | 1280 MemRegion deferred_card_mark() const { return _deferred_card_mark; } |
1282 void set_deferred_card_mark(MemRegion mr) { _deferred_card_mark = mr; } | 1281 void set_deferred_card_mark(MemRegion mr) { _deferred_card_mark = mr; } |
1283 | 1282 |
1284 #ifdef GRAAL | 1283 #ifdef GRAAL |
1285 oop graal_deopt_info() const { return _graal_deopt_info; } | |
1286 void set_graal_deopt_info(oop o) { _graal_deopt_info = o; } | |
1287 | |
1288 void set_graal_alternate_call_target(address a) { _graal_alternate_call_target = a; } | 1284 void set_graal_alternate_call_target(address a) { _graal_alternate_call_target = a; } |
1289 | 1285 |
1290 DebugScopedValue* debug_scope() const { return _debug_scope; } | 1286 DebugScopedValue* debug_scope() const { return _debug_scope; } |
1291 void set_debug_scope(DebugScopedValue* ds) { _debug_scope = ds; } | 1287 void set_debug_scope(DebugScopedValue* ds) { _debug_scope = ds; } |
1292 #endif | 1288 #endif |
1373 static ByteSize vm_result_2_offset() { return byte_offset_of(JavaThread, _vm_result_2 ); } | 1369 static ByteSize vm_result_2_offset() { return byte_offset_of(JavaThread, _vm_result_2 ); } |
1374 static ByteSize thread_state_offset() { return byte_offset_of(JavaThread, _thread_state ); } | 1370 static ByteSize thread_state_offset() { return byte_offset_of(JavaThread, _thread_state ); } |
1375 static ByteSize saved_exception_pc_offset() { return byte_offset_of(JavaThread, _saved_exception_pc ); } | 1371 static ByteSize saved_exception_pc_offset() { return byte_offset_of(JavaThread, _saved_exception_pc ); } |
1376 static ByteSize osthread_offset() { return byte_offset_of(JavaThread, _osthread ); } | 1372 static ByteSize osthread_offset() { return byte_offset_of(JavaThread, _osthread ); } |
1377 #ifdef GRAAL | 1373 #ifdef GRAAL |
1378 static ByteSize graal_deopt_info_offset() { return byte_offset_of(JavaThread, _graal_deopt_info ); } | |
1379 static ByteSize graal_alternate_call_target_offset() { return byte_offset_of(JavaThread, _graal_alternate_call_target); } | 1374 static ByteSize graal_alternate_call_target_offset() { return byte_offset_of(JavaThread, _graal_alternate_call_target); } |
1380 #endif | 1375 #endif |
1381 #ifdef HIGH_LEVEL_INTERPRETER | 1376 #ifdef HIGH_LEVEL_INTERPRETER |
1382 static ByteSize high_level_interpreter_in_vm_offset() { return byte_offset_of(JavaThread, _high_level_interpreter_in_vm); } | 1377 static ByteSize high_level_interpreter_in_vm_offset() { return byte_offset_of(JavaThread, _high_level_interpreter_in_vm); } |
1383 #endif | 1378 #endif |