comparison src/share/vm/oops/methodDataOop.hpp @ 3345:bad7ecd0b6ed

5091921: Sign flip issues in loop optimizer Summary: Fix integer overflow problem in the code generated by loop optimizer. Reviewed-by: never
author kvn
date Wed, 04 May 2011 13:12:42 -0700
parents f767174aac14
children c26de9aef2ed
comparison
equal deleted inserted replaced
3344:0139aac70fb5 3345:bad7ecd0b6ed
1192 int _hint_di; 1192 int _hint_di;
1193 1193
1194 // Whole-method sticky bits and flags 1194 // Whole-method sticky bits and flags
1195 public: 1195 public:
1196 enum { 1196 enum {
1197 _trap_hist_limit = 16, // decoupled from Deoptimization::Reason_LIMIT 1197 _trap_hist_limit = 17, // decoupled from Deoptimization::Reason_LIMIT
1198 _trap_hist_mask = max_jubyte, 1198 _trap_hist_mask = max_jubyte,
1199 _extra_data_count = 4 // extra DataLayout headers, for trap history 1199 _extra_data_count = 4 // extra DataLayout headers, for trap history
1200 }; // Public flag values 1200 }; // Public flag values
1201 private: 1201 private:
1202 uint _nof_decompiles; // count of all nmethod removals 1202 uint _nof_decompiles; // count of all nmethod removals