An example apparatus and method described herein involves determining if a
class object has been dynamically loaded, performing an escape analysis
on the program code and determining if assumptions made during an initial
escape analysis are valid. Additionally, the example apparatus and method
restore synchronization to at least a portion of the program code
affected by loading of the class object if the assumptions made during
the initial escape analysis are no longer valid.