Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/thread.hpp @ 16006:66a9286203a2
decoupled Graal runtime initialization and Graal compilation queue initialization
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 03 Jun 2014 11:51:27 +0200 |
parents | a20be10ad437 |
children | 774349ad0b03 |
comparison
equal
deleted
inserted
replaced
16003:83433cf49019 | 16006:66a9286203a2 |
---|---|
920 | 920 |
921 private: | 921 private: |
922 | 922 |
923 #ifdef GRAAL | 923 #ifdef GRAAL |
924 address _graal_alternate_call_target; | 924 address _graal_alternate_call_target; |
925 address _graal_implicit_exception_pc; // pc at which the most recent implicit exception occurred | 925 address _graal_implicit_exception_pc; // pc at which the most recent implicit exception occurred |
926 bool _graal_compiling; | 926 bool _graal_can_schedule_compilation; // see NoGraalCompilationScheduling |
927 | 927 |
928 jlong* _graal_counters; | 928 jlong* _graal_counters; |
929 | 929 |
930 public: | 930 public: |
931 static jlong* _graal_old_thread_counters; | 931 static jlong* _graal_old_thread_counters; |
1308 void set_deferred_card_mark(MemRegion mr) { _deferred_card_mark = mr; } | 1308 void set_deferred_card_mark(MemRegion mr) { _deferred_card_mark = mr; } |
1309 | 1309 |
1310 #ifdef GRAAL | 1310 #ifdef GRAAL |
1311 void set_graal_alternate_call_target(address a) { _graal_alternate_call_target = a; } | 1311 void set_graal_alternate_call_target(address a) { _graal_alternate_call_target = a; } |
1312 void set_graal_implicit_exception_pc(address a) { _graal_implicit_exception_pc = a; } | 1312 void set_graal_implicit_exception_pc(address a) { _graal_implicit_exception_pc = a; } |
1313 bool is_graal_compiling() { return _graal_compiling; } | 1313 bool can_schedule_graal_compilation() { return _graal_can_schedule_compilation; } |
1314 void set_is_graal_compiling(bool b) { _graal_compiling = b; } | 1314 void set_can_schedule_graal_compilation(bool b) { _graal_can_schedule_compilation = b; } |
1315 #endif | 1315 #endif |
1316 | 1316 |
1317 // Exception handling for compiled methods | 1317 // Exception handling for compiled methods |
1318 oop exception_oop() const { return _exception_oop; } | 1318 oop exception_oop() const { return _exception_oop; } |
1319 address exception_pc() const { return _exception_pc; } | 1319 address exception_pc() const { return _exception_pc; } |