mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8148481: Devirtualize Klass::vtable
Move remainder of vtable related methods to Klass Reviewed-by: cjplummer, coleenp
This commit is contained in:
parent
211dc93a85
commit
3cda485fe5
12 changed files with 44 additions and 73 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue