diff src/share/vm/oops/instanceKlass.hpp @ 3637:ff6a991c6e3c

Use GraalEnv to look up types.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Wed, 16 Nov 2011 01:48:25 +0100
parents 2d4b2b833d29
children f198b24093f3
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.hpp	Tue Nov 15 22:06:02 2011 +0100
+++ b/src/share/vm/oops/instanceKlass.hpp	Wed Nov 16 01:48:25 2011 +0100
@@ -634,7 +634,7 @@
   void process_interfaces(Thread *thread);
 
   // virtual operations from Klass
-  bool is_leaf_class() const               { return _subklass == NULL; }
+  bool is_leaf_class() const               { return _subklass == NULL && _nof_implementors == 0; }
   objArrayOop compute_secondary_supers(int num_extra_slots, TRAPS);
   bool compute_is_subtype_of(klassOop k);
   bool can_be_primary_super_slow() const;