comparison src/share/vm/oops/instanceKlass.hpp @ 4771:22cee0ee8927

Merge
author kvn
date Fri, 06 Jan 2012 20:09:20 -0800
parents cd5d8cafcc84 069ab3f976d3
children 8f8b94305aff
comparison
equal deleted inserted replaced
4755:2b3acb34791f 4771:22cee0ee8927
431 431
432 // reference type 432 // reference type
433 ReferenceType reference_type() const { return _reference_type; } 433 ReferenceType reference_type() const { return _reference_type; }
434 void set_reference_type(ReferenceType t) { _reference_type = t; } 434 void set_reference_type(ReferenceType t) { _reference_type = t; }
435 435
436 static int reference_type_offset_in_bytes() { return offset_of(instanceKlass, _reference_type); } 436 static ByteSize reference_type_offset() { return in_ByteSize(sizeof(klassOopDesc) + offset_of(instanceKlass, _reference_type)); }
437 437
438 // find local field, returns true if found 438 // find local field, returns true if found
439 bool find_local_field(Symbol* name, Symbol* sig, fieldDescriptor* fd) const; 439 bool find_local_field(Symbol* name, Symbol* sig, fieldDescriptor* fd) const;
440 // find field in direct superinterfaces, returns the interface in which the field is defined 440 // find field in direct superinterfaces, returns the interface in which the field is defined
441 klassOop find_interface_field(Symbol* name, Symbol* sig, fieldDescriptor* fd) const; 441 klassOop find_interface_field(Symbol* name, Symbol* sig, fieldDescriptor* fd) const;
642 // Breakpoint support (see methods on methodOop for details) 642 // Breakpoint support (see methods on methodOop for details)
643 BreakpointInfo* breakpoints() const { return _breakpoints; }; 643 BreakpointInfo* breakpoints() const { return _breakpoints; };
644 void set_breakpoints(BreakpointInfo* bps) { _breakpoints = bps; }; 644 void set_breakpoints(BreakpointInfo* bps) { _breakpoints = bps; };
645 645
646 // support for stub routines 646 // support for stub routines
647 static int init_state_offset_in_bytes() { return offset_of(instanceKlass, _init_state); } 647 static ByteSize init_state_offset() { return in_ByteSize(sizeof(klassOopDesc) + offset_of(instanceKlass, _init_state)); }
648 static int init_thread_offset_in_bytes() { return offset_of(instanceKlass, _init_thread); } 648 static ByteSize init_thread_offset() { return in_ByteSize(sizeof(klassOopDesc) + offset_of(instanceKlass, _init_thread)); }
649 649
650 // subclass/subinterface checks 650 // subclass/subinterface checks
651 bool implements_interface(klassOop k) const; 651 bool implements_interface(klassOop k) const;
652 652
653 // Access to implementors of an interface. We only store the count 653 // Access to implementors of an interface. We only store the count