Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/compile.hpp @ 14440:41b780b43b74
8029015: PPC64 (part 216): opto: trap based null and range checks
Summary: On PPC64 use tdi instruction that does a compare and raises SIGTRAP for NULL and range checks.
Reviewed-by: kvn
author | goetz |
---|---|
date | Wed, 27 Nov 2013 16:16:21 -0800 |
parents | 4cdf4f71177d |
children | 1174c8abbdb6 |
comparison
equal
deleted
inserted
replaced
14439:50fdb38839eb | 14440:41b780b43b74 |
---|---|
853 bool too_many_traps(Deoptimization::DeoptReason reason, | 853 bool too_many_traps(Deoptimization::DeoptReason reason, |
854 // Privately used parameter for logging: | 854 // Privately used parameter for logging: |
855 ciMethodData* logmd = NULL); | 855 ciMethodData* logmd = NULL); |
856 // Report if there were too many recompiles at a method and bci. | 856 // Report if there were too many recompiles at a method and bci. |
857 bool too_many_recompiles(ciMethod* method, int bci, Deoptimization::DeoptReason reason); | 857 bool too_many_recompiles(ciMethod* method, int bci, Deoptimization::DeoptReason reason); |
858 // Return a bitset with the reasons where deoptimization is allowed, | |
859 // i.e., where there were not too many uncommon traps. | |
860 int _allowed_reasons; | |
861 int allowed_deopt_reasons() { return _allowed_reasons; } | |
862 void set_allowed_deopt_reasons(); | |
858 | 863 |
859 // Parsing, optimization | 864 // Parsing, optimization |
860 PhaseGVN* initial_gvn() { return _initial_gvn; } | 865 PhaseGVN* initial_gvn() { return _initial_gvn; } |
861 Unique_Node_List* for_igvn() { return _for_igvn; } | 866 Unique_Node_List* for_igvn() { return _for_igvn; } |
862 inline void record_for_igvn(Node* n); // Body is after class Unique_Node_List. | 867 inline void record_for_igvn(Node* n); // Body is after class Unique_Node_List. |