Invention Grant
US08271965B2 Apparatus to guarantee type and initialization safety in multithreaded programs
失效
保证多线程程序中类型和初始化安全的设备
- Patent Title: Apparatus to guarantee type and initialization safety in multithreaded programs
- Patent Title (中): 保证多线程程序中类型和初始化安全的设备
-
Application No.: US12244848Application Date: 2008-10-03
-
Publication No.: US08271965B2Publication Date: 2012-09-18
- Inventor: Zhong Liang Wang
- Applicant: Zhong Liang Wang
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Patents On Demand P.A.
- Agent Brian K. Buchheit; Scott M. Garrett
- Priority: CA2434280 20030703
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/44

Abstract:
A method and apparatus to guarantee type safety in multithreaded programs, and to guarantee initialization safety in well-behaved multithreaded programs. A plurality of bytecodes representing a program are received and examined to identify bytecodes defining object creation operations and object initialization operations. Upon execution of the plurality of bytecodes, memory barrier operations are performed subsequent to the performance of both the object creation operations and the object initialization operations. This guarantees type safety, and further guarantees initialization safety if the program is well-behaved. Optimization algorithms may also be applied in the compilation of bytecodes to improve performance.
Public/Granted literature
- US20090037891A1 APPARATUS TO GUARANTEE TYPE AND INITIALIZATION SAFETY IN MULTITHREADED PROGRAMS Public/Granted day:2009-02-05
Information query