发明名称 Adapting polymorphic inline caches for multithreaded computing
摘要 A method and computer system that implements polymorphic inline caches having locking slots. 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. Altematively, 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.
申请公布号 US6996804(B2) 申请公布日期 2006.02.07
申请号 US20010872586 申请日期 2001.06.01
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 STOODLEY KEVIN ALEXANDER
分类号 G06F9/44;G06F9/42;G06F9/48 主分类号 G06F9/44
代理机构 代理人
主权项
地址