Mercurial > hg > truffle
comparison src/share/vm/opto/chaitin.cpp @ 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 | 04fa5affa478 |
comparison
equal
deleted
inserted
replaced
672:afd8dfb5c2a6 | 673:fbc12e71c476 |
---|---|
147 #ifndef PRODUCT | 147 #ifndef PRODUCT |
148 , _trace_spilling(TraceSpilling || C->method_has_option("TraceSpilling")) | 148 , _trace_spilling(TraceSpilling || C->method_has_option("TraceSpilling")) |
149 #endif | 149 #endif |
150 { | 150 { |
151 NOT_PRODUCT( Compile::TracePhase t3("ctorChaitin", &_t_ctorChaitin, TimeCompiler); ) | 151 NOT_PRODUCT( Compile::TracePhase t3("ctorChaitin", &_t_ctorChaitin, TimeCompiler); ) |
152 | |
153 _high_frequency_lrg = MIN2(float(OPTO_LRG_HIGH_FREQ), _cfg._outer_loop_freq); | |
154 | |
152 uint i,j; | 155 uint i,j; |
153 // Build a list of basic blocks, sorted by frequency | 156 // Build a list of basic blocks, sorted by frequency |
154 _blks = NEW_RESOURCE_ARRAY( Block *, _cfg._num_blocks ); | 157 _blks = NEW_RESOURCE_ARRAY( Block *, _cfg._num_blocks ); |
155 // Experiment with sorting strategies to speed compilation | 158 // Experiment with sorting strategies to speed compilation |
156 double cutoff = BLOCK_FREQUENCY(1.0); // Cutoff for high frequency bucket | 159 double cutoff = BLOCK_FREQUENCY(1.0); // Cutoff for high frequency bucket |