A method (and system) of transparent dynamic optimization in a
multiprocessing environment, includes monitoring execution of an
application on a first processor with an execution monitor running on
another processor of the system, and transparently optimizing one or more
segments of the original application with a runtime optimizer executing
on the another processor of the system.