##### Syntax

-Ojc

##### Description

Enables the jump chaining optimization. Jump chaining reduces the size of span-dependent jumps by finding a closer jump instruction to the same target address and reroutes the original jump to that jump. This optimization always reduces code size at the expense of execution speed because of the jump chains introduced.

Jump chaining delivers its best results with the Jump Threading optimization enabled.

##### Setting this in CrossStudio

To enable this optimization for a project:

- Select the project in the Project Explorer.
- In the Optimization Options group set the Jump Chaining Optimization property to Yes.

##### See Also

-Ojt (Jump threading optimization)