< prev index next >
src/hotspot/share/oops/klassVtable.hpp
Print this page
*** 39,49 ****
// Currently a klassVtable contains a direct reference to the vtable data, and is therefore
// not preserved across GCs.
class vtableEntry;
! class klassVtable VALUE_OBJ_CLASS_SPEC {
Klass* _klass; // my klass
int _tableOffset; // offset of start of vtable data within klass
int _length; // length of vtable (number of entries)
#ifndef PRODUCT
int _verify_count; // to make verify faster
--- 39,49 ----
// Currently a klassVtable contains a direct reference to the vtable data, and is therefore
// not preserved across GCs.
class vtableEntry;
! class klassVtable {
Klass* _klass; // my klass
int _tableOffset; // offset of start of vtable data within klass
int _length; // length of vtable (number of entries)
#ifndef PRODUCT
int _verify_count; // to make verify faster
*** 186,196 ****
// from_compiled_code_entry_point -> c2iadapter
// from_interpreter_entry_point -> interpreter entry point
// destination is compiled:
// from_compiled_code_entry_point -> nmethod entry point
// from_interpreter_entry_point -> i2cadapter
! class vtableEntry VALUE_OBJ_CLASS_SPEC {
friend class VMStructs;
friend class JVMCIVMStructs;
public:
// size in words
--- 186,196 ----
// from_compiled_code_entry_point -> c2iadapter
// from_interpreter_entry_point -> interpreter entry point
// destination is compiled:
// from_compiled_code_entry_point -> nmethod entry point
// from_interpreter_entry_point -> i2cadapter
! class vtableEntry {
friend class VMStructs;
friend class JVMCIVMStructs;
public:
// size in words
*** 232,242 ****
// --------------------------------------------------------------------------------
class klassItable;
class itableMethodEntry;
! class itableOffsetEntry VALUE_OBJ_CLASS_SPEC {
private:
Klass* _interface;
int _offset;
public:
Klass* interface_klass() const { return _interface; }
--- 232,242 ----
// --------------------------------------------------------------------------------
class klassItable;
class itableMethodEntry;
! class itableOffsetEntry {
private:
Klass* _interface;
int _offset;
public:
Klass* interface_klass() const { return _interface; }
*** 255,265 ****
friend class klassItable;
};
! class itableMethodEntry VALUE_OBJ_CLASS_SPEC {
private:
Method* _method;
public:
Method* method() const { return _method; }
--- 255,265 ----
friend class klassItable;
};
! class itableMethodEntry {
private:
Method* _method;
public:
Method* method() const { return _method; }
*** 292,302 ****
// Method* \
// compiler entry point / method table entry
// -- vtable for interface 2 ---
// ...
//
! class klassItable VALUE_OBJ_CLASS_SPEC {
private:
InstanceKlass* _klass; // my klass
int _table_offset; // offset of start of itable data within klass (in words)
int _size_offset_table; // size of offset table (in itableOffset entries)
int _size_method_table; // size of methodtable (in itableMethodEntry entries)
--- 292,302 ----
// Method* \
// compiler entry point / method table entry
// -- vtable for interface 2 ---
// ...
//
! class klassItable {
private:
InstanceKlass* _klass; // my klass
int _table_offset; // offset of start of itable data within klass (in words)
int _size_offset_table; // size of offset table (in itableOffset entries)
int _size_method_table; // size of methodtable (in itableMethodEntry entries)
< prev index next >