Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/klassVtable.hpp @ 676:d3676b4cb78c
Merge
author | kvn |
---|---|
date | Tue, 31 Mar 2009 10:02:01 -0700 |
parents | 4aaa9f5e02a8 c89f86385056 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
662:9ab385cb0c42 | 676:d3676b4cb78c |
---|---|
1 /* | 1 /* |
2 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
299 static int compute_itable_size(objArrayHandle transitive_interfaces); | 299 static int compute_itable_size(objArrayHandle transitive_interfaces); |
300 static void setup_itable_offset_table(instanceKlassHandle klass); | 300 static void setup_itable_offset_table(instanceKlassHandle klass); |
301 | 301 |
302 // Resolving of method to index | 302 // Resolving of method to index |
303 static int compute_itable_index(methodOop m); | 303 static int compute_itable_index(methodOop m); |
304 // ...and back again: | |
305 static methodOop method_for_itable_index(klassOop klass, int itable_index); | |
304 | 306 |
305 // Debugging/Statistics | 307 // Debugging/Statistics |
306 static void print_statistics() PRODUCT_RETURN; | 308 static void print_statistics() PRODUCT_RETURN; |
307 private: | 309 private: |
308 intptr_t* vtable_start() const { return ((intptr_t*)_klass()) + _table_offset; } | 310 intptr_t* vtable_start() const { return ((intptr_t*)_klass()) + _table_offset; } |