diff 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
line wrap: on
line diff
--- a/src/share/vm/oops/klass.hpp	Tue Aug 21 11:53:04 2012 +0200
+++ b/src/share/vm/oops/klass.hpp	Wed Aug 22 11:00:31 2012 +0200
@@ -554,9 +554,6 @@
   // computes the subtype relationship
   virtual bool compute_is_subtype_of(klassOop k);
  public:
-  // subclass accessor (here for convenience; undefined for non-klass objects)
-  virtual bool is_leaf_class() const { fatal("not a class"); return false; }
- public:
   // ALL FUNCTIONS BELOW THIS POINT ARE DISPATCHED FROM AN OOP
   // These functions describe behavior for the oop not the KLASS.