IP Library Granted Patent US 7,058,669
Granted Patent B2
US 7,058,669 · App. 10/203,060 · Granted Jun 6, 2006

Non-zero null reference to speed up write barrier checking for garbage collection

Assignee: Esmertec AG
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,058,669
App. No.
10/203,060
Granted
Jun 6, 2006
Kind
B2
Abstract

A method and system of increasing the speed of a write barrier check. Instead of using zero null references, in one embodiment of the invention a special object is created at a valid and globally accessible location in memory. The special object is colored black, and the valid location of the special object is used in objects linked lists, and other elements whenever a null value is required. Preferably, the special object is colored black by coloring a bit pattern in a header of the special object to represent black.

Claims (28)

1. A method of increasing the speed of a write barrier check in a computing environment having memory and a plurality of programming objects, the method comprising:

creating a globally accessible special object at a valid location in the memory;

fixing the color of the special object to a predetermined colour; and

using the valid location of the special object whenever a null value is required.

2. A method as claimed in claim 1 , wherein fixing the color of the special object to a predetermined colour includes fixing the color of the special object to black.

3. A method as claimed in claim 2 , wherein fixing the color of the special object to black includes setting a bit pattern in a header of the special object to represent black.

4. A method as claimed in claim 2 , wherein fixing the color of the special object to black includes creating a method that returns black.

5. A method as claimed in claim 2 , further comprising

checking the color of the plurality of programming objects using a write tool; and

assigning references to the objects that are not black.

6. A method as claimed in claim 1 , wherein using the valid location of the special object whenever a null value is required includes using the valid location in a field of an object.

7. A method as claimed in claim 1 , further comprising creating a dispatch table for the special object where every method raises an exception.

8. A method as claimed in claim 2 , further comprising

checking the colour of the plurality of programming objects using a write tool; and

assigning references to the objects that are not black.

9. A method as claimed in claim 1 , further comprising

calling a first subprogram using a programming object;

providing a dispatch table for the special object, the dispatch table having a plurality of entries, each entry referencing a subprogram implementation that raises a run time error unconditionally; and

removing all null object checks from a subprogram call associated with the first subprogram.

10. A write barrier checking apparatus for a computing environment having memory and a plurality of programming objects, the apparatus comprising:

a globally accessible special object having a fixed predetermined color and a valid location in the memory; and

a write tool to check the color of the plurality of objects;

wherein the valid location of the special object is used whenever a null value is required, and the write tool assigns references to the programming objects that are not the predetermined color.

11. An apparatus as claimed in 10 , further comprising a linked list with a plurality of fields, wherein at least one of the fields of the linked list includes the valid location of the special object.

12. An apparatus as claimed in claim 10 , further comprising a dispatch table for the special object.

13. An apparatus as claimed in claim 10 , wherein the predetermined color is black.

14. An apparatus as claimed in claim 13 , wherein the special object includes a header having a bit pattern that represents black.

15. An apparatus as claimed in claim 13 , wherein the special object includes a method that returns black.

Assignments (8)
PATENTEE CHANGE OF ADDRESS Recorded Feb 5, 2016
From: MYRIAD GROUP, AG
To: MYRIAD GROUP, AG
Reel/Frame 037701/0866 →
CHANGE OF NAME Recorded Jul 9, 2009
From: ESMERTEC AG
To: MYRIAD GROUP AG
Reel/Frame 022928/0730 →
CHANGE OF NAME Recorded Jul 7, 2009
From: ESMERTEC AG
To: MYRIAD GROUP AG
Reel/Frame 022917/0525 →
RELEASE OF SECURITY INTEREST Recorded Mar 30, 2004
From: ESMERTEC AG
To: INSIGNIA SOLUTIONS, INC.
Reel/Frame 015156/0047 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 7, 2004
From: INSIGNIA SOLUTIONS, INC.
To: ESMERTEC AG
Reel/Frame 014852/0297 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 25, 2003
From: THOMAS, STEPHEN
To: INSIGNIA SOLUTIONS, PLC
Reel/Frame 014340/0531 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 9, 2003
From: INSIGNIA SOLUTIONS, PLC
To: ESMERTEC AG
Reel/Frame 014250/0761 →
GRANT OF PATENT SECURITY INTEREST Recorded Jun 27, 2003
From: INSIGNIA SOLUTIONS INC., A DELAWARE CORPORATION
To: ESMERTEC AG
Reel/Frame 014220/0163 →
Continuity (2)
Provisional Application 6018064300 · Feb 7, 2000
Related Publication 20030169920A1 · Sep 11, 2003