Mercurial > hg > truffle
comparison src/share/vm/opto/chaitin.hpp @ 673:fbc12e71c476
6810845: Performance regression in mpegaudio on x64
Summary: Used the outer loop frequency in frequencies checks in RA.
Reviewed-by: never, twisti
author | kvn |
---|---|
date | Thu, 26 Mar 2009 15:04:55 -0700 |
parents | 7bb995fbd3c0 |
children | a70508bb21c3 |
comparison
equal
deleted
inserted
replaced
672:afd8dfb5c2a6 | 673:fbc12e71c476 |
---|---|
336 | 336 |
337 uint _oldphi; // Node index which separates pre-allocation nodes | 337 uint _oldphi; // Node index which separates pre-allocation nodes |
338 | 338 |
339 Block **_blks; // Array of blocks sorted by frequency for coalescing | 339 Block **_blks; // Array of blocks sorted by frequency for coalescing |
340 | 340 |
341 float _high_frequency_lrg; // Frequency at which LRG will be spilled for debug info | |
342 | |
341 #ifndef PRODUCT | 343 #ifndef PRODUCT |
342 bool _trace_spilling; | 344 bool _trace_spilling; |
343 #endif | 345 #endif |
344 | 346 |
345 public: | 347 public: |
357 | 359 |
358 // Do all the real work of allocate | 360 // Do all the real work of allocate |
359 void Register_Allocate(); | 361 void Register_Allocate(); |
360 | 362 |
361 uint n2lidx( const Node *n ) const { return _names[n->_idx]; } | 363 uint n2lidx( const Node *n ) const { return _names[n->_idx]; } |
364 | |
365 float high_frequency_lrg() const { return _high_frequency_lrg; } | |
362 | 366 |
363 #ifndef PRODUCT | 367 #ifndef PRODUCT |
364 bool trace_spilling() const { return _trace_spilling; } | 368 bool trace_spilling() const { return _trace_spilling; } |
365 #endif | 369 #endif |
366 | 370 |