G - Physics – 06 – F
Patent
G - Physics
06
F
G06F 9/44 (2006.01) G06F 9/42 (2006.01) G06F 9/48 (2006.01) G06F 12/02 (2006.01)
Patent
CA 2332085
A method and computer system that implements polymorphic inline caches having locking slots. Of a polymorphic dispatch, each time the polymorphic method is called having a new object type, a new slot in the polymorphic inline cache is created. By comparing the object types of new methods with object type values already in the cache, it can readily be determined if a new slot has to be created to accommodate a new object type. Preferably, if two threads wish to access the polymorphic inline cache at the same time, the second thread will wait until the first thread accesses and creates and/or uses its slot because it is likely that the second thread will call the method of the same type. Alternatively, however, the second thread may access and create and/or use another slot of the polymorphic inline cache because the first slot is locked to all objects other than its type. If the threads wish to access the same slot of the polymorphic inline cache, then the first thread may lock and modify the slot to call the method while the second thread may just call the method without modifying the slot. A just-in-time compiler may be used to create the polymorphic inline cache described within, but once created, the polymorphic cache may be exported to and used in other computer systems not having a just-in-time compiler including embedded devices such as mobile computing devices.
Ibm Canada Limited - Ibm Canada Limitee
Wang Peter
LandOfFree
Adapting polymorphic inline caches for multithreaded computing does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Adapting polymorphic inline caches for multithreaded computing, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Adapting polymorphic inline caches for multithreaded computing will most certainly appreciate the feedback.
Profile ID: LFCA-PAI-O-1800152