comparison 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
comparison
equal deleted inserted replaced
3636:c7d4198a9bce 3637:ff6a991c6e3c
632 632
633 // link this class into the implementors list of every interface it implements 633 // link this class into the implementors list of every interface it implements
634 void process_interfaces(Thread *thread); 634 void process_interfaces(Thread *thread);
635 635
636 // virtual operations from Klass 636 // virtual operations from Klass
637 bool is_leaf_class() const { return _subklass == NULL; } 637 bool is_leaf_class() const { return _subklass == NULL && _nof_implementors == 0; }
638 objArrayOop compute_secondary_supers(int num_extra_slots, TRAPS); 638 objArrayOop compute_secondary_supers(int num_extra_slots, TRAPS);
639 bool compute_is_subtype_of(klassOop k); 639 bool compute_is_subtype_of(klassOop k);
640 bool can_be_primary_super_slow() const; 640 bool can_be_primary_super_slow() const;
641 klassOop java_super() const { return super(); } 641 klassOop java_super() const { return super(); }
642 int oop_size(oop obj) const { return size_helper(); } 642 int oop_size(oop obj) const { return size_helper(); }