A method and apparatus for a read barrier mechanism are described.
According to an embodiment, a method comprises receiving an access
request for a program object; performing a combined check for a null
reference or for a read barrier for the program object; and if the
combined check is affirmative, performing a recovery operation.