因此,虚拟机预先为每个类创建了一个方法表(method table),其中列出了所有方法的签名和实际调用的方法。这样一来,在真正调用方法的时候,虚拟机仅查找这个表就行了。
基于164个网页-相关网页
virtual method table 虚拟方法表 ; 表格 ; 虚拟方法表格 ; 虚方法表
Short Method Table 或简算表册
method table pointer 函数表指针
Life table method 生命表法 ; 寿命表法 ; 第二节生存率的寿命表法
DYNAMIC METHOD TABLE 动态方法表
VMT Virtual Method Table 虚拟方法表
Method Slot Table 方法槽表
Balance Table Method 平衡表法
table dispatching method [公路] 表上作业法
Each object allocated on the GC heap has an 8-byte overhead (sync block + method table pointer).
每个在GC堆中分配的对象有一个8字节的头(同步块+方法表指针)。
It does whatever initialization is required for the module, if any, but most crucially, it also passes a pointer to the method table back to Python.
初始化函数将完成模块所要求的所有初始化操作,但更重要的是,它还把一个指向方法表的指针传回给Python。
For example, a method table does not directly store the name of a particular method, but points to the method's name stored in the string heap.
例如,方法表不直接存储特定方法的名称,而是指向存储在字符串堆中的方法的名称。
应用推荐