hotspot/src/share/vm/oops/method.hpp
changeset 31587 e48945b7849c
parent 31228 8e427370cdd1
child 31790 4a08476437e8
equal deleted inserted replaced
31586:6e57742d1adb 31587:e48945b7849c
    80     _caller_sensitive     = 1 << 1,
    80     _caller_sensitive     = 1 << 1,
    81     _force_inline         = 1 << 2,
    81     _force_inline         = 1 << 2,
    82     _dont_inline          = 1 << 3,
    82     _dont_inline          = 1 << 3,
    83     _hidden               = 1 << 4,
    83     _hidden               = 1 << 4,
    84     _has_injected_profile = 1 << 5,
    84     _has_injected_profile = 1 << 5,
    85     _running_emcp         = 1 << 6
    85     _running_emcp         = 1 << 6,
       
    86     _intrinsic_candidate  = 1 << 7
    86   };
    87   };
    87   u1 _flags;
    88   u1 _flags;
    88 
    89 
    89 #ifndef PRODUCT
    90 #ifndef PRODUCT
    90   int               _compiled_invocation_count;  // Number of nmethod invocations so far (for perf. debugging)
    91   int               _compiled_invocation_count;  // Number of nmethod invocations so far (for perf. debugging)
   813   }
   814   }
   814   void set_hidden(bool x) {
   815   void set_hidden(bool x) {
   815     _flags = x ? (_flags | _hidden) : (_flags & ~_hidden);
   816     _flags = x ? (_flags | _hidden) : (_flags & ~_hidden);
   816   }
   817   }
   817 
   818 
       
   819   bool intrinsic_candidate() {
       
   820     return (_flags & _intrinsic_candidate) != 0;
       
   821   }
       
   822   void set_intrinsic_candidate(bool x) {
       
   823     _flags = x ? (_flags | _intrinsic_candidate) : (_flags & ~_intrinsic_candidate);
       
   824   }
       
   825 
   818   bool has_injected_profile() {
   826   bool has_injected_profile() {
   819     return (_flags & _has_injected_profile) != 0;
   827     return (_flags & _has_injected_profile) != 0;
   820   }
   828   }
   821   void set_has_injected_profile(bool x) {
   829   void set_has_injected_profile(bool x) {
   822     _flags = x ? (_flags | _has_injected_profile) : (_flags & ~_has_injected_profile);
   830     _flags = x ? (_flags | _has_injected_profile) : (_flags & ~_has_injected_profile);