Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/thread.hpp @ 3899:c124e2e7463e
7083786: dead various dead chunks of code
Reviewed-by: iveresov, kvn
author | never |
---|---|
date | Wed, 31 Aug 2011 16:46:11 -0700 |
parents | f52ed367b66d |
children | 7588156f5cf9 |
comparison
equal
deleted
inserted
replaced
3898:a64d352d1118 | 3899:c124e2e7463e |
---|---|
839 // used to temp. parsing values into and out of the runtime system during exception handling for compiled | 839 // used to temp. parsing values into and out of the runtime system during exception handling for compiled |
840 // code) | 840 // code) |
841 volatile oop _exception_oop; // Exception thrown in compiled code | 841 volatile oop _exception_oop; // Exception thrown in compiled code |
842 volatile address _exception_pc; // PC where exception happened | 842 volatile address _exception_pc; // PC where exception happened |
843 volatile address _exception_handler_pc; // PC for handler of exception | 843 volatile address _exception_handler_pc; // PC for handler of exception |
844 volatile int _exception_stack_size; // Size of frame where exception happened | |
845 volatile int _is_method_handle_return; // true (== 1) if the current exception PC is a MethodHandle call site. | 844 volatile int _is_method_handle_return; // true (== 1) if the current exception PC is a MethodHandle call site. |
846 | 845 |
847 // support for compilation | 846 // support for compilation |
848 bool _is_compiling; // is true if a compilation is active inthis thread (one compilation per thread possible) | 847 bool _is_compiling; // is true if a compilation is active inthis thread (one compilation per thread possible) |
849 | 848 |
1180 MemRegion deferred_card_mark() const { return _deferred_card_mark; } | 1179 MemRegion deferred_card_mark() const { return _deferred_card_mark; } |
1181 void set_deferred_card_mark(MemRegion mr) { _deferred_card_mark = mr; } | 1180 void set_deferred_card_mark(MemRegion mr) { _deferred_card_mark = mr; } |
1182 | 1181 |
1183 // Exception handling for compiled methods | 1182 // Exception handling for compiled methods |
1184 oop exception_oop() const { return _exception_oop; } | 1183 oop exception_oop() const { return _exception_oop; } |
1185 int exception_stack_size() const { return _exception_stack_size; } | |
1186 address exception_pc() const { return _exception_pc; } | 1184 address exception_pc() const { return _exception_pc; } |
1187 address exception_handler_pc() const { return _exception_handler_pc; } | 1185 address exception_handler_pc() const { return _exception_handler_pc; } |
1188 bool is_method_handle_return() const { return _is_method_handle_return == 1; } | 1186 bool is_method_handle_return() const { return _is_method_handle_return == 1; } |
1189 | 1187 |
1190 void set_exception_oop(oop o) { _exception_oop = o; } | 1188 void set_exception_oop(oop o) { _exception_oop = o; } |
1191 void set_exception_pc(address a) { _exception_pc = a; } | 1189 void set_exception_pc(address a) { _exception_pc = a; } |
1192 void set_exception_handler_pc(address a) { _exception_handler_pc = a; } | 1190 void set_exception_handler_pc(address a) { _exception_handler_pc = a; } |
1193 void set_exception_stack_size(int size) { _exception_stack_size = size; } | |
1194 void set_is_method_handle_return(bool value) { _is_method_handle_return = value ? 1 : 0; } | 1191 void set_is_method_handle_return(bool value) { _is_method_handle_return = value ? 1 : 0; } |
1195 | 1192 |
1196 // Stack overflow support | 1193 // Stack overflow support |
1197 inline size_t stack_available(address cur_sp); | 1194 inline size_t stack_available(address cur_sp); |
1198 address stack_yellow_zone_base() | 1195 address stack_yellow_zone_base() |
1262 static ByteSize saved_exception_pc_offset() { return byte_offset_of(JavaThread, _saved_exception_pc ); } | 1259 static ByteSize saved_exception_pc_offset() { return byte_offset_of(JavaThread, _saved_exception_pc ); } |
1263 static ByteSize osthread_offset() { return byte_offset_of(JavaThread, _osthread ); } | 1260 static ByteSize osthread_offset() { return byte_offset_of(JavaThread, _osthread ); } |
1264 static ByteSize exception_oop_offset() { return byte_offset_of(JavaThread, _exception_oop ); } | 1261 static ByteSize exception_oop_offset() { return byte_offset_of(JavaThread, _exception_oop ); } |
1265 static ByteSize exception_pc_offset() { return byte_offset_of(JavaThread, _exception_pc ); } | 1262 static ByteSize exception_pc_offset() { return byte_offset_of(JavaThread, _exception_pc ); } |
1266 static ByteSize exception_handler_pc_offset() { return byte_offset_of(JavaThread, _exception_handler_pc); } | 1263 static ByteSize exception_handler_pc_offset() { return byte_offset_of(JavaThread, _exception_handler_pc); } |
1267 static ByteSize exception_stack_size_offset() { return byte_offset_of(JavaThread, _exception_stack_size); } | |
1268 static ByteSize is_method_handle_return_offset() { return byte_offset_of(JavaThread, _is_method_handle_return); } | 1264 static ByteSize is_method_handle_return_offset() { return byte_offset_of(JavaThread, _is_method_handle_return); } |
1269 static ByteSize stack_guard_state_offset() { return byte_offset_of(JavaThread, _stack_guard_state ); } | 1265 static ByteSize stack_guard_state_offset() { return byte_offset_of(JavaThread, _stack_guard_state ); } |
1270 static ByteSize suspend_flags_offset() { return byte_offset_of(JavaThread, _suspend_flags ); } | 1266 static ByteSize suspend_flags_offset() { return byte_offset_of(JavaThread, _suspend_flags ); } |
1271 | 1267 |
1272 static ByteSize do_not_unlock_if_synchronized_offset() { return byte_offset_of(JavaThread, _do_not_unlock_if_synchronized); } | 1268 static ByteSize do_not_unlock_if_synchronized_offset() { return byte_offset_of(JavaThread, _do_not_unlock_if_synchronized); } |