8063137: Never-taken branches should be pruned when GWT LambdaForms are shared

Reviewed-by: jrose, kvn
This commit is contained in:
Vladimir Ivanov 2015-01-29 10:25:59 -08:00
parent ad9c86bc97
commit 7227e9ba53
11 changed files with 185 additions and 28 deletions

View file

@ -79,6 +79,7 @@ class ciMethod : public ciMetadata {
bool _is_c1_compilable;
bool _is_c2_compilable;
bool _can_be_statically_bound;
bool _has_injected_profile;
// Lazy fields, filled in on demand
address _code;
@ -286,6 +287,9 @@ class ciMethod : public ciMetadata {
int instructions_size();
int scale_count(int count, float prof_factor = 1.); // make MDO count commensurate with IIC
bool has_injected_profile() const { return _has_injected_profile; }
void set_injected_profile(bool x) { _has_injected_profile = x; }
// Stack walking support
bool is_ignored_by_security_stack_walk() const;