1. A method comprising: receiving, by a processor, an execution trace of a plurality of building blocks of computer code including a head building block at which the execution trace starts and a tail building block at which the execution trace ends, the building blocks executable in a sequence from the head building block to the tail building block within the execution trace; and, truncating the execution trace, by the processor, at a particular building block of the plurality of building blocks of the execution trace, such that the particular building block becomes the tail building block of the execution trace, where the particular building block corresponds to a head building block of an additional execution trace, wherein the execution trace is one of a plurality of compilation units on which basis a trace-based compiler computer program generates an executable version of the computer code at least by compiling the compilation units, and wherein the execution trace prior to truncation has a length corresponding to a predetermined maximum allowable trace length, such that recording of the execution trace terminated as a result of the execution trace reaching the predetermined maximum allowable trace length.