Mercurial > hg > graal-compiler
comparison src/share/vm/oops/klass.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 | 957c266d8bc5 |
children | e522a00b91aa |
comparison
equal
deleted
inserted
replaced
6276:03c4c25ae726 | 6277:dddcdb7ae209 |
---|---|
552 | 552 |
553 protected: | 553 protected: |
554 // computes the subtype relationship | 554 // computes the subtype relationship |
555 virtual bool compute_is_subtype_of(klassOop k); | 555 virtual bool compute_is_subtype_of(klassOop k); |
556 public: | 556 public: |
557 // subclass accessor (here for convenience; undefined for non-klass objects) | |
558 virtual bool is_leaf_class() const { fatal("not a class"); return false; } | |
559 public: | |
560 // ALL FUNCTIONS BELOW THIS POINT ARE DISPATCHED FROM AN OOP | 557 // ALL FUNCTIONS BELOW THIS POINT ARE DISPATCHED FROM AN OOP |
561 // These functions describe behavior for the oop not the KLASS. | 558 // These functions describe behavior for the oop not the KLASS. |
562 | 559 |
563 // actual oop size of obj in memory | 560 // actual oop size of obj in memory |
564 virtual int oop_size(oop obj) const = 0; | 561 virtual int oop_size(oop obj) const = 0; |