Beispiel #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;
}
Beispiel #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);
    }
  }
}
Beispiel #3
0
 // Accessors for stack_pointer
 jint stack_pointer() {
   return int_field(stack_pointer_offset());
 }
 // Accessors for thread priority
 jint priority() const {
   return int_field(priority_offset());
 }
 // Accessors for stillborn
 bool is_stillborn() const {
   return int_field(is_stillborn_offset()) != 0;
 };
Beispiel #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));
 }
Beispiel #7
0
 int interface_offset_at(int index) {
   return int_field(itable_offset_from_index(index) + sizeof(int));
 }
Beispiel #8
0
 BinaryAssembler::Label label() {
   BinaryAssembler::Label L;
   L._encoding = int_field(label_offset()); 
   return L;
 }
Beispiel #9
0
 jint code_size() {
   return int_field(code_size_offset());
 }
Beispiel #10
0
 jint int_at(int index) const {
   return int_field(offset_from_int_index(index));
 }
Beispiel #11
0
 // Field accessors.
 jint bci() {
   return int_field(bci_offset());
 }
 jint data_length() { return int_field(data_length_offset());}
Beispiel #13
0
 // Accessors for debugger information
 jint status() {
   return int_field(status_offset());
 }
Beispiel #14
0
 // Accessors for the stack limit
 address stack_limit()         const {
   return (address) int_field(stack_limit_offset());
 }
Beispiel #15
0
 // size of the elements
 jint scale() const {
   return int_field(scale_offset());
 }
Beispiel #16
0
 jint buffer_size() {
   return int_field(buffer_size_offset());
 }
Beispiel #17
0
 jint static_field_end() const {
   return int_field(static_field_end_offset());
 }
Beispiel #18
0
 jint index() {
   return int_field(index_offset());
 }
Beispiel #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);
 }
Beispiel #20
0
 jint count() {
   return int_field(count_offset());
 }
Beispiel #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; 
 }
Beispiel #22
0
 jint file_size() {
   return int_field(file_size_offset());
 }
 // Accessors for terminated
 bool is_terminated() const {
   return int_field(is_terminated_offset()) != 0;
 };
Beispiel #24
0
 jint file_pos() {
   return int_field(file_pos_offset());
 }
Beispiel #25
0
 // Returns the length
 jint length() const { return int_field(length_offset()); }
Beispiel #26
0
 OsFile_Handle file_pointer() {
   return (OsFile_Handle)int_field(file_pointer_offset());
 }
Beispiel #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));
}
Beispiel #28
0
 // type of the elements
 jint type() const {
   return int_field(type_offset());
 }
Beispiel #29
0
 jint referent_index() const {
   return int_field(referent_index_offset());
 }
Beispiel #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());
 }