1. A computer-readable medium having computer-executable instructions for causing a computer to perform steps comprising: provide a transactional memory system; analyze source code to identify operations that create unmanaged pointers; provide a static analysis that tracks targets of unmanaged pointer values; and use the targets to determine how accesses through unmanaged pointers are to be transacted.