ilya-klyuchnikov / faba

Fast Bytecode Analysis
15 stars 1 forks source link

Optimize single transition during analysis (shortcut driving) #5

Closed ilya-klyuchnikov closed 10 years ago

ilya-klyuchnikov commented 10 years ago

In InOutAnalysis#processState and NotNullInAnalysis#processState when there is a single transition from the current state it is redundant to put the next state on the stack, it can be processed now (shortcut driving). Illustrative example is com/sun/deploy/resources/Deployment - it has > 17K instructions.

ilya-klyuchnikov commented 10 years ago

Fixed by 51a2c56fe6998ca7032e06a40d378031f568e90d