1. A method, in a data processing system, for prefetching data into a cache memory, the method comprising: executing a program; obtaining, as the program executes, an object identifier of a first object of the program; performing a lookup operation on a data structure to determine if the object identifier is present in the data structure; responsive to the object identifier being present in the data structure, retrieving a referenced object identifier that is referenced by the object identifier; and prefetching the data associated with the referenced object identifier from main memory into the cache memory.