{"pub_number":"US8095921B2","doc_number":"8095921","country":"US","kind_code":"B2","patent_type":"utility","status":"expired","title":"Identifying code that wastes time switching tasks","abstract_text":"A method of detecting portions of code of a computer program that protect resources of a computer system unnecessarily can include identifying threads and synchronization objects that are used by a computer program during execution, determining the number of threads that have accessed each resource while it has been consistently protected by a particular synchronization object, and indicating whether the resource is suited for protection according to the number of threads that have accessed the resource.","claims":[{"number":1,"text":"A method of detecting portions of code of a computer program that protect resources of a computer system unnecessarily, said method comprising: identifying a synchronization object that has been engaged by a thread of the computer program; while the synchronization object is engaged, determining whether state memory has been allocated for a resource of the computer system that is protected by the synchronization object and, if state memory has not been allocated, allocating state memory for recording accesses to the resource; recording each access of the resource and a thread associated with t","independent":true}],"description":"","inventors":[{"name":"Krauss Kirk J","slug":"krauss-kirk-j","country":"US"}],"assignees":[{"name":"Krauss Kirk J","slug":"krauss-kirk-j","country":"US"},{"name":"Ibm","slug":"ibm","country":"US"}],"examiners":["Dao Thuy"],"cpc_codes":["G06F 11/3409","G06F 11/3466","G06F 11/3476","G06F 2201/865","G06F 2201/88"],"ipc_codes":["G06F 9/44","G06F 9/45"],"filing_date":"2005-10-12","pub_date":"2012-01-10","grant_date":"2012-01-10","priority_date":"2005-10-12","expiration_date":"2025-10-12","application_number":"US-16326505-A","family_id":"FAM-37911866","family_members":[],"citations_made":[{"pub_number":"US6101524A","category":"SEA"},{"pub_number":"US6105051A","category":"SEA"},{"pub_number":"US6167424A","category":"SEA"},{"pub_number":"US6256775B1","category":"SEA"},{"pub_number":"US6530079B1","category":"SEA"},{"pub_number":"US2004025164A1","category":"SEA"},{"pub_number":"US2004025160A1","category":"SEA"},{"pub_number":"US6691304B1","category":"SEA"},{"pub_number":"US2004123185A1","category":"APP"},{"pub_number":"US6799236B1","category":"APP"},{"pub_number":"US2004250240A1","category":"SEA"},{"pub_number":"US2005071831A1","category":"SEA"},{"pub_number":"US2005080813A1","category":"SEA"},{"pub_number":"US2005198045A1","category":"SEA"},{"pub_number":"US2006015858A1","category":"SEA"},{"pub_number":"US7093262B2","category":"SEA"},{"pub_number":"US7200846B2","category":"SEA"},{"pub_number":"US7661098B2","category":"SEA"},{"pub_number":"US7747985B2","category":"SEA"}],"non_patent_literature":["Bacon et al., \"Thin locks: featherweight Synchronization for Java\", Apr. 2004, pp. 583-595, .","Bacon et al., \"Thin locks: featherweight Synchronization for Java\", Apr. 2004, pp. 583-595, <http://delivery.acm.org/10.1145/990000/989452/p583-bacon.pdf>.","Begic, An Introduction to Runtime Analysis with Rational PurifyPlus, The Rational Edge, Dec. 2002, pp. 1-18 (accessed Apr. 6, 2010) .","Begic, An Introduction to Runtime Analysis with Rational PurifyPlus, The Rational Edge, Dec. 2002, pp. 1-18 (accessed Apr. 6, 2010) <http://www.ibm.com.developerworks/rational/library/content/03July/2000/2315/2315—GB.pdf>.","Choi et al., \"Stack allocation and synchronization optimizations for Java using escape analysis\", Nov. 2003, pp. 876-909, ."],"drawings_count":0,"source_id":"google_patents_public","upstream_forward_citations":0,"metrics":{"forward_citations":9,"indexed_forward_citations":9,"backward_citations":19,"npl_citations":5,"citations_per_year":0.64,"pagerank":1.746387958526611,"citation_rank":12038820,"pagerank_rank":18035301,"velocity_rank":12388096,"family_citations":9}}