comparison src/share/vm/runtime/thread.hpp @ 12316:190899198332

7195622: CheckUnhandledOops has limited usefulness now Summary: Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms. Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin Contributed-by: lois.foltan@oracle.com
author hseigel
date Thu, 26 Sep 2013 10:25:02 -0400
parents 9758d9f36299
children cefad50507d8 8b80b262e501
comparison
equal deleted inserted replaced
12315:c1fbf21c7397 12316:190899198332
1276 oop exception_oop() const { return _exception_oop; } 1276 oop exception_oop() const { return _exception_oop; }
1277 address exception_pc() const { return _exception_pc; } 1277 address exception_pc() const { return _exception_pc; }
1278 address exception_handler_pc() const { return _exception_handler_pc; } 1278 address exception_handler_pc() const { return _exception_handler_pc; }
1279 bool is_method_handle_return() const { return _is_method_handle_return == 1; } 1279 bool is_method_handle_return() const { return _is_method_handle_return == 1; }
1280 1280
1281 void set_exception_oop(oop o) { _exception_oop = o; } 1281 void set_exception_oop(oop o) { (void)const_cast<oop&>(_exception_oop = o); }
1282 void set_exception_pc(address a) { _exception_pc = a; } 1282 void set_exception_pc(address a) { _exception_pc = a; }
1283 void set_exception_handler_pc(address a) { _exception_handler_pc = a; } 1283 void set_exception_handler_pc(address a) { _exception_handler_pc = a; }
1284 void set_is_method_handle_return(bool value) { _is_method_handle_return = value ? 1 : 0; } 1284 void set_is_method_handle_return(bool value) { _is_method_handle_return = value ? 1 : 0; }
1285 1285
1286 // Stack overflow support 1286 // Stack overflow support