下面我們開(kāi)始我們的重量級(jí)說(shuō)明。虛擬函數(shù)引用。 下面是jvm規(guī)范中關(guān)于對(duì)象內(nèi)存布局的說(shuō)明,我沒(méi)有翻譯 我想你可以看明白,反正我現(xiàn)在看英文沒(méi)有問(wèn)題, 假如不明白就查字典。 The Java Virtual Machine does not require any particular internal strUCture for objects. In Sun's current implementation of the Java Virtual Machine, a reference to a class instance is a pointer to a handle that is itself a pair of pointers: one to a table containing the methods of the object and a pointer to the Class object that rePResents the type of the object, and the other to the memory allocated from the Java heap for the object data.