1. A method in a heterogeneous multiprocessor system comprising a Just-In-Time, JIT, compiler for compiling code, and comprising a plurality of processors for executing code, the method comprising: compiling one snippet of input code, whereby one or more compiled code snippets are generated for the snippet of input code, and wherein each respective of the one or more compiled code snippets corresponds to the one snippet of input code, tagging the one or more compiled code snippets with respective one or more snippet specific characteristics, selecting one or more compiled code snippets from the one or more compiled code snippets, based on said snippet specific characteristics, and executing the one or more selected compiled code snippets on one or more of the plurality of processors; while executing, run-time data is gathered, the gathered run-time data is tagged for which processor in the heterogeneous multiprocessor system it is related to.