Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/klassKlass.hpp @ 6277:dddcdb7ae209
removed klass::is_leaf_class() and replaced it's usage in Graal (the only usage) with an explicit test to ignore interface classes
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 22 Aug 2012 11:00:31 +0200 |
parents | f95d63e2154a |
children |
comparison
equal
deleted
inserted
replaced
6276:03c4c25ae726 | 6277:dddcdb7ae209 |
---|---|
37 private: | 37 private: |
38 juint _alloc_size; // allocation profiling support | 38 juint _alloc_size; // allocation profiling support |
39 public: | 39 public: |
40 // Testing | 40 // Testing |
41 bool oop_is_klass() const { return true; } | 41 bool oop_is_klass() const { return true; } |
42 bool is_leaf_class() const { return true; } | |
43 | 42 |
44 // Sizing | 43 // Sizing |
45 int oop_size(oop obj) const; | 44 int oop_size(oop obj) const; |
46 int klass_oop_size() const { return object_size(); } | 45 int klass_oop_size() const { return object_size(); } |
47 | 46 |