comparison src/share/vm/runtime/thread.hpp @ 13089:77fbf02f701c

re-enabled protection against recursive Graal compilation requests with Graal specific _graal_compiling field in JavaThread
author Doug Simon <doug.simon@oracle.com>
date Wed, 20 Nov 2013 19:27:49 +0100
parents 096c224171c4
children 8cd953e97e2d
comparison
equal deleted inserted replaced
13088:514e809bd97d 13089:77fbf02f701c
918 private: 918 private:
919 919
920 #ifdef GRAAL 920 #ifdef GRAAL
921 address _graal_alternate_call_target; 921 address _graal_alternate_call_target;
922 address _graal_implicit_exception_pc; // pc at which the most recent implicit exception occurred 922 address _graal_implicit_exception_pc; // pc at which the most recent implicit exception occurred
923 bool _graal_compiling;
923 924
924 // number of counters, increase as needed. 0 == disabled 925 // number of counters, increase as needed. 0 == disabled
925 #define GRAAL_COUNTERS_SIZE (0) 926 #define GRAAL_COUNTERS_SIZE (0)
926 #define GRAAL_COUNTERS_EXCLUDE_COMPILER_THREADS (true) 927 #define GRAAL_COUNTERS_EXCLUDE_COMPILER_THREADS (true)
927 928
1299 void set_deferred_card_mark(MemRegion mr) { _deferred_card_mark = mr; } 1300 void set_deferred_card_mark(MemRegion mr) { _deferred_card_mark = mr; }
1300 1301
1301 #ifdef GRAAL 1302 #ifdef GRAAL
1302 void set_graal_alternate_call_target(address a) { _graal_alternate_call_target = a; } 1303 void set_graal_alternate_call_target(address a) { _graal_alternate_call_target = a; }
1303 void set_graal_implicit_exception_pc(address a) { _graal_implicit_exception_pc = a; } 1304 void set_graal_implicit_exception_pc(address a) { _graal_implicit_exception_pc = a; }
1305 bool is_graal_compiling() { return _graal_compiling; }
1306 void set_is_graal_compiling(bool b) { _graal_compiling = b; }
1304 #endif 1307 #endif
1305 1308
1306 // Exception handling for compiled methods 1309 // Exception handling for compiled methods
1307 oop exception_oop() const { return _exception_oop; } 1310 oop exception_oop() const { return _exception_oop; }
1308 address exception_pc() const { return _exception_pc; } 1311 address exception_pc() const { return _exception_pc; }