hotspot/src/share/vm/opto/compile.hpp
changeset 13883 6979b9850feb
parent 13728 882756847a04
child 14126 afb8a3a86f1f
equal deleted inserted replaced
13882:80d5d0d21b75 13883:6979b9850feb
   277   int                   _major_progress;        // Count of something big happening
   277   int                   _major_progress;        // Count of something big happening
   278   bool                  _has_loops;             // True if the method _may_ have some loops
   278   bool                  _has_loops;             // True if the method _may_ have some loops
   279   bool                  _has_split_ifs;         // True if the method _may_ have some split-if
   279   bool                  _has_split_ifs;         // True if the method _may_ have some split-if
   280   bool                  _has_unsafe_access;     // True if the method _may_ produce faults in unsafe loads or stores.
   280   bool                  _has_unsafe_access;     // True if the method _may_ produce faults in unsafe loads or stores.
   281   bool                  _has_stringbuilder;     // True StringBuffers or StringBuilders are allocated
   281   bool                  _has_stringbuilder;     // True StringBuffers or StringBuilders are allocated
       
   282   int                   _max_vector_size;       // Maximum size of generated vectors
   282   uint                  _trap_hist[trapHistLength];  // Cumulative traps
   283   uint                  _trap_hist[trapHistLength];  // Cumulative traps
   283   bool                  _trap_can_recompile;    // Have we emitted a recompiling trap?
   284   bool                  _trap_can_recompile;    // Have we emitted a recompiling trap?
   284   uint                  _decompile_count;       // Cumulative decompilation counts.
   285   uint                  _decompile_count;       // Cumulative decompilation counts.
   285   bool                  _do_inlining;           // True if we intend to do inlining
   286   bool                  _do_inlining;           // True if we intend to do inlining
   286   bool                  _do_scheduling;         // True if we intend to do scheduling
   287   bool                  _do_scheduling;         // True if we intend to do scheduling
   441   void          set_has_split_ifs(bool z)       { _has_split_ifs = z; }
   442   void          set_has_split_ifs(bool z)       { _has_split_ifs = z; }
   442   bool              has_unsafe_access() const   { return _has_unsafe_access; }
   443   bool              has_unsafe_access() const   { return _has_unsafe_access; }
   443   void          set_has_unsafe_access(bool z)   { _has_unsafe_access = z; }
   444   void          set_has_unsafe_access(bool z)   { _has_unsafe_access = z; }
   444   bool              has_stringbuilder() const   { return _has_stringbuilder; }
   445   bool              has_stringbuilder() const   { return _has_stringbuilder; }
   445   void          set_has_stringbuilder(bool z)   { _has_stringbuilder = z; }
   446   void          set_has_stringbuilder(bool z)   { _has_stringbuilder = z; }
       
   447   int               max_vector_size() const     { return _max_vector_size; }
       
   448   void          set_max_vector_size(int s)      { _max_vector_size = s; }
   446   void          set_trap_count(uint r, uint c)  { assert(r < trapHistLength, "oob");        _trap_hist[r] = c; }
   449   void          set_trap_count(uint r, uint c)  { assert(r < trapHistLength, "oob");        _trap_hist[r] = c; }
   447   uint              trap_count(uint r) const    { assert(r < trapHistLength, "oob"); return _trap_hist[r]; }
   450   uint              trap_count(uint r) const    { assert(r < trapHistLength, "oob"); return _trap_hist[r]; }
   448   bool              trap_can_recompile() const  { return _trap_can_recompile; }
   451   bool              trap_can_recompile() const  { return _trap_can_recompile; }
   449   void          set_trap_can_recompile(bool z)  { _trap_can_recompile = z; }
   452   void          set_trap_can_recompile(bool z)  { _trap_can_recompile = z; }
   450   uint              decompile_count() const     { return _decompile_count; }
   453   uint              decompile_count() const     { return _decompile_count; }