发明名称 |
Method and apparatus for optimizing away a null-check |
摘要 |
A garbage collection system that needs to meet real-time requirements combines a null-check required for an application with a null check required by its read barrier. The null-check for the application may be the null-check required for a Java object dereference and may be performed via explicit comparisons or implicit traps. To facilitate the combining of the null-checks, the read barrier is broken into portions and sunk to its point of use. Thus, any exception due to a null-pointer in the read barrier will occur at the same location as the exception occurs in the application. Combining the null-checks reduces the overhead costs associated with the read barrier and improves the performance of the real-time application.
|
申请公布号 |
US2005149588(A1) |
申请公布日期 |
2005.07.07 |
申请号 |
US20040751775 |
申请日期 |
2004.01.05 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
BACON DAVID F.;CHENG PERRY;RAJAN VADAKKEDATHU T. |
分类号 |
G06F12/00;G06F12/02;(IPC1-7):G06F12/00 |
主分类号 |
G06F12/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|