RFR(S) 8010281: Remove code that never execute in opto/ifg.cpp

Nils Eliasson nils.eliasson at oracle.com
Tue Mar 26 03:45:42 PDT 2013

I am sponsoring this change.

//Nils Eliasson

On 2013-03-20 09:02, Niclas Adlertz wrote:
> Hi all.
> Problem:
> In the C2 register allocator, the define EXACT_PRESSURE is set to decide how we estimate the block pressure. There are currently two different ways on how to estimate this. However, EXACT_PRESSURE is always set to 1. This means that the code for the second choice on how to estimate block pressure is never executed, and therefore not needed.
> Solution:
> Remove the define EXACT_PRESSURE and the code that is never executed; executing only the code that now executes within the ifdefs of EXACT_PRESSURE.
> A review would be much appreciated.
> Thank you.
> Regards,
> Niclas Adlertz
> ---------------------
> WEBREV: http://cr.openjdk.java.net/~neliasso/8010281/webrev00/
> BUG: https://jbs.oracle.com/bugs/browse/JDK-8010281, http://bugs.sun.com/view_bug.do?bug_id= 8010281

More information about the hotspot-compiler-dev mailing list