Esempio n. 1
0
jint ConstantPool::name_and_type_at(int index JVM_TRAPS) const {
  int offset = offset_from_checked_index(index JVM_ZCHECK_0(offset));
  cp_check_0(ConstantTag::is_name_and_type(tag_value_at(index)));
  int result = int_field(offset);
  GUARANTEE(result != 0, "sanity for JVM_ZCHECK");
  return result;
}
Esempio n. 2
0
void Thread::nonstack_oops_do(void do_oop(OopDesc**)) {
  if (_debugger_active) {
    OopDesc *step = (OopDesc *)int_field(step_info_offset());
    if (step != NULL) {
      do_oop(&step);
    }
  }
}
Esempio n. 3
0
 // Accessors for stack_pointer
 jint stack_pointer() {
   return int_field(stack_pointer_offset());
 }
Esempio n. 4
0
 // Accessors for thread priority
 jint priority() const {
   return int_field(priority_offset());
 }
Esempio n. 5
0
 // Accessors for stillborn
 bool is_stillborn() const {
   return int_field(is_stillborn_offset()) != 0;
 };
Esempio n. 6
0
 // Returns the class_id of the interface at index
 int itable_interface_class_id_at(int index) {
   return int_field(itable_offset_from_index(index));
 }
Esempio n. 7
0
 int interface_offset_at(int index) {
   return int_field(itable_offset_from_index(index) + sizeof(int));
 }
Esempio n. 8
0
 BinaryAssembler::Label label() {
   BinaryAssembler::Label L;
   L._encoding = int_field(label_offset()); 
   return L;
 }
Esempio n. 9
0
 jint code_size() {
   return int_field(code_size_offset());
 }
Esempio n. 10
0
 jint int_at(int index) const {
   return int_field(offset_from_int_index(index));
 }
Esempio n. 11
0
 // Field accessors.
 jint bci() {
   return int_field(bci_offset());
 }
Esempio n. 12
0
 jint data_length() { return int_field(data_length_offset());}
Esempio n. 13
0
 // Accessors for debugger information
 jint status() {
   return int_field(status_offset());
 }
Esempio n. 14
0
 // Accessors for the stack limit
 address stack_limit()         const {
   return (address) int_field(stack_limit_offset());
 }
Esempio n. 15
0
 // size of the elements
 jint scale() const {
   return int_field(scale_offset());
 }
Esempio n. 16
0
 jint buffer_size() {
   return int_field(buffer_size_offset());
 }
Esempio n. 17
0
 jint static_field_end() const {
   return int_field(static_field_end_offset());
 }
Esempio n. 18
0
 jint index() {
   return int_field(index_offset());
 }
Esempio n. 19
0
 ReturnOop itable_interface_at(int index) {
   int class_id = int_field(itable_offset_from_index(index));
   return Universe::class_from_id(class_id);
 }
Esempio n. 20
0
 jint count() {
   return int_field(count_offset());
 }
Esempio n. 21
0
 //
 // Accessors to access flags
 //
 AccessFlags access_flags() const { 
   AccessFlags access_flags; 
   jint flags = int_field(access_flags_offset());
   access_flags.set_flags(flags);
   return access_flags; 
 }
Esempio n. 22
0
 jint file_size() {
   return int_field(file_size_offset());
 }
Esempio n. 23
0
 // Accessors for terminated
 bool is_terminated() const {
   return int_field(is_terminated_offset()) != 0;
 };
Esempio n. 24
0
 jint file_pos() {
   return int_field(file_pos_offset());
 }
Esempio n. 25
0
 // Returns the length
 jint length() const { return int_field(length_offset()); }
Esempio n. 26
0
 OsFile_Handle file_pointer() {
   return (OsFile_Handle)int_field(file_pointer_offset());
 }
Esempio n. 27
0
ReturnOop ConstantPool::resolved_klass_at(int index JVM_TRAPS) const {
  int offset = offset_from_checked_index(index JVM_ZCHECK_0(offset));
  cp_check_0(ConstantTag::is_resolved_klass(tag_value_at(index)));
  return Universe::class_from_id(int_field(offset));
}
Esempio n. 28
0
 // type of the elements
 jint type() const {
   return int_field(type_offset());
 }
Esempio n. 29
0
 jint referent_index() const {
   return int_field(referent_index_offset());
 }
Esempio n. 30
0
 // Accessors for wait stack lock
 // (used during synchronization and java.lang.Object.wait). 
 StackLock* wait_stack_lock() const {
   jint stack_lock_offset = int_field(wait_stack_lock_offset());
   GUARANTEE(stack_lock_offset != 0, "Sanity check");
   return DERIVED(StackLock*, stack_lock_offset, stack_base());
 }