Slide 83
Slide 83 text
Process Handle table
Contains pointers to all the objects that the process
has opened a handle
Implemented as a three-level scheme
Top-level, middle-level, subhandle table
Maximum of more than 16,000,000 handles per process
Number of subhandle tables depends on the size of the page and
the size of a pointer for the platform.
In Windows 2000, the subhandle table consists of 255 usable entries.
(255 * 255 * 255 >= 16, 000, 000)
In Windows XP and Windows Server 2003, the subhandle table consists
of as many entries as will fit in a page minus one entry that is used for
handle auditing
top level 32, middle level 1024, subhandle table 512
x86 systems a page is 4096 bytes, divided by the size of a handle table entry (8
bytes), which is 512, minus 1, which is a total of 511 entries in the lowest level
handle table