8148481: Devirtualize Klass::vtable

Move remainder of vtable related methods to Klass

Reviewed-by: cjplummer, coleenp
This commit is contained in:
Mikael Gerdin 2016-01-19 12:07:32 +01:00
parent 211dc93a85
commit 3cda485fe5
12 changed files with 44 additions and 73 deletions

View file

@ -98,7 +98,6 @@ class ArrayKlass: public Klass {
bool compute_is_subtype_of(Klass* k);
// Sizing
static int header_size() { return sizeof(ArrayKlass)/wordSize; }
static int static_size(int header_size);
#if INCLUDE_SERVICES
@ -109,12 +108,6 @@ class ArrayKlass: public Klass {
}
#endif
// Java vtable
klassVtable* vtable() const; // return new klassVtable
protected:
inline intptr_t* start_of_vtable() const;
public:
// Iterators
void array_klasses_do(void f(Klass* k));
void array_klasses_do(void f(Klass* k, TRAPS), TRAPS);